[Spacewalk-list] Error with yum update on Centos 7

Michael Mraka michael.mraka at redhat.com
Mon Sep 2 14:11:16 UTC 2019


Charles Allen:
> 
> Running into an error similar to that seen in a post from several years ago:
> 
> https://www.redhat.com/archives/spacewalk-list/2015-November/msg00074.html
> 
> If I run 'yum update' from my spacewalk client, it provides the following traceback:
> 
> Loaded plugins: fastestmirror, rhnplugin
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in <module>
>     yummain.user_main(sys.argv[1:], exit_code=True)
...
>   File "/usr/lib/python2.7/site-packages/OpenSSL/SSL.py", line 1415, in __getattr__
>     return getattr(self._socket, name)
> AttributeError: '_socketobject' object has no attribute 'state_string'
> 
> It appears to occur if there are no updates available for the client; though, I am not certain of this.  Currently running Spacewalk 2.9; clients are Centos 7.
> 
> Looking for some insight from someone smarter than myself to fix this issue.  Thanks in advance.

Hello Charlie,

The traceback in your report is a different one than one in referenced email.
Your issue looks more like
https://bugzilla.redhat.com/show_bug.cgi?id=1581424
https://bugzilla.redhat.com/show_bug.cgi?id=1597711
which should be fixed by latest python-pyOpenSSL.

 
> Charlie

Regards,

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list