Hide Forgot
Created attachment 474157 [details] rhsm repo bug Description of problem: After subscribing to the entitlement beta subpool, yum is not pulling down any repo information. Version-Release number of selected component (if applicable): subscription-manager-gnome-0.93.13-1.el6.x86_64 subscription-manager-0.93.13-1.el6.x86_64 subscription-manager-firstboot-0.93.13-1.el6.x86_64 Steps to Reproduce: 1. Install latest rhel entitlement beta compose 2. register with rhsm 3. subscribe to a pool Actual results: Yum repos are not working Expected results: Yum repos are populated when subscribed to Additional info: see attached log. This is off of the candlepin host: subscriptions.rhn.webqa.redhat.com (default for the entitlement beta)
In your cert, all of the repos are marked as being disabled by default: 1.3.6.1.4.1.2312.9.2.19.1.8: ..0 if you yum repolist all do you see any repos? Let's see if dgregor is able to flip those values over.
[root@jmolet-vm3 ~]# yum repolist all Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating Red Hat repositories. INFO:rhsm-app.repolib:repos updated: 0 This system is not registered with RHN. RHN support will be disabled. repo id repo name status rhel-entitlement-beta-debuginfo Red Hat Enterprise Linux Entitlement Beta (Debug RPMs) disabled rhel-entitlement-beta-src Red Hat Enterprise Linux Entitlement Beta (Source RPMs) disabled rhel-entitlement-optional-beta Red Hat Enterprise Linux Entitlement - Optional Beta (RPMs) disabled rhel-entitlement-optional-beta-debuginfo Red Hat Enterprise Linux Entitlement - Optional Beta (Debug RPMs) disabled rhel-entitlement-optional-beta-src Red Hat Enterprise Linux Entitlement - Optional Beta (Source RPMs) disabled rhel-entitlement-supplementary-beta Red Hat Enterprise Linux Entitlement - Supplementary Beta (RPMs) disabled rhel-entitlement-supplementary-beta-debuginfo Red Hat Enterprise Linux Entitlement - Supplementary Beta (Debug RPMs) disabled rhel-entitlement-supplementary-beta-src Red Hat Enterprise Linux Entitlement - Supplementary Beta (Source RPMs) disabled rhel-ha-for-rhel-entitlement-beta Red Hat Enterprise Linux High Availability (for RHEL Entitlement) Beta (RPMs) disabled rhel-ha-for-rhel-entitlement-beta-src Red Hat Enterprise Linux High Availability (for RHEL Entitlement) Beta (Source RPMs) disabled rhel-lb-for-rhel-entitlement-beta Red Hat Enterprise Linux Load Balancer (for RHEL Entitlement) Beta (RPMs) disabled rhel-lb-for-rhel-entitlement-beta-src Red Hat Enterprise Linux Load Balancer (for RHEL Entitlement) Beta (Source RPMs) disabled rhel-rs-for-rhel-entitlement-beta Red Hat Enterprise Linux Resilient Storage (for RHEL Entitlement) Beta (RPMs) disabled rhel-rs-for-rhel-entitlement-beta-src Red Hat Enterprise Linux Resilient Storage (for RHEL Entitlement) Beta (Source RPMs) disabled rhel-sfs-for-rhel-entitlement-beta Red Hat Enterprise Linux Scalable File System (for RHEL Entitlement) Beta (RPMs) disabled rhel-sfs-for-rhel-entitlement-beta-src Red Hat Enterprise Linux Scalable File System (for RHEL Entitlement) Beta (Source RPMs) disabled repolist: 0
After an enablement flip from dgregor, we now have access to one of the repos. However there is no content to yum install and there is a 404 error... http://mockamai.devlab.phx1.redhat.com//content/beta/rhel is missing the path to entitlement/6Server/x86_64/os/repodata/repomd.xml [root@jmolet-vm3 ~]# yum repolist Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager Updating Red Hat repositories. INFO:rhsm-app.repolib:repos updated: 0 This system is not registered with RHN. RHN support will be disabled. https://mockamai.devlab.phx1.redhat.com/content/beta/rhel/entitlement/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 : http://mockamai.devlab.phx1.redhat.com//content/beta/rhel/entitlement/6Server/x86_64/os/repodata/repomd.xml Trying other mirror. repo id repo name status rhel-entitlement-beta Red Hat Enterprise Linux Entitlement Beta (RPMs) 0 repolist: 0 [root@jmolet-vm3 ~]#
https://mockamai.devlab.phx1.redhat.com/content/beta/rhel/entitlement/6Server/x86_64/os/repodata/repomd.xml should be working now. Sorry for the troubles.
[root@jsefler-betaqa-1 ~]# subscription-manager register --username=jsefler-qabetauser-4 --password=redhat 179c144b-631d-4de1-b5d8-244f23e4a9af jsefler-betaqa-1.usersys.redhat.com [root@jsefler-betaqa-1 ~]# subscription-manager list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: RH3036913 ProductId: RH3036913 PoolId: 8a9b90882da0e33a012da572852f0140 Quantity: 10 Expires: 2011-07-19 [root@jsefler-betaqa-1 ~]# subscription-manager subscribe --pool=8a9b90882da0e33a012da572852f0140 [root@jsefler-betaqa-1 ~]# yum repolist all | grep enabled INFO:rhsm-app.repolib:repos updated: 0 This system is not registered with RHN. RHN support will be disabled. rhel-entitlement-beta Red Hat Enterprise enabled: 3,400 rhel-ha-for-rhel-entitlement-beta Red Hat Enterprise enabled: 28 rhel-lb-for-rhel-entitlement-beta Red Hat Enterprise enabled: 2 rhel-rs-for-rhel-entitlement-beta Red Hat Enterprise enabled: 22 rhel-sfs-for-rhel-entitlement-beta Red Hat Enterprise enabled: 3 ^^^ VERIFIED - Thank you!
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html