Bug 492194 - spacewalk-setup Hangs Restarting Services
Summary: spacewalk-setup Hangs Restarting Services
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Devan Goodwin
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-03-25 20:18 UTC by Devan Goodwin
Modified: 2009-09-17 07:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:11:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Devan Goodwin 2009-03-25 20:18:17 UTC
Description of problem:

Spacewalk setup hangs at the final restarting services stage on Fedora 10. (at least)

Version-Release number of selected component (if applicable):

spacewalk-setup-0.5.25-1.fc10.noarch

How reproducible:

100% on Fedora 10, not sure about others.

Steps to Reproduce:
1. Run spacewalk-setup normally.
  
Actual results:

Setup prints "* Restarting services." then sits there forever.

Expected results:

Normal completion.


Additional info:

Technically all services have started successfully, the problem appears to be related to new code in Setup.pm sub system_debug originating in commit f5eb2855.

Placing an echo at the end of /usr/sbin/rhn-satellite shows that the script does terminate, but the while loop in system_debug never realizes this.

jabberd service appears to be the culprit, if while hung you switch to another terminal and "service jabberd restart" the original spacewalk-setup process immediately picks up and completes normally. If you remove jabberd from the list of services in /usr/sbin/rhn-satellite, the problem does not occur.

Reverting f5eb2855 also allows the process to complete normally. (though I have selinux disabled and I understand the change was to accomodate selinux in the first place)

Comment 1 Shannon Hughes 2009-03-25 20:34:43 UTC
just a couple notes that i noticed some logic sandwiched between the subroutines upgrade_stop_services and spinning_callback. was that supposed to be orphaned in the main driver area?

Comment 2 Jan Pazdziora (Red Hat) 2009-03-26 17:01:53 UTC
Filed a bug 492378 against jabberd.

I'll try to come up with a workaround thou.

Comment 3 Jan Pazdziora (Red Hat) 2009-03-27 10:26:40 UTC
Fix in commit 66f35d59c2f4d1771e0b17086a5f85f7c151982f.

Tagged as spacewalk-setup-0.5.27-1.

Comment 4 Jan Pazdziora (Red Hat) 2009-04-01 06:36:27 UTC
With Spacewalk 0.5 released, moving ON_QA.

Comment 5 Devan Goodwin 2009-04-07 19:49:38 UTC
Verified.

Comment 6 Jesus M. Rodriguez 2009-04-14 14:13:38 UTC
Spacewalk 0.5 released.

Comment 7 Miroslav Suchý 2009-09-17 07:11:20 UTC
Spacewalk 0.5 has been released for long time ago.


Note You need to log in before you can comment on or make changes to this bug.