Bug 1168719 - First configuration is broken on validating the satellite certificate.
Summary: First configuration is broken on validating the satellite certificate.
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 2.2
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2014-11-27 16:12 UTC by Rangul
Modified: 2020-09-10 09:20 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-01 07:19:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Rangul 2014-11-27 16:12:45 UTC
Description of problem:
Spacewalk first configuration is broken with message:
"** Loading Spacewalk Certificate.
** Verifying certificate locally.
There was a problem validating the satellite certificate: 1"

Tail of /var/log/rhn/rhn_installation.log.N
"Unable to load module rhn_satellite_activate
No module named stringutils"


Version-Release number of selected component (if applicable):
OS Centos 6.6; spacewalk 2.2-1

How reproducible:
Run spacewalk-setup --skip-fqdn-test --disconnected --external-postgresql --answer-file=kick_walk
Populating database ends sucessfully, but next hop - cert verifying - is broken. 
Tail of /var/log/rhn/rhn_installation.log.N
"Unable to load module rhn_satellite_activate
No module named stringutils"

What is it module? Python module? Java moduly? Or else another?
How can I fix this problem?

Comment 1 Rangul 2014-12-01 07:19:13 UTC
Problem was fixed.
It cause was spacewalk-client installed on the host before spacewalk-server. And client version was older.
Spacewalk client and server both have the spacewalk-backend-libs rpm in dependency; so, if client was installed before, server installation ignore this rpm. But content of client spacewalk-backend-libs much less then servers version. In particular there is no stringutils.py. So problem is fixed by installation of appropriate spacewalk-backend-libs rpm.

Comment 2 Eric Herget 2017-09-28 18:05:51 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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