Bug 489350 - Multiple runs of spacewalk-setup produce multiple monitoring scout entries
Summary: Multiple runs of spacewalk-setup produce multiple monitoring scout entries
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-03-09 16:34 UTC by Milan Zázrivec
Modified: 2009-09-17 07:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:10:58 UTC
Embargoed:


Attachments (Terms of Use)
scout config push page (59.75 KB, image/png)
2009-03-09 16:34 UTC, Milan Zázrivec
no flags Details

Description Milan Zázrivec 2009-03-09 16:34:42 UTC
Created attachment 334553 [details]
scout config push page

Description of problem:
Multiple runs of spacewalk-setup (for example if previous run fails or
gets interrupted) result into multiple monitoring scout entries in databse
(visible via webui).

Version-Release number of selected component (if applicable):
SatConfig-general-1.216.8-1.el5
spacewalk-setup-0.5.17-1.el5

How reproducible:
Always

Steps to Reproduce:
1. # spacewalk-setup --disconnected
2. Proceed with the spacewalk-setup all the way to the point where the 
setup says "* Enabling Monitoring."
3. At this point it's safe to Ctrl-C the installation (to simulate the failure)
4. Re-run the setup again, answer no to wiping out the existing schema, proceed
all the way to the end.
5. Enable monitoring + monitoring scout.
6. webui: monitoring -> scout config push
  
Actual results:
Multiple scout entries (see attachment).

Expected results:
One entry for scout running on installed Spacewalk.

Additional info:
N/A

Comment 1 Miroslav Suchý 2009-03-12 13:48:38 UTC
Commited as e9b92eaeed70090cec629d8570c1aab19053ab71
Fixed in spacewalk-setup-0.5.20-1

Comment 2 Jesus M. Rodriguez 2009-04-14 14:13:26 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:10:58 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.