Bug 476212

Summary: Systems can't register if rhel-instnum is not installed
Product: [Community] Spacewalk Reporter: Jan Pazdziora <jpazdziora>
Component: ServerAssignee: Jan Pazdziora <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.3CC: bperkins, msuchy
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:14 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 Jan Pazdziora 2008-12-12 14:38:21 UTC
Description of problem:

The rhel-instnum package is not Required by any other and when it is not installed, systems cannot register to Spacewalk server.

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

Spacewalk 0.3

How reproducible:

Deterministic.

Steps to Reproduce:
1. Install Spacewalk on RHEL 5.
2. rpm -e rhel-instnum
3. Try to register system.
  
Actual results:

# rhnreg_ks --server http://server/XMLRPC --username admin --password xxxxx --force
An error has occurred:
While running 'registration.welcome_message': caught
exceptions.KeyError : 'xmlrpc'

See /var/log/up2date for more information

and on the Spacewalk server, there is

RHN 28698 2008/12/12 15:12:16 +02:00: ('Error importing xmlrpc: No module named instnum',)

in /var/log/httpd/error_log and

2008/12/12 15:12:16 +02:00 28698 10.34.34.139: server/rhnImport.load('ERROR', 'Error importing xmlrpc: No module named instnum')

in /var/log/rhn/rhn_server_xmlrpc.log.

Expected results:

We should not be able to install Spacewalk without the rhel-instnum package. In another words, someone ought to Require that thing.

Additional info:

This is an upstream bugzilla for bug 472368.

Comment 1 Jan Pazdziora 2008-12-12 14:43:22 UTC
Fix committed in 5bc219c9df434b1426e3ac1f1b371fc1382ef3f7.

Comment 2 Brandon Perkins 2008-12-13 04:13:55 UTC
Removing bug 472368 is blocked by this bug.

Comment 3 Miroslav Suchý 2009-01-15 09:46:53 UTC
[root@dhcp77-206 tmp]# rpm -e rhel-instnum
error: Failed dependencies:
        rhel-instnum is needed by (installed) spacewalk-backend-xmlrpc-0.4.15-1.el5.noarch

VERIFIED