Add a note in "nova service-delete" help about deleting computes
This mirrors the note in the API reference from change I68f2074814c3ae890888a5c75fd2870bb99f0e08 to the service-delete CLI help and docs. Change-Id: I191f6e6a4b7c6c456afbd33b0256842b043c772e Related-Bug: #1646255
This commit is contained in:
parent
b13ba0138f
commit
4ceba48697
|
@ -3285,6 +3285,12 @@ nova service-delete
|
|||
|
||||
Delete the service.
|
||||
|
||||
.. important:: If deleting a nova-compute service, be sure to stop the actual
|
||||
``nova-compute`` process on the physical host *before* deleting the
|
||||
service with this command. Failing to do so can lead to the running
|
||||
service re-creating orphaned **compute_nodes** table records in the
|
||||
database.
|
||||
|
||||
**Positional arguments:**
|
||||
|
||||
``<id>``
|
||||
|
|
|
@ -3688,7 +3688,13 @@ def do_service_force_down(cs, args):
|
|||
help=_('ID of service as an integer. Note that this may not '
|
||||
'uniquely identify a service in a multi-cell deployment.'))
|
||||
def do_service_delete(cs, args):
|
||||
"""Delete the service by integer ID."""
|
||||
"""Delete the service by integer ID.
|
||||
|
||||
If deleting a nova-compute service, be sure to stop the actual
|
||||
nova-compute process on the physical host before deleting the
|
||||
service with this command. Failing to do so can lead to the running
|
||||
service re-creating orphaned compute_nodes table records in the database.
|
||||
"""
|
||||
cs.services.delete(args.id)
|
||||
|
||||
|
||||
|
@ -3696,7 +3702,13 @@ def do_service_delete(cs, args):
|
|||
@api_versions.wraps('2.53')
|
||||
@utils.arg('id', metavar='<id>', help=_('ID of service as a UUID.'))
|
||||
def do_service_delete(cs, args):
|
||||
"""Delete the service by UUID ID."""
|
||||
"""Delete the service by UUID ID.
|
||||
|
||||
If deleting a nova-compute service, be sure to stop the actual
|
||||
nova-compute process on the physical host before deleting the
|
||||
service with this command. Failing to do so can lead to the running
|
||||
service re-creating orphaned compute_nodes table records in the database.
|
||||
"""
|
||||
cs.services.delete(args.id)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue