RHEL7: contrail-api do not start with python-2.7.5-48
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
High
|
Nagendra Prasath | |||
Trunk |
Fix Committed
|
High
|
Nagendra Prasath |
Bug Description
RHEL7.2/R3.0.2.0/51 with latest upstream rhel repo brings python-2.7.5-48 automatically during setup.sh
However when proceeded with this version, contail-api throws below error. However downgrading python to python-2.7.5-39 resolves the issue
Looks like new version of python do not work with contrail-api.
self = <SSLSocket at 0x40cc490 fileno=10 sock=10.
self._sslobj = None
global _ssl = <module '_ssl' from '/usr/lib64/
_ssl.sslwrap undefined
self._sock = <socket object, fd=10, family=2, type=1, protocol=6>
builtinFalse = False
self.keyfile = None
self.certfile = None
self.cert_reqs = 0
self.ssl_version = 3
self.ca_certs = '/usr/lib64/
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Attribute not found.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ("'module' object has no attribute 'sslwrap'",)
message = "'module' object has no attribute 'sslwrap'"
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
main()
File "/usr/lib/
vnc_api_server = VncApiServer(
File "/usr/lib/
self.
File "/usr/lib/
cassandra_
File "/usr/lib/
self, ifmap_srv_ip, ifmap_srv_port, uname, passwd, ssl_options)
File "/usr/lib/
self.
File "/usr/lib/
result = mapclient.
File "/usr/lib/
response = self._http.
File "/usr/lib64/
return self.request(
File "/usr/lib64/
sock = self._connectio
File "/usr/lib64/
return self._create_
File "/usr/lib64/
sock.
File "/usr/lib64/
self._sslobj = _ssl.sslwrap(
AttributeError: 'module' object has no attribute 'sslwrap'
information type: | Proprietary → Public |
tags: | added: blocker |
tags: | added: releasenote |
Looks to be related to this: https:/ /github. com/gevent/ gevent/ issues/ 702