Problem:
When I run subscription-manager list
, it consistently returns “No installed products to list”:
# subscription-manager list
No installed products to list
I can see available subscriptions:
# subscription-manager list --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Foreman Client
Provides:
SKU: 33258753805
Contract:
Pool ID: 0c69a50b7f22e99b017f27cda6a101b7
Provides Management: No
Available: Unlimited
Suggested: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons:
Subscription Type: Standard
Starts: 02/23/2022
Ends: 11/30/2049
Entitlement Type: Physical
Subscription Name: AlmaLinux 8.5
Provides:
SKU: 171101777747
Contract:
Pool ID: 0c69a50b7f22e99b017f24aeda7500d7
Provides Management: No
Available: Unlimited
Suggested: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons:
Subscription Type: Standard
Starts: 02/22/2022
Ends: 11/30/2049
Entitlement Type: Physical
Subscription Name: EPEL 8
Provides:
SKU: 700046372791
Contract:
Pool ID: 0c69a50b7f22e99b017f268fae3e012b
Provides Management: No
Available: Unlimited
Suggested: 1
Service Type:
Roles:
Service Level:
Usage:
Add-ons:
Subscription Type: Standard
Starts: 02/23/2022
Ends: 11/30/2049
Entitlement Type: Physical
And I can successfully attach them:
# subscription-manager attach --pool=0c69a50b7f22e99b017f24aeda7500d7
Successfully attached a subscription for: AlmaLinux 8.5
# subscription-manager attach --pool=0c69a50b7f22e99b017f268fae3e012b
Successfully attached a subscription for: EPEL 8
But after attaching the subscriptions, they still don’t show up as installed:
# subscription-manager list
No installed products to list
What am I missing?
Expected outcome:
subscription-manager list shows installed subscriptions.
Foreman and Proxy versions:
3.2.1
Distribution and version:
Foreman server: CentOS 7.9
Client: Alma Linux 8.6