diff --git a/api-ref/source/os-services.inc b/api-ref/source/os-services.inc index 9e9df545b670..298dc0750e3e 100644 --- a/api-ref/source/os-services.inc +++ b/api-ref/source/os-services.inc @@ -10,7 +10,7 @@ Lists all running Compute services in a region, enables or disables scheduling for a Compute service and deletes a Compute service. For an overview of Compute services, see `OpenStack -Compute `__. +Compute `__. List Compute Services ===================== @@ -315,9 +315,14 @@ Delete Compute Service .. rest_method:: DELETE /os-services/{service_id} -Deletes a Compute service. If it's a nova-compute service, then the +Deletes a service. If it's a ``nova-compute`` service, then the corresponding host will be removed from all the host aggregates as well. +.. important:: Be sure to stop the actual ``nova-compute`` process on the + physical host *before* deleting the service with this API. + Failing to do so can lead to the running service re-creating + orphaned **compute_nodes** table records in the database. + Normal response codes: 204 Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404)