Bug 476212 - Systems can't register if rhel-instnum is not installed
Systems can't register if rhel-instnum is not installed
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Jan Pazdziora
Red Hat Satellite QA List
Depends On:
Blocks: space04
  Show dependency treegraph
Reported: 2008-12-12 09:38 EST by Jan Pazdziora
Modified: 2009-01-22 11:31 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-22 11:31:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Pazdziora 2008-12-12 09:38:21 EST
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:


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 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 09:43:22 EST
Fix committed in 5bc219c9df434b1426e3ac1f1b371fc1382ef3f7.
Comment 2 Brandon Perkins 2008-12-12 23:13:55 EST
Removing bug 472368 is blocked by this bug.
Comment 3 Miroslav Suchý 2009-01-15 04:46:53 EST
[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


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