osc compute service delete
Deletes a service. If it’s a nova-compute
service, then the corresponding host will be removed from all the host aggregates as well.
Attempts to delete a nova-compute
service which is still hosting instances will result in a 409 HTTPConflict response. The instances will need to be migrated or deleted before a compute service can be deleted.
Similarly, attempts to delete a nova-compute
service which is involved in in-progress migrations will result in a 409 HTTPConflict response. The migrations will need to be completed, for example confirming or reverting a resize, or the instances will need to be deleted before the compute service can be deleted.
Normal response codes: 204
Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)
Usage: osc compute service delete <ID>
Arguments:
<ID>
— id parameter for /v2.1/os-services/{id} API