On test_create_image_from_deleted_server, Tempest waits for the server creation with pooling nova-api with "Get a server" API.
The API returned an error response like
http://logs.openstack.org/59/426459/4/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/0222b58/logs/tempest.txt.gz#_2017-02-09_18_16_37_270
Body: {"server": {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "https://198.72.124.211:8774/v2.1/servers/bd439544-a42f-4802-a457-a5fdf5d97e1b", "rel": "self"}, {"href": "https://198.72.124.211:8774/servers/bd439544-a42f-4802-a457-a5fdf5d97e1b", "rel": "bookmark"}], "image": {"id": "2dc6d0fb-6371-478e-a0fd-05c181fdeb15", "links": [{"href": "https://198.72.124.211:8774/images/2dc6d0fb-6371-478e-a0fd-05c181fdeb15", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "error", "OS-SRV-USG:launched_at": null, "flavor": {"id": "42", "links": [{"href": "https://198.72.124.211:8774/flavors/42", "rel": "bookmark"}]}, "id": "bd439544-a42f-4802-a457-a5fdf5d97e1b", "user_id": "ffc3b5a76f264f88b6fb8bea40597379", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "", "metadata": {}, "status": "ERROR", "updated": "2017-02-09T18:16:36Z", "hostId": "", "OS-SRV-USG:terminated_at": null, "key_name": null, "name": "tempest-ImagesNegativeTestJSON-server-483537554", "created": "2017-02-09T18:16:34Z", "tenant_id": "e3c9cc38bc4d458796351bd05ff199b6", "os-extended-volumes:volumes_attached": [], "fault": {"message": "Build of instance bd439544-a42f-4802-a457-a5fdf5d97e1b aborted: Failed to allocate the network(s), not rescheduling.", "code": 500, "created": "2017-02-09T18:16:36Z"}, "config_drive": ""}}
and the test failed. The "fault" parameter shows
{"message": "Build of instance bd439544-a42f-4802-a457-a5fdf5d97e1b aborted: Failed to allocate the network(s), not rescheduling.",
"code": 500,
"created": "2017-02-09T18:16:36Z"}
nova-compute.log
http:// logs.openstack. org/59/ 426459/ 4/check/ gate-tempest- dsvm-neutron- full-ubuntu- xenial/ 0222b58/ logs/screen- n-cpu.txt. gz#_2017- 02-09_18_ 16_35_568
2017-02-09 18:16:35.568 6692 ERROR nova.compute. manager [req-cdd345cf- 3f89-4403- 8c80-7160926b6f ac tempest- ImagesNegativeT estJSON- 88584756 tempest- ImagesNegativeT estJSON- 88584756] [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] Failed to allocate network(s) manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] Traceback (most recent call last): manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/opt/stack/ new/nova/ nova/compute/ manager. py", line 2069, in _build_resources manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] requested_networks, security_groups) manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/opt/stack/ new/nova/ nova/compute/ manager. py", line 1447, in _build_ networks_ for_instance manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] requested_networks, macs, security_groups, dhcp_options) manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/opt/stack/ new/nova/ nova/compute/ manager. py", line 1463, in _allocate_network manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] self._update_ resource_ tracker( context, instance) manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/opt/stack/ new/nova/ nova/compute/ manager. py", line 561, in _update_ resource_ tracker manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] rt.update_ usage(context, instance, instance.node) manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/usr/local/ lib/python2. 7/dist- packages/ oslo_concurrenc y/lockutils. py", line 271, in inner manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] return f(*args, **kwargs) manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/opt/stack/ new/nova/ nova/compute/ resource_ tracker. py", line 419, in update_usage manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] if self.disabled( nodename) : manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/opt/stack/ new/nova/ nova/compute/ resource_ tracker. py", line 432, in disabled manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] not self.driver. node_is_ available( nodename) ) manager [instance: bd439544- a42f-4802- a457-a5fdf5d97e 1b] File "/opt/stack/ new/nova/ nova/virt/ driver. py", line 1384, in node_is_available
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 6692 ERROR nova.compute.
2017-02-09 18:16:35.568 669...