Specifying 'rhsm: true' is not Honored by Image Builder
jjaswanson4 opened this issue · 1 comments
jjaswanson4 commented
When attempting to create/update repos, the rhsm
parameter is not honored:
TASK [infra.osbuild.builder : Loop through the repos and configure them] **************************************************************
changed: [edge-manager-aws] => (item={'name': 'rhocp-4.12', 'base_url': 'https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/rhocp/4.12/os', 'rhsm': True}) => {"__builder_repo": {"base_url": "https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/rhocp/4.12/os", "name": "rhocp-4.12", "rhsm": true}, "ansible_loop_var": "__builder_repo", "ansible_module_results": {"status": true}, "changed": true, "msg": "Source repository, rhocp-4.12, was updated."}
changed: [edge-manager-aws] => (item={'name': 'fast-datapath', 'base_url': 'https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/fast-datapath/os', 'rhsm': True}) => {"__builder_repo": {"base_url": "https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/fast-datapath/os", "name": "fast-datapath", "rhsm": true}, "ansible_loop_var": "__builder_repo", "ansible_module_results": {"status": true}, "changed": true, "msg": "Source repository, fast-datapath, was updated."}
Info from the system:
[root@edge-manager-aws ~]# composer-cli sources info rhocp-4.12 fast-datapath
check_gpg = true
check_ssl = true
id = "fast-datapath"
name = "fast-datapath"
rhsm = false
system = false
type = "yum-baseurl"
url = "https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/fast-datapath/os"
check_gpg = true
check_ssl = true
id = "rhocp-4.12"
name = "rhocp-4.12"
rhsm = false
system = false
type = "yum-baseurl"
url = "https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/rhocp/4.12/os"