terminated instance that won't disappear

Bug #869310 reported by Chris Jones
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
High
Unassigned

Bug Description

I have a nova deployment which is generally functioning normally, however there is an instance which shows as terminated even after several days. The instance itself is gone from the machine it was running on, and "nova list" on that machine doesn't seem to show any relevant instances.

Tags: canonistack
Revision history for this message
Brian Waldon (bcwaldon) wrote :

Can you explain what you mean by 'shows as terminated'? What method are you using to reproduce this behavior?

Revision history for this message
Chris Jones (cmsj) wrote :

euca-describe-instances shows it as terminated and has done for about 6 days

Revision history for this message
Gavin B (gavin-brebner-orange) wrote :

I find that instances stuck as "terminated" typically come from a communication break-down to the host server e.g. if the nova-compute service is not running the terminated instance will stay as terminated until the node come back online.

Could that be the case here ?

Thierry Carrez (ttx)
Changed in nova:
status: New → Incomplete
Revision history for this message
Andrew Glen-Young (aglenyoung) wrote :

@Thierry

The nova-compute service is currently running and the instance is marked as 'terminated'. There are other instances on this compute node which I can create, destroy, etc. but this instance is stuck.

If I try to terminate the instance again, nova-api returns the following warning:
2011-10-21 13:09:05,286 WARNING nova.compute.api [-] Instance 1145 is not in an 'active' state. It is currently deleted. Shutdown aborted.

The instance's disk image no longer exists on the compute node's filesystem.

Revision history for this message
Thierry Carrez (ttx) wrote :

Right, I guess there should be cleanups to prevent data inconsistency over the long run.

Changed in nova:
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like zombie undead instances also count against your quota, as stated in duplicate bug 862475

Changed in nova:
importance: Medium → High
Revision history for this message
Vish Ishaya (vishvananda) wrote :

can you verify that this still happens against current trunk? I believe zombie instances can be terminated now.

James Troup (elmo)
tags: added: canonistack
Thierry Carrez (ttx)
Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
Thierry Carrez (ttx) wrote :

Any chance you could confirm the fix ?

Revision history for this message
Andrew Glen-Young (aglenyoung) wrote :

@Thierry: I believe that this issue is resolved/fixed.

Revision history for this message
Thierry Carrez (ttx) wrote :

OK will mark it invalid since I can't point to the commitID that would have fixed it. Thanks!

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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