Bug 1777896 - [RFE] Force subport deletion
Summary: [RFE] Force subport deletion
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-28 15:57 UTC by Luis Tomas Bolivar
Modified: 2023-07-12 16:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-2368 0 None None None 2022-03-24 13:36:52 UTC

Description Luis Tomas Bolivar 2019-11-28 15:57:11 UTC
From the OpenShift on OpenStack with Kuryr use case point of view, it would be great to be able to force the deletion of a subport associated to a trunk. All the OpenShift pods are connected to the Neutron networks through subports, which are attached to the trunk whose parent port is used for the VM where the pod is running. Thus creating and removing subports is a really common action.

There is information about the subports in the trunk, however, there is no information on the subports about the trunk they belong too. This means Kuryr needs to:
1) retrieve information from neutron about the current trunks and their attached subports. And then filter the one where the port is attached to
2) detach it from the trunk,
3) and finally remove it.

It will be great to allow the deletion of subports attached to trunks without having to detach them from their trunk first, perhaps with extra flag: --detach or --force.


Note You need to log in before you can comment on or make changes to this bug.