| Summary: | error: deprecated method, when we set two serverURL in up2date | |||
|---|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Martin Korbel <mkorbel> | |
| Component: | Clients | Assignee: | Jiří Dostál <jdostal> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Drazny <rdrazny> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 2.5 | CC: | eherget, galtukho, jdostal, rdrazny | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1395892 (view as bug list) | Environment: | ||
| Last Closed: | 2017-09-27 19:20:26 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1395892, 1484117 | |||
|
Description
Martin Korbel
2016-09-22 12:08:26 UTC
spacewalk.git dc7ee6df8e4235799c27064c8b828f2b946bcc3d Reproduced similar (and not quite same) behavior on rhn-client-tools-2.5.16-1.fc24 with the reproducer from the initial report. [Mon Nov 14 11:21:32 2016] up2date An error occurred talking to nonexistentserver.redhat.com: <class 'socket.gaierror'> [Errno -2] Name or service not known Trying the next serverURL: https://ibm-x3650m4-03-vm10.lab.eng.brq.redhat.com/XMLRPC [Mon Nov 14 11:21:32 2016] up2date A socket error occurred: [Errno -2] Name or service not known, attempt #1 [Mon Nov 14 11:21:32 2016] up2date Traceback (most recent call last): File "/usr/sbin/rhnreg_ks", line 217, in <module> cli.run() File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run sys.exit(self.main() or 0) File "/usr/sbin/rhnreg_ks", line 95, in main rhnreg.getCaps() File "/usr/share/rhn/up2date_client/rhnreg.py", line 264, in getCaps s.capabilities.validate() File "/usr/share/rhn/up2date_client/rhnserver.py", line 67, in __call__ return rpcServer.doCall(method, *args, **kwargs) File "/usr/share/rhn/up2date_client/rpcServer.py", line 225, in doCall raise_with_tb(up2dateErrors.CommunicationError(e.args[1])) File "/usr/lib/python3.5/site-packages/rhn/tb.py", line 25, in raise_with_tb raise e <class 'up2date_client.up2dateErrors.CommunicationError'>: rhn-plugin: Error communicating with server. The message was: Name or service not known Updated to rhn-client-tools-2.6.6-1.fc24. There was no problem with using the fallback server in the /etc/sysconfig/up2date file, and the Fedora 24 system registered correctly to the Spacewalk server. [Mon Nov 14 11:38:18 2016] up2date An error occurred talking to a-jeste-neco.redhat.com: <class 'socket.gaierror'> [Errno -2] Name or service not known Trying the next serverURL: https://ibm-x3650m4-03-vm10.lab.eng.brq.redhat.com/XMLRPC VERIFIED This looks like it was fixed in previous release, but I'm closing it in this one. Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27 |