When the user specified in "nova_proxy_admin_user" has access to several neutron networks, instance creation fails with the following error in the task_manager :
2013-12-04 16:17:27.357 4161 ERROR trove.taskmanager.models [req-29177421-8d7e-4efd-92f0-bde4b9c51e72 e7f562a29da3492baba2cc7c5a1f2d84 8147c285d288420db3233cbe46a3c56e] Traceback (most recent call last):
File "/home/trove/trove/taskmanager/models.py", line 400, in _create_server_volume_individually
availability_zone)
File "/home/trove/trove/taskmanager/models.py", line 510, in _create_server
availability_zone=availability_zone)
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 658, in create
**boot_kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 402, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 145, in _create
_resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 232, in post
return self._cs_request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 213, in _cs_request
**kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 195, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 189, in request
raise exceptions.from_response(resp, body, url, method)
BadRequest: Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-7646222f-c79a-41c1-a801-f5389997829e)
I suggest an additional flag in the taskmanager configuration named "instance_default_network" that would accept a valid network uuid. This flag will be used when creating a new instance. What do you think ?
how novaclient could accept network uuid ?