Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 476812

Summary: Attempt to get satellite_org_id on database with more than one org
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: InstallationAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.4CC: mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 16:31:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456552    

Description Miroslav Suchý 2008-12-17 09:54:53 UTC
Description of problem:
If you are installing spacewalk with already populated database and with more then 1 org you will get this error:

* Enabling Monitoring.
RHN::Exception: Attempt to get satellite_org_id on database with more than one org
  RHN::DB::SatInstall /usr/lib/perl5/site_perl/5.8.8/RHN/DB/SatInstall.pm 384 RHN::Exception::throw
  main /usr/bin/spacewalk-setup 1036 RHN::DB::SatInstall::get_satellite_org_id
  main /usr/bin/spacewalk-setup 131 main::setup_monitoring

Comment 1 Miroslav Suchý 2008-12-17 10:13:46 UTC
Fixed in 31fb9bbd43ce19392d9e11b4ac2ce0f15dcb8b6a.

Comment 2 Michael Mráka 2009-01-15 13:05:05 UTC
Verified.

...
** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
* Enabling Monitoring.
* Configuring apache SSL virtual host.
...