Registration (traditional) of SLES11SP4 fails with ImportError: No module named backports.ssl_match_hostname

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

Environment

SUSE Manager 4.1 Server

Situation

Registration of SLES11SP4 (as traditional client) against SUSE Manager 4.1 fails with following error message:
REGISTRATION
------------
* registering
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 25, in <module>
    from rhn.connections import idn_puny_to_unicode
  File "/usr/lib64/python2.6/site-packages/rhn/connections.py", line 14, in <module>
    from rhn import SSL
  File "/usr/lib64/python2.6/site-packages/rhn/SSL.py", line 47, in <module>
    from backports.ssl_match_hostname import match_hostname, CertificateError
ImportError: No module named backports.ssl_match_hostname

*** Error: Registering the system failed.

Resolution

Install following package on top of SLES11SP4 client:
  • python-backports.ssl_match_hostname-3.4.0.2-2.2.x86_64 (from SLES11-SP4-SUSE-Manager-Tools x86_64 channel)
Package can be downloaded from SUSE Manager 4.1:
  1. Login to SUSE Manager 4.1 webUI
  2. Click on "Software" -> "Package Search"
  3. Search for the package mentioned above
  4. Download the package

Cause

Missing dependency.

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:000019928
  • Creation Date: 25-Mar-2021
  • Modified Date:25-Mar-2021
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

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