Instance files left over in case nova-compute is halted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Derek Higgins | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Release from http://
If compute-node somehow halted - the instance running on it (may) remains in /var/lib/
I`ve seen and other behaviour(but probably due to network misconfig) when compute node actually terminate instance, but nova-api (euca-describe-
Try to describe reproducing - get working cloud (cactus release), start an instance, see when it goes, than can do this:
stop networking on compute(or just physically eject interfaces, both if any), on that node by terminal stop nova-compute, then destroy VM domain, on api node issue euca-terminate instance. Euca-describe will be "terminating" state untill not restore networking on compute and start nova-compute on it. Then instance looks ended, but its files remain.
You may do the same by just destroying virsh VM domain, when nova-compute stopped(and the euca-terminate issued) - no need to manipulate network.
All I want to say - that nova-compute has to somehow register or check which files it has put in /var/lib/
Actually somewhen you`ld need feature like auto clearing cache of images cause none of servers has endless memory, while at production farm very many different VMs can run on the same node during long period of time.
Thanks for your attention!
summary: |
- dead or hunged instance, sync nova-api & halted nova-compute + Instance files left over in case nova-compute is halted |
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Derek Higgins (higginsd) |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
milestone: | essex-1 → none |
Changed in nova: | |
milestone: | none → essex-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-2 → 2012.1 |
Also related to bug 809614