Skip to content

Too old glibc in rocky 9 osimag #542

Description

@raskallen

Hi

To be able to run interactive apps wich depends on XFCE, which doesn't work in RHEL 10 because missing xfce wayland support, I am trying to build a Rocky 9.3 osimage to run on my hosts. I am following the instructions in the PDF and comments in the ansible playbooks.

When I boot a node with this image, slurmd refuses to start with these errors. How do I approach this? Upgrading glibc is not possible, so I guess I will need to get an older version of ohpc.

[root@testnode ~]# systemctl status slurmd
× slurmd.service - Slurm node daemon
     Loaded: loaded (/usr/lib/systemd/system/slurmd.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Wed 2026-05-27 15:39:07 CEST; 16h ago
    Process: 2426 ExecStart=/usr/sbin/slurmd --systemd $SLURMD_OPTIONS (code=exited, status=1/FAILURE)
   Main PID: 2426 (code=exited, status=1/FAILURE)
        CPU: 2ms

May 27 15:39:07 testnode.int.nibio.no systemd[1]: Starting Slurm node daemon...
May 27 15:39:07 testnode.int.nibio.no slurmd[2426]: /usr/sbin/slurmd: /lib64/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /opt/ohpc/pub/libs/hwloc/lib/libhwloc.so.15)
May 27 15:39:07 testnode.int.nibio.no slurmd[2426]: /usr/sbin/slurmd: /lib64/libc.so.6: version `GLIBC_2.38' not found (required by /opt/ohpc/pub/libs/hwloc/lib/libhwloc.so.15)
May 27 15:39:07 testnode.int.nibio.no systemd[1]: slurmd.service: Main process exited, code=exited, status=1/FAILURE
May 27 15:39:07 testnode.int.nibio.no systemd[1]: slurmd.service: Failed with result 'exit-code'.
May 27 15:39:07 testnode.int.nibio.no systemd[1]: Failed to start Slurm node daemon.
[root@testnode ~]# 

my compute-rocky93.yml looks like this:

---
- hosts: localhost
  pre_tasks:
  #
  # the image name can be set in the below fact.
  #
  - name: Set image name
    set_fact:
      image_name: "rocky93-image"
    tags: always

- import_playbook: imports/trinity-redhat-image-create.yml
  vars:
    image_name: "{{ hostvars['localhost']['image_name'] }}"
    # The password to set up for the root user in the image.
    # If empty, it will be generated at random.
    #
    image_password:
    #
    # Alternative distribution build. Supported are Rocky + Centos, version 8, 9, 8.9, 9.3
    # or any docker image, e.g. rockylinux:8
    alternative_distribution: Rocky-9.3
    # 
    # The alternative source can be 'base' or 'docker'
    alternative_image_source: 'base'

- import_playbook: imports/trinity-redhat-image-setup.yml
  vars:
    hostlist: "{{ hostvars['localhost']['image_name'] }}.osimages.luna"

- hosts:
    - "{{ hostvars['localhost']['image_name'] }}.osimages.luna"
  roles:
    - role: trinity/slurm
      slurm_conf_path: '{{ trix_shared }}/etc/slurm'
      slurm_spool_path: '{{ trix_shared }}/var/spool/slurm'
      munge_conf_path: '{{ trix_shared }}/etc/munge'
      when: "'slurm' in workload_manager "
      tags: slurm

- hosts: controllers
  roles:
    - role: luna/osimage-pack
      vars:
         params:
            image_name: "{{ hostvars['localhost']['image_name'] }}"
      tags: pack-images

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions