Bug 1040996

Summary: [RFE][nova]: Compute instance clean up daemon process
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/compute-instance-cleanup-service
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_superseded
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:25:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:22:40 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/compute-instance-cleanup-service.

Description:

If the Compute server goes down while an instance is being created, the instance remains  in 'building' state. Even after the Compute server comes up again, the instance remains in the same state.
We need to add a daemon process in Compute, that checks the instance status, updates the status to 'error' (if it has been in 'building' status for long). This process should also check and release any resources allocated to the instance (if any).

Specification URL (additional information):

http://wiki.openstack.org/VMStateCleanupService