negative "rescue" tempest tests fail, cannot pause/rescue while instance is in vm_state building

Bug #1290642 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Expired
Undecided
Unassigned

Bug Description

A tempest run failed several tests with errors like "Cannot 'pause' while instance is in vm_state building". The other things tempest was trying to do is 'rescue' and 'attach_volume', and they all failed with the same error.

Also, the error reported was "Conflict: An object with that identifier already exists" -- but there wasn't a conflict because an object with that identifier exists... it's a conflict with the state.

Here's the tests that failed, in tempest.api.compute.servers.test_server_rescue_negative :

.ServerRescueNegativeTestXML.test_rescue_paused_instance[gate,negative]
.ServerRescueNegativeTestXML.test_rescued_vm_attach_volume[gate,negative]
.ServerRescueNegativeTestXML.test_rescued_vm_detach_volume[gate,negative]

n-cpu:

2014-03-10 22:43:00.681 21160 INFO nova.virt.libvirt.driver [-] [instance: f2b64699-afc5-43f1-b3ef-868a92c08fd1] Instance spawned successfully.
2014-03-10 22:43:00.684 DEBUG nova.compute.manager [req-f546c7d0-c320-4519-b37a-68dcd3a87783 ServerRescueNegativeTestXML-500126247 ServerRescueNegativeTestXML-1828544031] [instance: f2b64699-afc5-43f1-b3ef-868a92c08fd1] Checking state _get_power_state /opt/stack/new/nova/nova/compute/manager.py:986

n-api:

2014-03-10 22:43:01.193 INFO nova.api.openstack.wsgi [req-9f3d2f24-44af-4e0c-8e44-3289944c19d3 ServerRescueNegativeTestXML-500126247 ServerRescueNegativeTestXML-1828544031] HTTP exception thrown: Cannot 'pause' while instance is in vm_state building

Looks like the request doesn't get from api to cpu, since api thinks it's not ready.

Tags: testing
Tracy Jones (tjones-i)
tags: added: testing
Revision history for this message
Rossella Sblendido (rossella-o) wrote :
Revision history for this message
Joe Gordon (jogo) wrote :

Sounds like a tempest bug not a nova bug.

no longer affects: nova
Revision history for this message
Masayuki Igawa (igawa) wrote :
Changed in tempest:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tempest because there has been no activity for 60 days.]

Changed in tempest:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.