Problem:
Foreman 3.4 / Katello 4.6.0 server, client is CentOS 7 x86_64.
The server is running with “Simple Content Access” mode enabled.
I have a centos7_x86-64 product with 4 repositories. These are well populated:
Then I have a content view centos7_x86-64 with the individual repos from that product:
The content view is published to the Library environment. Then I have this activation key “dummy”:
Now when I register a client with that activation key…
$ sudo subscription-manager register --org xyz --activationkey dummy
The system has been registered with ID: xyz
The registered system name is: xyz
… and list available repositories, I get this:
$ sudo subscription-manager repos --list
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: xyz_centos7-x86_64_errata
Repo Name: errata
Repo URL: https://xyz/pulp/content/xyz/Library/centos7-x86_64/custom/centos7-x86_64/errata
Enabled: 1
And that’s it. No os, updates, extras repositories.
No error messages in /var/log/rhsm/rhsm.log, either.
What gives?!
Any hint (known bug, workaround) would be much appreciated.
Expected outcome:
I should be able to see all repositories contained in the published content views.
Foreman and Proxy versions:
Foreman 3.4.0
Foreman and Proxy plugin versions:
Katello 4.6.0
Distribution and version:
CentOS 7 x86_64
Other relevant data:
$ rpm -q subscription-manager
subscription-manager-1.24.51-1.el7.centos.x86_64