Traditional client migrated to salt-minion fails with "File-usr-lib-python2-7-site-packages-up2date-client-up2dateAuth-py"

This document (000021346) is provided subject to the disclaimer at the end of this document.


SUSE Manager 4.3
Oracle Linux 7.9


Bootstrap the Oracle Linux 7 server to the SUMA server with the traditional method first, then migrate the system to use salt (salt-minion).

All goes well until "yum update" is executed:
OL7# yum update
Traceback (most recent call last):
File "/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/", line 375, in user_main
errcode = main(args)
File "/usr/share/yum-cli/", line 170, in main
File "/usr/share/yum-cli/", line 263, in getOptionsConfig
File "/usr/lib/python2.7/site-packages/yum/", line 1079, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.7/site-packages/yum/", line 420, in _getConfig'init')
File "/usr/lib/python2.7/site-packages/yum/", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/share/yum-plugins/", line 23, in init_hook
login_info = up2dateAuth.getLoginInfo(timeout=timeout)
File "/usr/lib/python2.7/site-packages/up2date_client/", line 248, in getLoginInfo
File "/usr/lib/python2.7/site-packages/up2date_client/", line 208, in login
systemId = getSystemId()
File "/usr/lib/python2.7/site-packages/up2date_client/", line 41, in getSystemId
log.log_me("ERROR - Unable to read XML in %s - %s" % (path, sys.exc_info()[1]))
NameError: global name 'sys' is not defined


Remove the traditional stack from the Oracle Linux Server:

# rpm -e spacewalk-client-setup spacewalk-check python2-spacewalk-check python2-spacewalk-client-setup yum-rhn-plugin mgr-daemon yum-plugin-ulninfo python2-spacewalk-client-tools spacewalk-client-tools

Then proceed to update the server which should now succeed:

# yum update


Mixed salt and traditional stack packages installed on the client.

Additional Information

Un-Register traditional minions with SLES OS:


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021346
  • Creation Date: 06-Feb-2024
  • Modified Date:06-Feb-2024
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center