Problem:
root@xxxxxxxxxxxx:/# subscription-manager refresh
All local data refreshed
root@xxxxxxxxxxxx:/# subscription-manager repos
This system has no repositories available through subscriptions.
root@xxxxxxxxxxxx:/# subscription-manager list --consumed
±------------------------------------------+
Consumed Subscriptions
±------------------------------------------+
Subscription Name: ub18_repos
Provides: ub18_repos
SKU: 117303501592
Contract:
Account:
Serial: 1513275188278959336
Pool ID: 8a789ece744cf61501744d0998d50010
Provides Management: No
Active: True
Quantity Used: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons:
Status Details: Subscription is current
Subscription Type: Standard
Starts: 02/09/20
Ends: 01/12/49
Entitlement Type: Physical
Expected outcome:
/etc/apt/sources.list.d/rhsm.sources has content from its subscription
Foreman and Proxy versions:
foreman-2.1.4-1.el7.noarch
foreman-proxy-2.1.4-1.el7.noarch
katello-3.16.1-1.el7.noarch
Foreman and Proxy plugin versions:
Distribution and version:
centos 7.8.2003 Other relevant data:
root@xxxxxxxxxxxxx:/# subscription-manager unregister
Unregistering from: bss01.orch.vocus.net:443/rhsm
System has been unregistered.
root@xxxxxxxxxxxxx:/# subscription-manager register --org=“Default_Organization” --activationkey=‘ub18-key’
‘NoneType’ object is not callable
root@xxxxxxxxxxxx:/# subscription-manager refresh
All local data refreshed
root@syd01ddev06:/# subscription-manager repos
This system has no repositories available through subscriptions.
subscription-manager register --org=“Default_Organization” --activationkey=‘test.key’
‘NoneType’ object is not callable
root@xxxxxxxxxxxx:/# subscription-manager refresh
All local data refreshed
root@xxxxxxxxxxxx:/# subscription-manager repos
This system has no repositories available through subscriptions.
I’m having the same issue.
On the client, I installed the new ATIX subscription-manager on a ubuntu-18.04.
I updated to the latest foreman 2.1.4
# subscription-manager register --org="" --activationkey=“AK_Ubuntu_18.04_ACC”
The system has been registered with ID: 3abb6648-1d04-40f8-b108-77c9e2b6e806
The registered system name is: ubuntu-t03
No products installed.
# subscription-manager refresh
1 local certificate has been deleted.
All local data refreshed
# subscription-manager repos --list
This system has no repositories available through subscriptions.
It does register the server in foreman, but no products are assigned.