Running the Nova functional tests locally, I consistently get around a dozen or so of these in the output:
Captured stderr:
~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/jaypipes/src/git.openstack.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 457, in fire_timers
timer()
File "/home/jaypipes/src/git.openstack.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/home/jaypipes/src/git.openstack.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "nova/utils.py", line 1066, in context_wrapper
return func(*args, **kwargs)
File "nova/compute/manager.py", line 1414, in _allocate_network_async
six.reraise(*exc_info)
File "nova/compute/manager.py", line 1397, in _allocate_network_async
bind_host_id=bind_host_id)
File "nova/network/neutronv2/api.py", line 844, in allocate_for_instance
context, instance, neutron, requested_networks, ordered_networks)
File "nova/network/neutronv2/api.py", line 730, in _validate_requested_network_ids
raise exception.NetworkAmbiguous(msg)
NetworkAmbiguous: Multiple possible networks found, use a Network ID to be more specific.
They don't affect the result of the test, so it's nothing more than an annoyance, but would be nice to fix.
Hi Jay, can you please tell me how I can reproduce this issue? I run "sudo tox -e py27" on nova and I can't find any NetworkAmbiguous exception.
my plan is to find all test cases threw this exception and catch the exception in these test cases. what do you think?