2019-11-14 16:36:33 |
Matt Riedemann |
bug |
|
|
added bug |
2019-11-14 16:39:51 |
Matt Riedemann |
nova: status |
New |
Triaged |
|
2019-11-14 16:39:54 |
Matt Riedemann |
nova: importance |
Undecided |
Medium |
|
2019-11-14 18:43:11 |
Matt Riedemann |
nova: assignee |
|
Matt Riedemann (mriedem) |
|
2019-11-14 18:43:27 |
Matt Riedemann |
nominated for series |
|
nova/rocky |
|
2019-11-14 18:43:27 |
Matt Riedemann |
bug task added |
|
nova/rocky |
|
2019-11-14 18:43:27 |
Matt Riedemann |
nominated for series |
|
nova/train |
|
2019-11-14 18:43:27 |
Matt Riedemann |
bug task added |
|
nova/train |
|
2019-11-14 18:43:27 |
Matt Riedemann |
nominated for series |
|
nova/stein |
|
2019-11-14 18:43:27 |
Matt Riedemann |
bug task added |
|
nova/stein |
|
2019-11-14 19:24:38 |
OpenStack Infra |
nova: status |
Triaged |
In Progress |
|
2019-11-15 14:18:49 |
OpenStack Infra |
nova/train: status |
New |
In Progress |
|
2019-11-15 14:18:49 |
OpenStack Infra |
nova/train: assignee |
|
Matt Riedemann (mriedem) |
|
2019-11-16 08:28:46 |
OpenStack Infra |
nova: status |
In Progress |
Fix Released |
|
2019-11-22 14:10:35 |
OpenStack Infra |
tags |
api placement resize |
api in-stable-train placement resize |
|
2019-11-22 17:02:10 |
OpenStack Infra |
nova/train: status |
In Progress |
Fix Committed |
|
2019-11-25 16:14:32 |
OpenStack Infra |
nova/stein: status |
New |
In Progress |
|
2019-11-25 16:14:32 |
OpenStack Infra |
nova/stein: assignee |
|
Matt Riedemann (mriedem) |
|
2019-12-09 22:21:33 |
OpenStack Infra |
tags |
api in-stable-train placement resize |
api in-stable-stein in-stable-train placement resize |
|
2019-12-09 23:12:07 |
OpenStack Infra |
nova/stein: status |
In Progress |
Fix Committed |
|
2019-12-09 23:35:47 |
OpenStack Infra |
nova/rocky: status |
New |
In Progress |
|
2019-12-09 23:35:47 |
OpenStack Infra |
nova/rocky: assignee |
|
Matt Riedemann (mriedem) |
|
2019-12-18 14:56:50 |
Matt Riedemann |
nominated for series |
|
nova/queens |
|
2019-12-18 14:56:50 |
Matt Riedemann |
bug task added |
|
nova/queens |
|
2019-12-18 14:56:57 |
Matt Riedemann |
nova/queens: status |
New |
Confirmed |
|
2019-12-18 14:57:02 |
Matt Riedemann |
nova/stein: importance |
Undecided |
Medium |
|
2019-12-18 14:57:05 |
Matt Riedemann |
nova/train: importance |
Undecided |
Medium |
|
2019-12-18 14:57:09 |
Matt Riedemann |
nova/rocky: importance |
Undecided |
Medium |
|
2019-12-18 14:57:13 |
Matt Riedemann |
nova/queens: importance |
Undecided |
Low |
|
2019-12-18 16:01:00 |
OpenStack Infra |
nova/queens: status |
Confirmed |
In Progress |
|
2019-12-18 16:01:00 |
OpenStack Infra |
nova/queens: assignee |
|
Matt Riedemann (mriedem) |
|
2020-01-09 15:57:16 |
OpenStack Infra |
tags |
api in-stable-stein in-stable-train placement resize |
api in-stable-rocky in-stable-stein in-stable-train placement resize |
|
2020-01-16 19:57:05 |
OpenStack Infra |
nova/rocky: status |
In Progress |
Fix Committed |
|
2020-02-06 17:12:46 |
OpenStack Infra |
tags |
api in-stable-rocky in-stable-stein in-stable-train placement resize |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train placement resize |
|
2020-02-12 16:21:24 |
OpenStack Infra |
nova/queens: assignee |
Matt Riedemann (mriedem) |
Lee Yarwood (lyarwood) |
|
2020-02-14 17:45:13 |
OpenStack Infra |
nova/queens: status |
In Progress |
Fix Committed |
|
2022-05-19 01:58:07 |
Brett Milford |
bug |
|
|
added subscriber Brett Milford |
2022-06-23 07:44:46 |
Brett Milford |
summary |
API allows source compute service/node deletion while instances are pending a resize confirm/revert |
[SRU] API allows source compute service/node deletion while instances are pending a resize confirm/revert |
|
2022-06-23 07:45:19 |
Brett Milford |
bug task added |
|
nova (Ubuntu) |
|
2022-06-23 07:46:05 |
Brett Milford |
nominated for series |
|
Ubuntu Bionic |
|
2022-06-23 07:46:05 |
Brett Milford |
bug task added |
|
nova (Ubuntu Bionic) |
|
2022-06-23 07:46:24 |
Brett Milford |
nova (Ubuntu Bionic): status |
New |
In Progress |
|
2022-06-23 07:46:28 |
Brett Milford |
nova (Ubuntu Bionic): assignee |
|
Brett Milford (brettmilford) |
|
2022-06-23 07:47:55 |
Brett Milford |
bug task added |
|
cloud-archive |
|
2022-06-23 07:49:38 |
Brett Milford |
nominated for series |
|
cloud-archive/queens |
|
2022-06-23 07:49:38 |
Brett Milford |
bug task added |
|
cloud-archive/queens |
|
2022-06-23 07:49:46 |
Brett Milford |
cloud-archive/queens: status |
New |
In Progress |
|
2022-06-23 07:49:50 |
Brett Milford |
cloud-archive/queens: assignee |
|
Brett Milford (brettmilford) |
|
2022-06-23 07:51:07 |
Brett Milford |
description |
This is split off from bug 1829479 which is about deleting a compute service which had servers evacuated from it which will orphan resource providers in placement.
A similar scenario is true where the API will allow deleting a source compute service which has migration-based allocations for the source node resource provider and pending instance resizes involving the source node. A simple scenario is:
1. create a server on host1
2. resize or cold migrate it to a dest host2
3. delete the compute service for host1
At this point the resource provider for host1 is orphaned.
4. try to confirm/revert the resize of the server which will fail because the compute node for host1 is gone and this results in the server going to ERROR status
Based on the discussion in this mailing list thread:
http://lists.openstack.org/pipermail/openstack-discuss/2019-November/010843.html
We should probably have the DELETE /os-services/{service_id} API block trying to delete a service that has pending migrations. |
[Impact]
* API will allow deleting a source compute service which has migration-based allocations for the source node resource provider and pending instance resizes involving the source node.
* Backporting the fix will improve application resilience in this case.
[Test Case]
1. create a server on host1
2. resize or cold migrate it to a dest host2
3. delete the compute service for host1
At this point the resource provider for host1 is orphaned.
4. try to confirm/revert the resize of the server which will fail because the compute node for host1 is gone and this results in the server going to ERROR status
[Where problems could occur]
* This change introduces an exception condition in the API and prevents the erroneous deletion of compute services which would result in orphaned state.
* As such we should expect to see altered behavior from the API as detailed in api-ref/source/os-services.inc
* If problems were to occur they would manifest in behavior that is different from both the original behavior of the API and the new behavior.
--- Original Description ---
This is split off from bug 1829479 which is about deleting a compute service which had servers evacuated from it which will orphan resource providers in placement.
A similar scenario is true where the API will allow deleting a source compute service which has migration-based allocations for the source node resource provider and pending instance resizes involving the source node. A simple scenario is:
1. create a server on host1
2. resize or cold migrate it to a dest host2
3. delete the compute service for host1
At this point the resource provider for host1 is orphaned.
4. try to confirm/revert the resize of the server which will fail because the compute node for host1 is gone and this results in the server going to ERROR status
Based on the discussion in this mailing list thread:
http://lists.openstack.org/pipermail/openstack-discuss/2019-November/010843.html
We should probably have the DELETE /os-services/{service_id} API block trying to delete a service that has pending migrations. |
|
2022-06-23 07:51:37 |
Brett Milford |
attachment added |
|
lp1852610-bionic.debdiff https://bugs.launchpad.net/cloud-archive/+bug/1852610/+attachment/5599045/+files/lp1852610-bionic.debdiff |
|
2022-06-23 07:51:55 |
Brett Milford |
attachment added |
|
lp1852610-nova-queens.debdiff https://bugs.launchpad.net/cloud-archive/+bug/1852610/+attachment/5599046/+files/lp1852610-nova-queens.debdiff |
|
2022-06-23 08:00:08 |
Brett Milford |
tags |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train placement resize |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train placement resize sru-needed sts |
|
2022-06-23 08:26:48 |
Ubuntu Foundations Team Bug Bot |
tags |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train placement resize sru-needed sts |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train patch placement resize sru-needed sts |
|
2022-06-23 08:26:56 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2022-07-18 13:41:35 |
Edward Hope-Morley |
cloud-archive: status |
New |
Fix Committed |
|
2022-07-18 13:41:41 |
Edward Hope-Morley |
cloud-archive: status |
Fix Committed |
Fix Released |
|
2022-07-18 13:45:13 |
Corey Bryant |
nova (Ubuntu): status |
New |
Invalid |
|
2022-07-18 13:45:18 |
Corey Bryant |
cloud-archive: status |
Fix Released |
Invalid |
|
2022-07-18 14:48:08 |
Corey Bryant |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-08-01 14:30:30 |
Corey Bryant |
cloud-archive/queens: status |
In Progress |
Triaged |
|
2022-08-01 14:30:36 |
Corey Bryant |
cloud-archive/queens: status |
Triaged |
In Progress |
|
2022-08-03 11:25:30 |
Robie Basak |
nova (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2022-08-03 11:25:34 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2022-08-03 11:25:38 |
Robie Basak |
tags |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train patch placement resize sru-needed sts |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train patch placement resize sru-needed sts verification-needed verification-needed-bionic |
|
2022-08-03 11:27:20 |
Robie Basak |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2022-09-28 04:38:03 |
Brett Milford |
tags |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train patch placement resize sru-needed sts verification-needed verification-needed-bionic |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train patch placement resize sru-needed sts verification-done-bionic verification-needed |
|
2022-09-30 09:06:06 |
Edward Hope-Morley |
cloud-archive/queens: status |
In Progress |
New |
|
2022-09-30 09:06:09 |
Edward Hope-Morley |
cloud-archive/queens: assignee |
Brett Milford (brettmilford) |
|
|
2022-10-03 13:39:09 |
Corey Bryant |
cloud-archive/queens: status |
New |
Won't Fix |
|
2022-10-05 03:50:10 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2022-10-05 04:00:20 |
Launchpad Janitor |
nova (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2022-10-25 12:35:30 |
Corey Bryant |
cloud-archive/queens: status |
Won't Fix |
Fix Committed |
|
2022-10-25 12:35:34 |
Corey Bryant |
tags |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train patch placement resize sru-needed sts verification-done-bionic verification-needed |
api in-stable-queens in-stable-rocky in-stable-stein in-stable-train patch placement resize sru-needed sts verification-done-bionic verification-needed verification-queens-needed |
|
2022-11-11 18:12:31 |
OpenStack Infra |
cloud-archive/queens: status |
Fix Committed |
Fix Released |
|
2022-11-21 16:17:55 |
Corey Bryant |
nova (Ubuntu Bionic): status |
Fix Released |
Invalid |
|
2022-11-21 16:18:00 |
Corey Bryant |
nova (Ubuntu Bionic): status |
Invalid |
Fix Released |
|
2022-11-21 16:18:07 |
Corey Bryant |
cloud-archive/queens: status |
Fix Released |
Won't Fix |
|