activation key has many repos set to available but when I provision all I see is one
I provision a new host with a activation key I look like the subscription status is ok and I can see one repo
but If I go into the GUI and under activation keys I see that there are serveral repos available , how can I get these repos to be automaticly available to my new host
please see attached !!!!!!
THANKS!!!!
root@192.168.56.206's password:
Last login: Fri Dec 18 18:24:45 2015
[root@puppettest1 ~]# subscription-manager status
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Current
[root@puppettest1 ~]# subscription-manager repos
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://satprod.int.vidddddi.com/pulp/repos/satprod/Devel/SOE-PCI/conte
nt/dist/rhel/server/7/7.1/$basearch/os
Enabled: 1
[root@puppettest1 ~]#
Attachments
Responses
You might want to run "yum makecache fast" to insure your repo setup is up to date. I've seen issues where trying to find a file with yum failed because it deemed the cache to old.
If you run "subscription-manager repos" (or "subscription-manager repos --list" it should show you output for all the various repos on multiple lines each like: Repo ID: rhel-7-server-eus-source-rpms Repo Name: Red Hat Enterprise Linux 7 Server - Extended Update Support (Source RPMs) Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearc h/source/SRPMS Enabled: 0
Repo ID: rhel-7-server-beta-source-rpms Repo Name: Red Hat Enterprise Linux 7 Server Beta (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/source/SR PMS Enabled: 0
Repo ID: rhel-ha-for-rhel-7-server-eus-debug-rpms Repo Name: Red Hat Enterprise Linux High Availability (for RHEL 7 Server) - Extended Update Support (Debug RPMs) Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearc h/highavailability/debug Enabled: 0
If you run "yum repolist all" it should show you output for the various repo one per line like: rhel-7-server-eus-source-rpms/7Server/x86_64 disabled rhel-7-server-eus-supplementary-debuginfo/7Server/x86_64 disabled rhel-7-server-eus-supplementary-rpms/7Server/x86_64 disabled
In the latter list the /7Server/ tells you it is for RHEL7 and the /x86_64 tells you it is for 64 bit architecture.
Once you've identified a repository you want to add just run the command to enable it. So to add the first repo shown by the lists above just run: subscription-manager repos --enable=rhel-7-server-eus-source-rpms
Hi, i had also same problem in some hosts ,check to see is subscription is attached to the correct activation key .
Yanir's answer is correct. Subscriptions are the 'gatekeepers' of content, both for Red Hat products and your Custom Products. Without an appropriate subscription being attached, the Product Content Overrides listed in your image aren't effective. (You told Satellite to enable a repository that for all effective purposes, doesn't exist).
You may require one or more activation keys to get the desired effect as their behavior is somewhat different for Red Hat Products and Custom Products. More on this in Activation Key Enhancements with Red Hat Satellite 6.1
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
