Open Gregory-Pereira opened 5 months ago
What are the ...
lines?
I have found the logs from my terminal history and updated the comment above
Can you use subscription-manager register --auto-attach
on the machine running the build to solve the issue?
It looks to me like you may be trying to do this build on a default Github Actions runner? That won't have RHEL entitlements set up. It actually looks like someone was working on this in https://github.com/redhat-actions/common/pull/60
But...yes, I think it's probably better to have the workflow here operate on a RHEL host, which is what's happening in other PRs I believe.
I was originally trying to build these on a default Github actions runner, but I encountered the same issue building locally.
Is this still an issue?
AFAIK yes, I haven't gotten time to fix this yet with RSA + Summit. To summarize, we want to move these cloud-init
images workflow to use terraform to provision small AWS instances based on a RHEL9 AMI, as well as registry that with subman to unblock the dnf install cloud-init
. Due to the first restraint, this feature might wait untill we have migrated our infrastructure to use self-hosted github runners with a RHEL9 or Fedora image on the runner, or any of the other solutions being discussed that remove our dependency on our Github runners quota..
First identified in this actions run. When calling
make cloud VENDOR=amd ARCH=amd64
ormake cloud VENDOR=amd ARCH=amd64
from the/training/cloud
directory it will encounter the following error:I have since been able to confirm the issue on my local machine.
/cc @stefwalter @lmilbaum