Image Builder - RHEL 8.5 - "RHSM secrets not found"

Posted on

I'm trying to test the new features of the image builder in RHEL 8.5, but getting the following issue:

[root@rhel-85-test ~]# composer-cli blueprints depsolve rhel85test
2021-11-22 16:06:59,038: rhel85test: RHSM secrets not found on the host for this baseurl: https://cdn.redhat.com/content/dist/rhel8/8.5/x86_64/baseos/os
blueprint: rhel85test v0.0.1

Is there something I'm missing from subscribing to RH?

+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-8-for-x86_64-appstream-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel8/$releasever/x86_64/appstream/os
Enabled: 1

Repo ID: rhel-8-for-x86_64-baseos-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel8/$releasever/x86_64/baseos/os
Enabled: 1