yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45333
[Bug 1537450] [NEW] [gate] functional job fails with TypeError: an integer is required (eventlet)
Public bug reported:
For example:
http://logs.openstack.org/85/271685/4/check/gate-nova-tox-
functional/61aabd8/console.html#_2016-01-24_05_38_40_439
2016-01-24 01:35:46,325 ERROR [nova.api.openstack.wsgi] Exception handling resource: an integer is required
Traceback (most recent call last):
File "nova/api/openstack/wsgi.py", line 801, in _process_stack
action_result = self.dispatch(meth, request, action_args)
File "nova/api/openstack/wsgi.py", line 890, in dispatch
return method(req=request, **action_args)
File "nova/api/openstack/compute/legacy_v2/contrib/cloudpipe.py", line 136, in index
for x in self._get_all_cloudpipes(context)]
File "nova/api/openstack/compute/legacy_v2/contrib/cloudpipe.py", line 96, in _vpn_dict
if utils.vpn_ping(vpn_ip, vpn_port):
File "nova/utils.py", line 232, in vpn_ping
sock.sendto(data, (address, port))
File "/Users/diana/workspace/nova/.tox/functional/lib/python2.7/site-packages/eventlet/greenio/base.py", line 382, in sendto
return self._send_loop(self.fd.sendto, data, address, flags)
File "/Users/diana/workspace/nova/.tox/functional/lib/python2.7/site-packages/eventlet/greenio/base.py", line 361, in _send_loop
total_sent += send_method(data[total_sent:], *args)
TypeError: an integer is required
This is caused by the recent eventlet release:
https://pypi.python.org/pypi/eventlet/0.18.0
In particular, this issue: "Handle blocking I/O errors in GreenSocket".
https://github.com/eventlet/eventlet/issues/274
https://github.com/eventlet/eventlet/commit/bc4d1b5d362e5baaeded35b1e339b9db08172dd2
To reproduce (assuming your dev env is using eventlet 0.18.0):
tox -e functional
nova.tests.functional.api_sample_tests.test_cloudpipe.CloudPipeSampleTest
** Affects: nova
Importance: Undecided
Status: New
** Summary changed:
- [gate] functional job fails with TypeError: an integer is required
+ [gate] functional job fails with TypeError: an integer is required (eventlet)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1537450
Title:
[gate] functional job fails with TypeError: an integer is required
(eventlet)
Status in OpenStack Compute (nova):
New
Bug description:
For example:
http://logs.openstack.org/85/271685/4/check/gate-nova-tox-
functional/61aabd8/console.html#_2016-01-24_05_38_40_439
2016-01-24 01:35:46,325 ERROR [nova.api.openstack.wsgi] Exception handling resource: an integer is required
Traceback (most recent call last):
File "nova/api/openstack/wsgi.py", line 801, in _process_stack
action_result = self.dispatch(meth, request, action_args)
File "nova/api/openstack/wsgi.py", line 890, in dispatch
return method(req=request, **action_args)
File "nova/api/openstack/compute/legacy_v2/contrib/cloudpipe.py", line 136, in index
for x in self._get_all_cloudpipes(context)]
File "nova/api/openstack/compute/legacy_v2/contrib/cloudpipe.py", line 96, in _vpn_dict
if utils.vpn_ping(vpn_ip, vpn_port):
File "nova/utils.py", line 232, in vpn_ping
sock.sendto(data, (address, port))
File "/Users/diana/workspace/nova/.tox/functional/lib/python2.7/site-packages/eventlet/greenio/base.py", line 382, in sendto
return self._send_loop(self.fd.sendto, data, address, flags)
File "/Users/diana/workspace/nova/.tox/functional/lib/python2.7/site-packages/eventlet/greenio/base.py", line 361, in _send_loop
total_sent += send_method(data[total_sent:], *args)
TypeError: an integer is required
This is caused by the recent eventlet release:
https://pypi.python.org/pypi/eventlet/0.18.0
In particular, this issue: "Handle blocking I/O errors in
GreenSocket".
https://github.com/eventlet/eventlet/issues/274
https://github.com/eventlet/eventlet/commit/bc4d1b5d362e5baaeded35b1e339b9db08172dd2
To reproduce (assuming your dev env is using eventlet 0.18.0):
tox -e functional
nova.tests.functional.api_sample_tests.test_cloudpipe.CloudPipeSampleTest
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1537450/+subscriptions
Follow ups