openstackclient should't return project-id when executing 'network flavor profile create

Bug #2046496 reported by Miguel Lavalle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Miguel Lavalle

Bug Description

Neutron's service profile doesn't have a project-id attribute:

https://github.com/openstack/neutron/blob/dcccd7cabe9fa959c88b477e55ad47b815d52518/neutron/db/models/flavor.py#L28

https://docs.openstack.org/api-ref/network/v2/index.html#create-service-profile

Yet the client returns it as None:

$ openstack network flavor profile create --description "User-defined router flavor profile" --enable --driver neutron.services.ovn_l3.service_providers.user_defined.UserDefined
+-------------+--------------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------------+
| description | User-defined router flavor profile |
| driver | neutron.services.ovn_l3.service_providers.user_defined.UserDefined |
| enabled | True |
| id | d30de4b9-3fb4-41c4-9b7a-ff148188b6ed |
| meta_info | |
| project_id | None |
+-------------+--------------------------------------------------------------------+

$ openstack network flavor profile show d30de4b9-3fb4-41c4-9b7a-ff148188b6ed
+-------------+--------------------------------------------------------------------+
| Field | Value |
+-------------+--------------------------------------------------------------------+
| description | User-defined router flavor profile |
| driver | neutron.services.ovn_l3.service_providers.user_defined.UserDefined |
| enabled | True |
| id | d30de4b9-3fb4-41c4-9b7a-ff148188b6ed |
| meta_info | |
| project_id | None |
+-------------+--------------------------------------------------------------------+

Miguel Lavalle (minsel)
Changed in python-openstackclient:
assignee: nobody → Miguel Lavalle (minsel)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.