Comment 1 for bug 1900357

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

For the test_server_multi_create_auto_allocate I see in nova logs error like:

2020-10-18 16:18:33.032 18 DEBUG nova.network.neutronv2.api [req-b7d7ab33-ce6d-42b9-9140-0cb3f769b9ca - - - - -] No networks are available for project 660eedbd5fc24b5c92c1e1ebc41b84a9; checking to see if we can automatically allocate a network. _ports_needed_per_instance /
usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py:1746
2020-10-18 16:18:33.053 18 DEBUG neutronclient.v2_0.client [req-b7d7ab33-ce6d-42b9-9140-0cb3f769b9ca - - - - -] Error message: {"NeutronError": {"message": "Deployment error: No default router:external network.", "type": "AutoAllocationFailure", "detail": ""}} _handle_faul
t_response /usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py:259
2020-10-18 16:18:33.054 18 DEBUG nova.network.neutronv2.api [req-b7d7ab33-ce6d-42b9-9140-0cb3f769b9ca - - - - -] Unable to auto-allocate networks. Deployment error: No default router:external network.
Neutron server returns request_ids: ['req-4d99a477-09fb-4c8d-a2c2-a634afe28c85'] _can_auto_allocate_network /usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py:1683
2020-10-18 16:18:33.054 18 INFO nova.api.openstack.wsgi [req-b7d7ab33-ce6d-42b9-9140-0cb3f769b9ca - - - - -] HTTP exception thrown: Unable to automatically allocate a network for project 660eedbd5fc24b5c92c1e1ebc41b84a9
2020-10-18 16:18:33.054 18 DEBUG nova.api.openstack.wsgi [req-b7d7ab33-ce6d-42b9-9140-0cb3f769b9ca - - - - -] Returning 400 to user: Unable to automatically allocate a network for project 660eedbd5fc24b5c92c1e1ebc41b84a9 call /usr/lib/python2.7/site-packages/nova/api/o
penstack/wsgi.py:1064

So it seems for me that it is also related to the job's config as there should be default external network configured in this job.