Public bug reported:
After deleted shelve offloaded instance, the port attached to instance
isn't deleted.
Reproduce as below:
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova shelve vm1
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova shelve-offload vm1
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova list
+--------------------------------------+------+-------------------+------------+-------------+--------------------+
| ID | Name | Status | Task State
| Power State | Networks |
+--------------------------------------+------+-------------------+------------+-------------+--------------------+
| 8adb3755-b874-4ae9-a361-4924e4ed0ebc | vm1 | SHELVED_OFFLOADED | -
| Shutdown | public=172.24.4.15 |
+--------------------------------------+------+-------------------+------------+-------------+--------------------+
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova delete vm1
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ neutron port-list
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips
|
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| 1e6bed8d-aece-4d3e-abcc-3ad7957d6d72 | | fa:16:3e:9e:dc:83 |
{"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address":
"172.24.4.12"} |
| 5f522a9a-2856-4a95-8bd8-c354c00abf0f | | fa:16:3e:01:47:43 |
{"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.1"}
|
| 6226f6d3-3814-469c-bf50-8c99dfec481e | | fa:16:3e:46:0e:35 |
{"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.2"}
|
| c10390a9-6f84-44f5-8a17-91cb330a9e12 | | fa:16:3e:41:7c:34 |
{"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address":
"172.24.4.15"} |
| c814425c-be1a-4c06-a54b-1788c7c6fb31 | | fa:16:3e:f5:fc:d3 |
{"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address":
"172.24.4.2"} |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
** Affects: nova
Importance: Undecided
Assignee: Alex Xu (xuhj)
Status: New
** Changed in: nova
Assignee: (unassigned) => Alex Xu (xuhj)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1298381
Title:
delete shelve offloaded instance should delete attached port
Status in OpenStack Compute (Nova):
New
Bug description:
After deleted shelve offloaded instance, the port attached to
instance isn't deleted.
Reproduce as below:
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova shelve vm1
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova shelve-offload vm1
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova list
+--------------------------------------+------+-------------------+------------+-------------+--------------------+
| ID | Name | Status | Task
State | Power State | Networks |
+--------------------------------------+------+-------------------+------------+-------------+--------------------+
| 8adb3755-b874-4ae9-a361-4924e4ed0ebc | vm1 | SHELVED_OFFLOADED | -
| Shutdown | public=172.24.4.15 |
+--------------------------------------+------+-------------------+------------+-------------+--------------------+
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova delete vm1
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ neutron port-list
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips
|
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
| 1e6bed8d-aece-4d3e-abcc-3ad7957d6d72 | | fa:16:3e:9e:dc:83 |
{"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address":
"172.24.4.12"} |
| 5f522a9a-2856-4a95-8bd8-c354c00abf0f | | fa:16:3e:01:47:43 |
{"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.1"}
|
| 6226f6d3-3814-469c-bf50-8c99dfec481e | | fa:16:3e:46:0e:35 |
{"subnet_id": "94575a05-796f-4ff5-b892-3c3b8231b303", "ip_address": "10.0.0.2"}
|
| c10390a9-6f84-44f5-8a17-91cb330a9e12 | | fa:16:3e:41:7c:34 |
{"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address":
"172.24.4.15"} |
| c814425c-be1a-4c06-a54b-1788c7c6fb31 | | fa:16:3e:f5:fc:d3 |
{"subnet_id": "e5dbc790-c26f-45b7-b2c7-574f12ad8b41", "ip_address":
"172.24.4.2"} |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------------+
soulxu1304@soulxu1304-ThinkPad-T410:/opt/stack/nova$ nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1298381/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp