Comment 53 for bug 1249065

Revision history for this message
Martin Gerhard Loschwitz (martin-loschwitz) wrote :

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.FloatingIPsNegativeTestJSON.test_associate_nonexistent_floating_ip[id-595fa616-1a71-4670-9614-46564ac49a4c,negative,network]

tempest.api.compute.floating_ips.test_floating_ips_actions.FloatingIPsTestJSON.test_associate_already_associated_floating_ip[id-6edef4b2-aaf1-4abc-bbe3-993e2561e0fe,network]

tempest.api.compute.floating_ips.test_floating_ips_actions.FloatingIPsTestJSON.test_associate_disassociate_floating_ip[id-307efa27-dc6f-48a0-8cd2-162ce3ef0b52,network]

tempest.api.compute.servers.test_server_rescue.ServerRescueTestJSON.test_rescued_vm_associate_dissociate_floating_ip[id-4842e0cf-e87d-4d9d-b61f-f4791da3cacc]

tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_instance[compute,id-1164e700-0af0-4a4c-8792-35909a88743c,image,network]
tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance[compute,id-c1b6318c-b9da-490b-9c67-9339b627271f,image,network,volume]

tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario[compute,id-bdbb5441-9204-419d-a225-b4fdbfb1a1a8,image,network,volume]

tempest.scenario.test_snapshot_pattern.TestSnapshotPattern.test_snapshot_pattern[compute,id-608e604b-1d63-4a82-8e3e-91bc665c90b4,image,network]

tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern[compute,id-557cd2c2-4eb8-4dce-98be-f86765ff311b,image,smoke,volume]

tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern[compute,id-557cd2c2-4eb8-4dce-98be-f86765ff311b,image,smoke,volume]

The error messages are always very similar:

    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}