SUSE Support

Here When You Need Us

Bootstrapping a client via proxy failed with ERROR 500

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

Environment

SUSE Manager Proxy 4.3


Situation

Bootstrapping a client via a SUSE Manager Proxy, requests failed with a HTTP 500 error. Checking /var/log/apache2/error_log on the proxy shows errors similar to:

[Mon Feb 10 15:46:13.309894 2025] [wsgi:error] [pid 12383] [client 10.88.105.140:59722]...

ImportError: cannot import name 'cfg_component' 
mod_wsgi (pid=12386): Exception occurred processing WSGI script '/usr/share/rhn/wsgi/xmlrpc.py'. 
Traceback (most recent call last): 
File "/usr/share/rhn/wsgi/xmlrpc.py", line 23, in application 
   "proxy.apacheServer")
File "/usr/share/rhn/wsgi/wsgiHandler.py", line 35, in handle
   parseServ = get_handle(servertype, "HeaderParserHandler")
File "/usr/share/rhn/wsgi/wsgiHandler.py", line 63, in get_handle 
   handler_module = __import__(servertype, globals(), locals(), [servertype.split('.')[-1]])
File "/usr/share/rhn/proxy/apacheServer.py", line 20, in <module> 
   from spacewalk.common.rhnTB import Traceback
File "/usr/lib/python3.6/site-packages/spacewalk/common/rhnTB.py", line 33, in <module> 
   from spacewalk.common import rhnMail
 File "/usr/lib/python3.6/site-packages/spacewalk/common/rhnMail.py", line 23, in <module>
   from uyuni.common.context_managers import cfg_component
File "/usr/lib/python3.6/site-packages/uyuni/common/context_managers.py", line 8, in <module> 
   from spacewalk.common.rhnConfig import cfg_component

The SUSE Manager Proxy has been setup by packages as a client of the SUSE Manager.

 

Resolution

Please check the version of the following package:

# rpm -q python3-uyuni-common-libs

if this is python3-uyuni-common-libs-5.0.5 please downgrade the package to the most recent version from the SUSE Manager Proxy channel:

# zypper in --old-package python3-uyuni-common-libs-4.3.11-150400.3.21.6
# systemctl restart spacewalk-proxy

Cause

 The package was mistakenly installed from the channel "SLE-Manager-Tools15-Updates for x86_64 SP4".

Status

Reported to Engineering

Disclaimer

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:000021705
  • Creation Date: 12-Feb-2025
  • Modified Date:12-Feb-2025
    • SUSE Manager Proxy

< Back to Support Search

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

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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