commit 1b7ba3a200ff3b7d7a26c38de9135f7439caa4eb
Author: Matt Riedemann <email address hidden>
Date: Thu Mar 15 16:05:46 2018 -0400
api-ref: add a note in DELETE /os-services about deleting computes
As seen in I2717274bb1bd370870acbf58c03dc59cee30cc5e, if an
operator deletes a nova-compute service via the API but fails
to stop the actual nova-compute process, the API will delete the
services table and compute_nodes table records, but the nova-compute
process will hit the 'update_available_resource' periodic task and
re-create the compute node record, which at that point is orphaned
since it does not have an associated nova-compute service.
Restarting the nova-compute service _should_ recreate the service
table record for that host and then the user could attempt to
delete the service and compute node record again via this API, but
it's better to not have to find this out the hard way.
So this change adds a simple reminder that the nova-compute process
on the host should be stopped before deleting the compute service.
While in here, the link to the install guide about the various
compute services is also fixed.
Change-Id: I68f2074814c3ae890888a5c75fd2870bb99f0e08
Related-Bug: #1646255
(cherry picked from commit e0c43ac7a7b9edbd3eb4921d87f476a33364549b)
Reviewed: https:/ /review. openstack. org/563233 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1b7ba3a200f f3b7d7a26c38de9 135f7439caa4eb
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 1b7ba3a200ff3b7 d7a26c38de9135f 7439caa4eb
Author: Matt Riedemann <email address hidden>
Date: Thu Mar 15 16:05:46 2018 -0400
api-ref: add a note in DELETE /os-services about deleting computes
As seen in I2717274bb1bd37 0870acbf58c03dc 59cee30cc5e, if an available_ resource' periodic task and
operator deletes a nova-compute service via the API but fails
to stop the actual nova-compute process, the API will delete the
services table and compute_nodes table records, but the nova-compute
process will hit the 'update_
re-create the compute node record, which at that point is orphaned
since it does not have an associated nova-compute service.
Restarting the nova-compute service _should_ recreate the service
table record for that host and then the user could attempt to
delete the service and compute node record again via this API, but
it's better to not have to find this out the hard way.
So this change adds a simple reminder that the nova-compute process
on the host should be stopped before deleting the compute service.
While in here, the link to the install guide about the various
compute services is also fixed.
Change-Id: I68f2074814c3ae 890888a5c75fd28 70bb99f0e08 d3eb4921d87f476 a33364549b)
Related-Bug: #1646255
(cherry picked from commit e0c43ac7a7b9edb