Traceback (most recent call last):
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest/scenario/test_volume_boot_pattern.py", line 117, in test_volume_boot_pattern ip_instance_1st = self.get_server_or_ip(instance_1st)
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest/scenario/manager.py", line 657, in get_server_or_ip
ip = self.create_floating_ip(server)['ip']
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest/scenario/manager.py", line 625, in create_floating_ip floating_ip['ip'], thing['id'])
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest_lib/services/compute/floating_ips_client.py", line 75, in associate_floating_ip_to_server
resp, body = self.post(url, post_body)
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 259, in post
return self.request('POST', url, extra_headers, headers, body)
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 640, in request
resp, resp_body)
File "/home/ubuntu/virtualenv/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 698, in _error_checker
raise exceptions.BadRequest(resp_body, resp=resp)
BadRequest: Bad request
Details: {u'message': u'No nw_info cache associated with instance', u'code': 400}
While testing our current Kilo cloud, we're seeing a lot of occasions of this in the following tempest tests:
tempest. api.compute. floating_ ips.test_ floating_ ips_actions_ negative. FloatingIPsNega tiveTestJSON. test_associate_ nonexistent_ floating_ ip[id-595fa616- 1a71-4670- 9614-46564ac49a 4c,negative, network]
tempest. api.compute. floating_ ips.test_ floating_ ips_actions. FloatingIPsTest JSON.test_ associate_ already_ associated_ floating_ ip[id-6edef4b2- aaf1-4abc- bbe3-993e2561e0 fe,network]
tempest. api.compute. floating_ ips.test_ floating_ ips_actions. FloatingIPsTest JSON.test_ associate_ disassociate_ floating_ ip[id-307efa27- dc6f-48a0- 8cd2-162ce3ef0b 52,network]
tempest. api.compute. servers. test_server_ rescue. ServerRescueTes tJSON.test_ rescued_ vm_associate_ dissociate_ floating_ ip[id-4842e0cf- e87d-4d9d- b61f-f4791da3ca cc]
tempest. scenario. test_shelve_ instance. TestShelveInsta nce.test_ shelve_ instance[ compute, id-1164e700- 0af0-4a4c- 8792-35909a8874 3c,image, network] scenario. test_shelve_ instance. TestShelveInsta nce.test_ shelve_ volume_ backed_ instance[ compute, id-c1b6318c- b9da-490b- 9c67-9339b62727 1f,image, network, volume]
tempest.
tempest. scenario. test_minimum_ basic.TestMinim umBasicScenario .test_minimum_ basic_scenario[ compute, id-bdbb5441- 9204-419d- a225-b4fdbfb1a1 a8,image, network, volume]
tempest. scenario. test_snapshot_ pattern. TestSnapshotPat tern.test_ snapshot_ pattern[ compute, id-608e604b- 1d63-4a82- 8e3e-91bc665c90 b4,image, network]
tempest. scenario. test_volume_ boot_pattern. TestVolumeBootP attern. test_volume_ boot_pattern[ compute, id-557cd2c2- 4eb8-4dce- 98be-f86765ff31 1b,image, smoke,volume]
tempest. scenario. test_volume_ boot_pattern. TestVolumeBootP atternV2. test_volume_ boot_pattern[ compute, id-557cd2c2- 4eb8-4dce- 98be-f86765ff31 1b,image, smoke,volume]
The error messages are always very similar:
Traceback (most recent call last): ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest/ test.py" , line 113, in wrapper ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest/ scenario/ test_volume_ boot_pattern. py", line 117, in test_volume_ boot_pattern
ip_instance_ 1st = self.get_ server_ or_ip(instance_ 1st) ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest/ scenario/ manager. py", line 657, in get_server_or_ip floating_ ip(server) ['ip'] ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest/ scenario/ manager. py", line 625, in create_floating_ip
floating_ ip['ip' ], thing['id']) ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest_ lib/services/ compute/ floating_ ips_client. py", line 75, in associate_ floating_ ip_to_server ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 259, in post 'POST', url, extra_headers, headers, body) ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 640, in request ubuntu/ virtualenv/ local/lib/ python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 698, in _error_checker BadRequest( resp_body, resp=resp)
File "/home/
return f(self, *func_args, **func_kwargs)
File "/home/
File "/home/
ip = self.create_
File "/home/
File "/home/
resp, body = self.post(url, post_body)
File "/home/
return self.request(
File "/home/
resp, resp_body)
File "/home/
raise exceptions.
BadRequest: Bad request
Details: {u'message': u'No nw_info cache associated with instance', u'code': 400}