Trunk and port are residual in VM deleting scenario when southbound plugin/agent failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Medium
|
Unassigned |
Bug Description
With following reproduce steps, trunk and port will be residual:
1. Operator create trunk , parent port and subport
2. Operator create VM with parent port
3. Port is bound succeed. Host and device information are updated.
4. Operator start to delete VM
5. Due to 3rd party plugin issue, port unbind failed. Host and device information are not updated. Trunk and port binding information are not updated. Port's status is normal and active.
Test result:
1. For nova, it will delete VM ignoring port update failed response code. So VM is deleted successfully.
2. For Neutron, operator's expected behavior is trunk and port will be deleted while the reality is operator fail to delete trunk as port is in bound status.
6315384D-
Failed to delete trunk with name or ID '8aae96b5-
Neutron server returns request_ids: ['req-3d0dbe95-
1 of 1 trunks failed to delete.
Alternative:
1. Port bound check is ignored when trunk is deleted just as port. When trunk delete is triggered, its trunk_port_
2. Adding a new API:DELETE /v2.0/trunks/
Changed in neutron: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: trunk |
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/808179
Review: https:/