Skip to content

Cloudinit images fo nvidia-bootc and amd-bootc fails to dnf isntall cloud-init #431

@Gregory-Pereira

Description

@Gregory-Pereira

First identified in this actions run. When calling make cloud VENDOR=amd ARCH=amd64 or make cloud VENDOR=amd ARCH=amd64 from the /training/cloud directory it will encounter the following error:

Writing manifest to image destination
STEP 2/3: RUN dnf -y install cloud-init &&     ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants &&     rm -rf /var/{cache,log} /var/lib/{dnf,rhsm}
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

cuda-rhel9-x86_64                               915 kB/s | 1.4 MB     00:01
Last metadata expiration check: 0:00:02 ago on Thu May  2 03:20:43 2024.
No match for argument: cloud-init
Error: Unable to find a match: cloud-init
Error: building at STEP "RUN dnf -y install cloud-init &&     ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants &&     rm -rf /var/{cache,log} /var/lib/{dnf,rhsm}": while running runtime: exit status 1

make: *** [cloud] Error 1

I have since been able to confirm the issue on my local machine.

/cc @stefwalter @lmilbaum

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