[Spacewalk-list] spacewalk-usix broke my system

Wilkinson, Matthew MatthewWilkinson at alliantenergy.com
Fri Jun 30 14:35:13 UTC 2017


I haven’t updated my Spacewalk server with that version yet, but it’s good to know. I wonder what the issue is? Is there a bug report on it?

Matthew Wilkinson | Lead Server Administrator, Unix

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Morten Middelthon
Sent: Friday, June 30, 2017 08:24
To: spacewalk-list
Subject: [Spacewalk-list] spacewalk-usix broke my system

[This is an external email. Be cautious with links, attachments and responses.]
________________________________
Hi list,

I performed a 'yum -y upgrade' today on my spacewalk server (RHEL 6.x with spacewalk 2.6).
The following changes were performed:

# yum history info 66
Loaded plugins: product-id, rhnplugin, search-disabled-repos, security, versionlock
This system is receiving updates from RHN Classic or Red Hat Satellite.
Transaction ID : 66
Begin time     : Fri Jun 30 14:34:23 2017
Begin rpmdb    : 985:0842ff69cc6a1afb336142aa7d759e3a5f56a6ec
End time       :            14:34:26 2017 (3 seconds)
End rpmdb      : 985:45d6f185d6124313ee36d078383007c01e5b65e1 **
User           : Morten Middelthon <mortenm>
Return-Code    : Success
Command Line   : -y upgrade
Transaction performed with:
    Installed     rpm-4.8.0-55.el6.x86_64                     @rhel6-updates-x86_64
    Installed     yum-3.2.29-81.el6.noarch                    @rhel6-updates-x86_64
    Installed     yum-metadata-parser-1.1.2-16.el6.x86_64     @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.6
    Installed     yum-plugin-versionlock-1.1.30-40.el6.noarch @rhel6-updates-x86_64
    Installed     yum-rhn-plugin-2.6.3-1.el6.noarch           @spacewalk
Packages Altered:
    Obsoleted  spacewalk-backend-usix-2.6.77-1.el6.noarch @spacewalk
    Obsoleting spacewalk-usix-2.7.1-3.el6sat.noarch       @rhel-6-server-rhn-tools-rpms
history info

as you can see spacewalk-backend-usix was replaced with spacewalk-usix-2.7.1-3.el6sat.noarch
After this patch my entire spacewalk server went down. Clients trying to talk the server got the following error:

# yum repolist
Loaded plugins: product-id, rhnplugin, search-disabled-repos
There was an error communicating with RHN.
Red Hat Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:
Internal Server Error
repolist: 0

and on the spacewalk server itself, programs like spacewalk-repo-sync failed with:
# /usr/bin/spacewalk-repo-sync --list
Traceback (most recent call last):
  File "/usr/bin/spacewalk-repo-sync", line 48, in <module>
    "Path not correct? " + sys.path)
TypeError: cannot concatenate 'str' and 'list' objects

the web gui was functioning seemingly OK during this though.

To get things back up and running again I had to remove spacewalk-usix

# rpm -e --nodeps spacewalk-usix

Manually download the rpm for the old package from

http://spacewalk.redhat.com/yum/latest-client/RHEL/6/x86_64/spacewalk-backend-usix-2.6.78-1.el6.noarch.rpm

and then install it:

rpm -ivh spacewalk-backend-usix-2.6.78-1.el6.noarch.rpm

After that clients could connect again, and spacewalk-repo-sync ran like normal

Has anyone else experienced this?

with regards

Morten A. Middelthon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170630/7b52a076/attachment.htm>


More information about the Spacewalk-list mailing list