[Spacewalk-list] spacewalk-setup seems to be hanging

Espinola, Derek - 0663 - MITLL despinola at ll.mit.edu
Fri Apr 5 15:37:38 UTC 2013


Thanks Jan.  It turned out to be a disk IO issue, it eventually completed.

-Derek

>
>Hi,
>
>I am currently in the process of upgrading spacewalk 1.8 to 1.9 on
>rhel6.4.  At the stage of upgrading the spacewalk configuration, it seems
>to be hanging ( about 40mins now) at "Performing initial configuration":
>
>spacewalk-setup --disconnected --external-db --upgrade
>* Setting up Oracle environment.
>* Setting up database.
>** Database: Setting up database connection for Oracle backend.
>Database service name (SID)? ########
>Username? #######
>Password?
>** Database: Testing database connection.
>** Database: Populating database.
>** Database: Skipping database population.
>* Setting up users and groups.
>** GPG: Initializing GPG and importing key.
>* Performing initial configuration.
>
>Looking at the rhn_installation .log, shows the following:
>?.
>?.disconnected
>/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig
>/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf
>/var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini
>/var/lib/rhn/rhn-satellite-prep/etc -> /etc
>/var/lib/rhn/rhn-satellite-prep/etc/rhn -> /etc/rhn
>/var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf -> /etc/rhn/rhn.conf
> * Making backup of /etc/rhn/rhn.conf to
>/etc/sysconfig/rhn/backup-2013-04-04-07:19/etc/rhn/rhn.conf
>/var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini ->
>/etc/rhn/cluster.ini
> * Making backup of /etc/rhn/cluster.ini to
>/etc/sysconfig/rhn/backup-2013-04-04-07:19/etc/rhn/cluster.ini
>
>Not exactly sure what is holding it up.  Any ideas?
>
>Thanks,
>-Derek
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><https://www.redhat.com/archives/spacewalk-list/attachments/20130404/8c209
>84f/attachment.html>
>
>------------------------------
>
>Message: 2
>Date: Thu, 4 Apr 2013 15:23:46 +0200
>From: Jan Pazdziora <jpazdziora at redhat.com>
>To: spacewalk-list at redhat.com
>Subject: Re: [Spacewalk-list] spacewalk-setup seems to be hanging
>Message-ID: <20130404132346.GC25620 at redhat.com>
>Content-Type: text/plain; charset=utf-8
>
>On Thu, Apr 04, 2013 at 09:09:46AM -0400, Espinola, Derek - 0663 - MITLL
>wrote:
>> 
>> I am currently in the process of upgrading spacewalk 1.8 to 1.9 on
>>rhel6.4.  At the stage of upgrading the spacewalk configuration, it
>>seems to be hanging ( about 40mins now) at "Performing initial
>>configuration":
>> 
>> spacewalk-setup --disconnected --external-db --upgrade
>> * Setting up Oracle environment.
>> * Setting up database.
>> ** Database: Setting up database connection for Oracle backend.
>> Database service name (SID)? ########
>> Username? #######
>> Password?
>> ** Database: Testing database connection.
>> ** Database: Populating database.
>> ** Database: Skipping database population.
>> * Setting up users and groups.
>> ** GPG: Initializing GPG and importing key.
>> * Performing initial configuration.
>> 
>> Looking at the rhn_installation .log, shows the following:
>> ?.
>> ?.disconnected
>> /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig
>> /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf
>> /var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini
>> /var/lib/rhn/rhn-satellite-prep/etc -> /etc
>> /var/lib/rhn/rhn-satellite-prep/etc/rhn -> /etc/rhn
>> /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf -> /etc/rhn/rhn.conf
>>  * Making backup of /etc/rhn/rhn.conf to
>>/etc/sysconfig/rhn/backup-2013-04-04-07:19/etc/rhn/rhn.conf
>> /var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini ->
>>/etc/rhn/cluster.ini
>>  * Making backup of /etc/rhn/cluster.ini to
>>/etc/sysconfig/rhn/backup-2013-04-04-07:19/etc/rhn/cluster.ini
>> 
>> Not exactly sure what is holding it up.  Any ideas?
>
>What do strace and lsof show for that spacewalk-setup process?
>
>-- 
>Jan Pazdziora
>Principal Software Engineer, Satellite Engineering, Red Hat
>
>
>
>------------------------------
>
>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list at redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>End of Spacewalk-list Digest, Vol 59, Issue 5
>*********************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5156 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130405/e3e81d04/attachment.p7s>


More information about the Spacewalk-list mailing list