Greetings,
I installed Katello 1.3 (and Foreman) onto a server this past weekend.
I'm able to use subscription-manager on clients to subscribe to the
Katello server, but I'm having trouble with subscribing to repositories.
I'm still a bit new to this, so please help me correct any misuse of
terminology.
I created two custom content repositories, one for my own homespun
software and one for CentOS 6.x. The homespun repo has one product and
one repo. The CentOS repo has one product and two repos (base and
updates). I have sync management set up and the repos sync daily.
If I run "subscription-manager list --all --available" on a client, I
can see both products listed :
$ sudo subscription-manager list --all --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: custom
SKU: xxxxxxxxxxxx
Pool ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Quantity: Unlimited
Service Level:
Service Type:
Multi-Entitlement: No
Ends: 06/21/2043
System Type: Physical
Subscription Name: Centos 6
SKU: xxxxxxxxxxxxx
Pool ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Quantity: Unlimited
Service Level:
Service Type:
Multi-Entitlement: No
Ends: 06/21/2043
System Type: Physical
And I can subscribe to these via subscription-manager as well :
$ sudo subscription-manager subscribe
--pool=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Successfully attached a subscription for: custom
But then listing the repos shows nothing :
$ sudo subscription-manager repos --list
This system has no repositories available through subscriptions.
Yum repolist doesn't show the repo either :
$ yum repolist
Loaded plugins: fastestmirror, product-id, subscription-manager
Loading mirror speeds from cached hostfile
* epel:
mirrors.einstein.yu.edu
repo id repo name
status
epel Extra
Packages for Enterprise Linux 6 - x86_64
9,172
epel-subscription-manager Tools and
libraries for Red Hat subscription management.
15
repolist: 9,187
And trying to yum install anything in that repo fails. What am I
missing? And what logs can I look at to identify what the problem is?
Thanks,
--
---------------------------
Jason 'XenoPhage' Frisvold
xenophage(a)godshell.com
---------------------------
"Any sufficiently advanced magic is indistinguishable from technology.\"
- Niven's Inverse of Clarke's Third Law