As a side note. If build a virtualenv with the proxy set, then unset the proxy variables then star tox -e functional then I got a different failure:
2017-07-26 10:38:02,702 ERROR [nova.compute.manager] Error updating resources for node fake-mini.
Traceback (most recent call last):
File "nova/compute/manager.py", line 6564, in update_available_resource_for_node rt.update_available_resource(context, nodename)
File "nova/compute/resource_tracker.py", line 626, in update_available_resource self._update_available_resource(context, resources)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
return f(*args, **kwargs)
File "nova/compute/resource_tracker.py", line 650, in _update_available_resource self._init_compute_node(context, resources)
File "nova/compute/resource_tracker.py", line 536, in _init_compute_node self._update(context, cn)
File "nova/compute/resource_tracker.py", line 816, in _update self.scheduler_client.update_compute_node(compute_node)
File "nova/scheduler/client/__init__.py", line 68, in update_compute_node self.reportclient.update_compute_node(compute_node)
File "nova/scheduler/client/__init__.py", line 37, in __run_method
return getattr(self.instance, __name)(*args, **kwargs)
File "nova/scheduler/client/report.py", line 869, in update_compute_node compute_node.hypervisor_hostname)
File "nova/scheduler/client/report.py", line 481, in _ensure_resource_provider
rp = self._get_resource_provider(uuid)
File "nova/scheduler/client/report.py", line 56, in wrapper
return f(self, *a, **k)
File "nova/scheduler/client/report.py", line 375, in _get_resource_provider
resp = self.get("/resource_providers/%s" % uuid)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/fixtures/_fixtures/monkeypatch.py", line 89, in avoid_get
return captured_method(*args, **kwargs)
File "nova/tests/fixtures.py", line 1450, in _fake_get raise_exc=False)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 845, in get
return self.request(url, 'GET', **kwargs)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
return wrapped(*args, **kwargs)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 703, in request
resp = send(**kwargs)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 761, in _send_request
resp = self.session.request(method, url, **kwargs)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/requests/sessions.py", line 502, in request
resp = self.send(prep, **send_kwargs)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/requests/sessions.py", line 612, in send
r = adapter.send(request, **kwargs)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/requests/adapters.py", line 440, in send timeout=timeout
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 588, in urlopen
conn = self._get_conn(timeout=pool_timeout)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 250, in _get_conn
return conn or self._new_conn()
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 211, in _new_conn strict=self.strict, **self.conn_kw)
File "/home/cloudci/ebalgib/nova.git/functional/.tox/functional/local/lib/python2.7/site-packages/wsgi_intercept/_urllib3.py", line 19, in __init__ WSGI_HTTPConnection.__init__(self, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'socket_options'
As a side note. If build a virtualenv with the proxy set, then unset the proxy variables then star tox -e functional then I got a different failure: manager] Error updating resources for node fake-mini. manager. py", line 6564, in update_ available_ resource_ for_node
rt.update_ available_ resource( context, nodename) resource_ tracker. py", line 626, in update_ available_ resource
self._ update_ available_ resource( context, resources) cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ oslo_concurrenc y/lockutils. py", line 271, in inner resource_ tracker. py", line 650, in _update_ available_ resource
self._ init_compute_ node(context, resources) resource_ tracker. py", line 536, in _init_compute_node
self._ update( context, cn) resource_ tracker. py", line 816, in _update
self.scheduler _client. update_ compute_ node(compute_ node) /client/ __init_ _.py", line 68, in update_compute_node
self.reportcli ent.update_ compute_ node(compute_ node) /client/ __init_ _.py", line 37, in __run_method self.instance, __name)(*args, **kwargs) /client/ report. py", line 869, in update_compute_node
compute_ node.hypervisor _hostname) /client/ report. py", line 481, in _ensure_ resource_ provider resource_ provider( uuid) /client/ report. py", line 56, in wrapper /client/ report. py", line 375, in _get_resource_ provider "/resource_ providers/ %s" % uuid) cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ fixtures/ _fixtures/ monkeypatch. py", line 89, in avoid_get method( *args, **kwargs) fixtures. py", line 1450, in _fake_get
raise_ exc=False) cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ keystoneauth1/ session. py", line 845, in get cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ positional/ __init_ _.py", line 101, in inner cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ keystoneauth1/ session. py", line 703, in request cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ keystoneauth1/ session. py", line 761, in _send_request request( method, url, **kwargs) cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ requests/ sessions. py", line 502, in request cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ requests/ sessions. py", line 612, in send send(request, **kwargs) cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ requests/ adapters. py", line 440, in send
timeout= timeout cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ urllib3/ connectionpool. py", line 588, in urlopen conn(timeout= pool_timeout) cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ urllib3/ connectionpool. py", line 250, in _get_conn cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ urllib3/ connectionpool. py", line 211, in _new_conn
strict= self.strict, **self.conn_kw) cloudci/ ebalgib/ nova.git/ functional/ .tox/functional /local/ lib/python2. 7/site- packages/ wsgi_intercept/ _urllib3. py", line 19, in __init__
WSGI_HTTPConne ction._ _init__ (self, *args, **kwargs)
2017-07-26 10:38:02,702 ERROR [nova.compute.
Traceback (most recent call last):
File "nova/compute/
File "nova/compute/
File "/home/
return f(*args, **kwargs)
File "nova/compute/
File "nova/compute/
File "nova/compute/
File "nova/scheduler
File "nova/scheduler
return getattr(
File "nova/scheduler
File "nova/scheduler
rp = self._get_
File "nova/scheduler
return f(self, *a, **k)
File "nova/scheduler
resp = self.get(
File "/home/
return captured_
File "nova/tests/
File "/home/
return self.request(url, 'GET', **kwargs)
File "/home/
return wrapped(*args, **kwargs)
File "/home/
resp = send(**kwargs)
File "/home/
resp = self.session.
File "/home/
resp = self.send(prep, **send_kwargs)
File "/home/
r = adapter.
File "/home/
File "/home/
conn = self._get_
File "/home/
return conn or self._new_conn()
File "/home/
File "/home/
TypeError: __init__() got an unexpected keyword argument 'socket_options'