If an Instance is stuck in BUILD, it cannot be deleted

Bug #1104578 reported by Vipul Sabhaya
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Denis M.

Bug Description

Instances that are stuck in BUILD (possibly because GuestAgent failed to start) will never transition to a new state. All operations on this instance are Blocked, including Delete.

Revision history for this message
Joe Cruz (jcruz7) wrote :

I linked this bug to my current blueprint on creating a reset-task-status mgmt call:
https://blueprints.launchpad.net/reddwarf/+spec/reset-task-status-mgmt-api

Revision history for this message
Kevin Conway (kevinconway) wrote :

Is this complete now that there is a reset-task-status call?

Revision history for this message
Vipul Sabhaya (vipuls) wrote :

I think the reset-task-status call doesn't quite do what it's supposed to, at least that's been my experience. So it's still still an issue.

Revision history for this message
Vipul Sabhaya (vipuls) wrote :

I would like to fix this to allow instances in BUILD State to be deleted by the user, instead of having to have Admin Reset state. We need to ensure that during the delete process, we go through and clean up all dependent resources (nova, dns, etc.)

Changed in trove:
importance: Undecided → High
Revision history for this message
Dan Nguyen (daniel-a-nguyen) wrote :

I think we've discussed this before. There was a notion of adding a force delete functionality.
Probably involves an api change/mod.

Haomai Wang (haomai)
Changed in trove:
assignee: nobody → Haomai Wang (haomai)
Revision history for this message
Denis M. (dmakogon) wrote :
Revision history for this message
Erik Redding (erik-redding) wrote :

Just a heads up - You won't be able to delete an instance if there's not a DNS entry and DNS support is turned on.

The big issue here is I made a PR to address the fact that even if you reset task_id and service_status = 1, you can't remove it.

https://review.openstack.org/#/c/48188/

In order to get this addressed, we have to reorder things in TM. I actually see these delete failures and have to handle them.

Changed in trove:
status: New → Triaged
Denis M. (dmakogon)
Changed in trove:
status: Triaged → Fix Committed
assignee: Haomai Wang (haomai) → Denis M. (dmakogon)
Thierry Carrez (ttx)
Changed in trove:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: icehouse-1 → 2014.1
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.