Bug 1777905 - [RFE] Tag neutron resources at creation time [NEEDINFO]
Summary: [RFE] Tag neutron resources at creation time
Keywords:
Status: POST
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-28 16:09 UTC by Luis Tomas Bolivar
Modified: 2023-07-21 22:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
gurpsing: needinfo? (ltomasbo)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1815933 0 None None None 2020-12-02 12:12:10 UTC
Red Hat Issue Tracker OSP-4274 0 None None None 2021-11-18 15:24:02 UTC

Description Luis Tomas Bolivar 2019-11-28 16:09:18 UTC
Kuryr is used on the OpenShift on OpenStack use case to make OpenShift use the Neutron SDN. Therefore, kuryr is creating Neutron (ports, subnets, networks, and security groups) and Octavia resources (loadbalancers, listeners, pools and members) for the OpenShift cluster.

When running OpenShift on OpenStack, different OpenShift clusters can be created by the same OpenStack tenant. The way to differentiate if a resource created by Kuryr belongs to one cluster or the other is by using tags. Resources created for 'cluster-1' as tagged with 'cluster-1' while resources generated for cluster-X are tagged with 'cluster=-X'. 

However, Neutron does not support to directly create the resources with tags, but need to do a follow up call to add the tagging. This is problematic as if there is any error in between both actions, the OpenStack resource will be created but not tagged, and it is not easy to know to what cluster it belongs to (or if it belongs to any). 

Octavia already implements this support and resources (load balancers) can be created with tags on POST requests: https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=create-a-load-balancer-detail#create-a-load-balancer.


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