Matt Riedemann 92fed02610 Block deleting compute services with in-progress migrations
This builds on I0bd63b655ad3d3d39af8d15c781ce0a45efc8e3a
which made DELETE /os-services/{service_id} fail with a 409
response if the host has instances on it. This change checks
for in-progress migrations involving the nodes on the host,
either as the source or destination nodes, and returns a 409
error response if any are found.

Failling to do this can lead to orphaned resource providers
in placement and also failing to properly confirm or revert
a pending resize or cold migration.

A release note is included for the (justified) behavior
change in the API. A new microversion should not be required
for this since admins should not have to opt out of broken
behavior.

Change-Id: I70e06c607045a1c0842f13069e51fef438012a9c
Closes-Bug: #1852610
2019-11-14 14:29:58 -05:00
..
2019-07-05 13:24:18 +09:00
2019-08-12 08:52:38 -05:00
2019-07-22 19:17:28 +02:00
2019-08-30 10:04:56 +08:00
2016-11-11 14:01:51 -05:00
2017-03-31 06:19:01 +00:00
2019-07-22 19:17:28 +02:00
2019-04-16 18:26:13 +01:00
2017-03-29 01:37:56 +08:00
2019-07-22 19:17:28 +02:00
2017-11-28 11:07:36 +08:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2017-07-13 11:40:43 +08:00
2019-07-22 19:17:28 +02:00