Bug 1471946
Summary: | osad-5.11.63-11.el6 fails with error "AttributeError: 'module' object has no attribute 'convert_url_to_puny'" | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Mahesh Taru <mtaru> |
Component: | Client | Assignee: | Michael Mráka <mmraka> |
Status: | CLOSED ERRATA | QA Contact: | Radovan Drazny <rdrazny> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 570 | CC: | dyordano, galtukho, mmraka, rdrazny, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-15 13:27:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1450111 |
Description
Mahesh Taru
2017-07-17 18:20:15 UTC
Reproducer: 1) # register client to satellite 2) # install osad yum install -y osad 3) # put server url twice into server_url sed "s|^server_url = .*|server_url = $(awk -F= '/serverURL=/ {print $2 ";" $2}' /etc/sysconfig/rhn/up2date)|" /etc/sysconfig/rhn/osad.conf 4) # run osad osad -vv Fixed in upstream spacewalk.git by commit 15b93892d9e4c15017400cb3f5e43d7a19527de9 1471946 - allow osad to work with older RHEL6 and RHEL7 rhnlib Backported to SATELLITE-5.8 commit 285ce920ff35ffb0539e263a164982b91ddee79a 1471946 - allow osad to work with older RHEL6 and RHEL7 rhnlib Reproduced on osad-5.11.63-11 using the reproducer from the initial report and comment #1. # osad -vv 2017-08-09 05:22:21 rhn_log.log_error: Error caught: Error caught: 2017-08-09 05:22:21 rhn_log.log_error: Traceback (most recent call last): File "/usr/share/rhn/osad/jabber_lib.py", line 118, in main config = self.read_config() File "/usr/share/rhn/osad/osad.py", line 313, in read_config server_url = [config.convert_url_to_puny(i.strip()) for i in server_url.split(';')] AttributeError: 'module' object has no attribute 'convert_url_to_puny' Traceback (most recent call last): File "/usr/share/rhn/osad/jabber_lib.py", line 118, in main config = self.read_config() File "/usr/share/rhn/osad/osad.py", line 313, in read_config server_url = [config.convert_url_to_puny(i.strip()) for i in server_url.split(';')] AttributeError: 'module' object has no attribute 'convert_url_to_puny' Updated to osad-5.11.63-12, and run osad again: # osad -vv 2017-08-09 05:36:05 jabber_lib._get_jabber_client: Connecting to sat-server.example.com 2017-08-09 05:36:05 jabber_lib.__init__: 2017-08-09 05:36:05 jabber_lib.connect: 2017-08-09 05:36:05 jabber_lib.setup_connection: Connected to jabber server sat-server.example.com VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2474 |