requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",)) in functional tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We see this about 11 times in 7 days in the check and gate queues on the nova functional jobs:
2017-04-25 13:55:17.704694 | Captured traceback:
2017-04-25 13:55:17.704705 | ~~~~~~~~~~~~~~~~~~~
2017-04-25 13:55:17.704720 | Traceback (most recent call last):
2017-04-25 13:55:17.704749 | File "nova/tests/
2017-04-25 13:55:17.704763 | self._test_
2017-04-25 13:55:17.704791 | File "nova/tests/
2017-04-25 13:55:17.704817 | response = self._do_
2017-04-25 13:55:17.704844 | File "nova/tests/
2017-04-25 13:55:17.704857 | headers=headers)
2017-04-25 13:55:17.704883 | File "nova/tests/
2017-04-25 13:55:17.704901 | headers=headers, strip_version=
2017-04-25 13:55:17.704923 | File "nova/tests/
2017-04-25 13:55:17.704938 | auth_result = self._authentic
2017-04-25 13:55:17.704961 | File "nova/tests/
2017-04-25 13:55:17.704972 | headers=headers)
2017-04-25 13:55:17.704994 | File "nova/tests/
2017-04-25 13:55:17.705016 | response = requests.
2017-04-25 13:55:17.705059 | File "/home/
2017-04-25 13:55:17.705083 | return session.
2017-04-25 13:55:17.705163 | File "/home/
2017-04-25 13:55:17.705202 | resp = self.send(prep, **send_kwargs)
2017-04-25 13:55:17.705280 | File "/home/
2017-04-25 13:55:17.705321 | r = adapter.
2017-04-25 13:55:17.705367 | File "/home/
2017-04-25 13:55:17.705384 | raise ConnectionError
2017-04-25 13:55:17.705409 | requests.
Which API it fails on is completely random I think.
It looks like this is maybe a result of the OSAPIFixture spawning a greenthread to run the nova-api service:
(9:19:08 AM) cdent: if for some reason the new greenthread doesn't get yielded to when it should, the client will try to read off the socket which nothing paying proper attention on the other side
Changed in nova: | |
status: | Confirmed → Fix Released |
Related fix proposed to branch: master /review. openstack. org/459733
Review: https:/