[rhos-list] subscription manager / yum working on one system but not the other

Mehul Bhatt (mehbhatt) mehbhatt at cisco.com
Tue Sep 10 11:12:51 UTC 2013


BTW, guys, this was repeated on a new node today. 

I figured that 6.4 beta .iso installer sometimes misses /etc/yum.repos.d/redhat.repo file.  Manually copying the file from a healthy node fixed the problem.  Though, I believe this is a workaround - shouldn't yum automatically create the file if it doesn't exist?

-Mehul.

-----Original Message-----
From: Bryan Kearney [mailto:bkearney at redhat.com] 
Sent: Tuesday, August 06, 2013 9:53 PM
To: Mehul Bhatt (mehbhatt)
Cc: rhos-list at redhat.com
Subject: Re: [rhos-list] subscription manager / yum working on one system but not the other

On 08/06/2013 12:20 PM, Mehul Bhatt (mehbhatt) wrote:
> Doesn't look anything different - other than the fact that the bad one doesn't have RHOS still installed.  I also increased  yum debug level and see the difference between yum logs on two machines - nothing specific catches my eyes.
>
> vi /etc/yum.conf
>
> [main]
> cachedir=/var/cache/yum/$basearch/$releasever
> keepcache=0
> debuglevel=5   <<-- changed this
>
> Logs has this:
> This system is receiving updates from Red Hat Subscription Management.
> Config time: 2.269
> Yum Version: 3.2.29
> COMMAND: yum install -y yum-utils
> Installroot: /
> Ext Commands:
>
>     yum-utils
> Setting up Package Sacks
> Reading Local RPMDB
> rpmdb time: 0.000
> Setting up Install Process
> Setting up Package Sacks
> Checking for virtual provide or file-provide for yum-utils Setting up 
> Package Sacks Nothing to do
>
>
>
> And BTW, here's the difference between "subscription-manager list --installed" :
>
>
>
> On good one:
>
> [root at rhos-node2 ~]# subscription-manager list --installed
> +-------------------------------------------+
>      Installed Product Status
> +-------------------------------------------+
> Product Name:           Red Hat Enterprise Linux Server
> Product ID:             69
> Version:                6.3
> Arch:                   x86_64
> Status:                 Subscribed
> Starts:                 07/23/2013
> Ends:                   09/21/2013
>
> Product Name:           Red Hat OpenStack
> Product ID:             191
> Version:                3.0
> Arch:                   x86_64
> Status:                 Subscribed
> Starts:                 07/23/2013
> Ends:                   09/21/2013
>
>
> On bad one:
>
> [root at rhos-node1 ~]# subscription-manager list --installed
> +-------------------------------------------+
>      Installed Product Status
> +-------------------------------------------+
> Product Name:           Red Hat Enterprise Linux Server
> Product ID:             69
> Version:                6.4 Beta
> Arch:                   x86_64
> Status:                 Subscribed
> Starts:                 07/23/2013
> Ends:                   09/21/2013
>
> [root at rhos-node1 ~]#
>
>

I wonder if beta is the issue? That may lock you out of prod bits. Are there any enabled repos (subscription-manager repos --list)

-- bk






More information about the rhos-list mailing list