Validate the service state before deleting it

Registered by Eli Qiao

currently, when performing a delete operation on a service, nova will not check the state if a service is running or not , it destroy the service directly, which will be much dangerous for the admin to do this.
it 's better to have this checking before we perform deleting a service.

Blueprint information

Status:
Started
Approver:
Christopher Yeoh
Priority:
Undefined
Drafter:
Eli Qiao
Direction:
Needs approval
Assignee:
Eli Qiao
Definition:
Review
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Eli Qiao

Related branches

Sprints

Whiteboard

we got a bug report https://bugs.launchpad.net/nova/+bug/1386535
user want to have this change.

Gerrit topic: https://review.openstack.org/#q,topic:bp/judge-service-state-when-deleting,n,z

Addressed by: https://review.openstack.org/131633
    Judge the service state when perform a deleting on it

Addressed by: https://review.openstack.org/163274
    Judge the service state when perform a deleting on it

Gerrit topic: https://review.openstack.org/#q,topic:bp/validate-service-state-before-deleting,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.