Skip to content

pcluster imagebuilder fails on Rocky 9.7 amis #7406

@ezrizhu

Description

@ezrizhu

pcluster imagebuilder pulls the latest kmod for lustre client, which is only built for RHEL/Rocky9.8, which does not work on Rocky as Rocky 9.8 has yet to be released as of now.

https://github.com/aws/aws-parallelcluster-cookbook/blob/release-3.15/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_centos_redhat.rb

https://github.com/aws/aws-parallelcluster-cookbook/blob/release-3.15/cookbooks/aws-parallelcluster-environment/resources/lustre/lustre_rocky8.rb

$ dnf --disablerepo='*' --enablerepo=aws-fsx info kmod-lustre-client
Last metadata expiration check: 1 day, 7:24:13 ago on Sun May 24 21:47:19 2026.
Installed Packages
Name         : kmod-lustre-client
Version      : 2.15.6
Release      : 1.fsx30.el9
Architecture : x86_64
Size         : 16 M
Source       : lustre-client-2.15.6-1.fsx30.el9.src.rpm
Repository   : @System
From repo    : aws-fsx
Summary      : lustre-client kernel module(s)
URL          : https://wiki.whamcloud.com/
License      : GPL
Description  : This package provides the lustre-client kernel modules built for
             : the Linux kernel 5.14.0-611.49.1.el9_7.x86_64 for the x86_64
             : family of processors.

Available Packages
Name         : kmod-lustre-client
Version      : 2.15.6
Release      : 1.fsx31.el9
Architecture : x86_64
Size         : 2.7 M
Source       : lustre-client-2.15.6-1.fsx31.el9.src.rpm
Repository   : aws-fsx
Summary      : lustre-client kernel module(s)
URL          : https://wiki.whamcloud.com/
License      : GPL
Description  : This package provides the lustre-client kernel modules built for
             : the Linux kernel 5.14.0-687.5.3.el9_8.x86_64 for the x86_64
             : family of processors.

Resulting in below error

Stdout: ---- Begin output of ["dnf", "-y", "install", "kmod-lustre-client-0:2.15.6-1.fsx31.el9.x86_64", "lustre-client-0:2.15.6-1.fsx31.el9.x86_64"] ----
2026-05-25T10:20:08.289Z
Stdout: STDOUT: Last metadata expiration check: 0:00:20 ago on Mon 25 May 2026 10:19:11 AM UTC.
2026-05-25T10:20:08.289Z
Stdout: (try to add '--skip-broken' to skip uninstallable packages)
2026-05-25T10:20:08.289Z
Stdout: STDERR: Error:
2026-05-25T10:20:08.289Z
Stdout: Problem: conflicting requests
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(kmalloc_caches) = 0x4344f508 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(kmalloc_trace) = 0x544be8df needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(kthread_create_on_node) = 0x73ea27e3 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(module_layout) = 0x3075a628 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(pcpu_hot) = 0xd294630d needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(wake_up_process) = 0xa06cd0d4 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__alloc_pages) = 0x3f53e658 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__cpuhp_remove_state) = 0xe544a11f needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__cpuhp_setup_state) = 0xdaff2ec8 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__d_drop) = 0x46dd881a needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__ethtool_get_link_ksettings) = 0x6881b6c5 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__filemap_set_wb_err) = 0xf7de2cbd needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__folio_batch_release) = 0x2a6f7d57 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__folio_lock) = 0x8b781cb4 needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__folio_put) = 0x07ae575c needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
Stdout: - nothing provides kernel(__free_pages) = 0xa763ceef needed by kmod-lustre-client-2.15.6-1.fsx31.el9.x86_64 from aws-fsx
2026-05-25T10:20:08.289Z
<snip>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions