yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #93727
[Bug 2057983] [NEW] The HA flag of user defined flavos routers is always set to true
Public bug reported:
Since [1] was merged, non HA user defined flavor routers cannot be
created.
100% reproducible following these steps:
1) Create a non high availability flavor profile:
$ 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 | 04f95202-a0ce-42ca-b76d-1b1678b0caf5 |
| meta_info | |
| project_id | None |
+-------------+--------------------------------------------------------------------+
2) Create a router flavor and associate to the profile:
$ openstack network flavor create --service-type L3_ROUTER_NAT --description "User-defined flavor for routers in the L3 OVN plugin" user-defined-router-flavor
+---------------------+------------------------------------------------------+
| Field | Value |
+---------------------+------------------------------------------------------+
| description | User-defined flavor for routers in the L3 OVN plugin |
| enabled | True |
| id | a350b61e-c5b5-42d1-a95d-73215065eb78 |
| name | user-defined-router-flavor |
| service_profile_ids | [] |
| service_type | L3_ROUTER_NAT |
+---------------------+------------------------------------------------------+
$ openstack network flavor add profile user-defined-router-flavor
04f95202-a0ce-42ca-b76d-1b1678b0caf5
3) Attempt to create a non-HA user defined flavor router:
$ openstack router create router-of-user-defined-flavor --external-gateway public --flavor-id a350b61e-c5b5-42d1-a95d-73215065eb78 -c ha
+-------+-------+
| Field | Value |
+-------+-------+
| ha | True |
+-------+-------+
The expected result is:
+-------+-------+
| Field | Value |
+-------+-------+
| ha | False |
+-------+-------+
[1] https://review.opendev.org/c/openstack/neutron/+/910889
** Affects: neutron
Importance: Medium
Assignee: Miguel Lavalle (minsel)
Status: Confirmed
** Changed in: neutron
Assignee: (unassigned) => Miguel Lavalle (minsel)
** Changed in: neutron
Status: New => Confirmed
** Changed in: neutron
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2057983
Title:
The HA flag of user defined flavos routers is always set to true
Status in neutron:
Confirmed
Bug description:
Since [1] was merged, non HA user defined flavor routers cannot be
created.
100% reproducible following these steps:
1) Create a non high availability flavor profile:
$ 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 | 04f95202-a0ce-42ca-b76d-1b1678b0caf5 |
| meta_info | |
| project_id | None |
+-------------+--------------------------------------------------------------------+
2) Create a router flavor and associate to the profile:
$ openstack network flavor create --service-type L3_ROUTER_NAT --description "User-defined flavor for routers in the L3 OVN plugin" user-defined-router-flavor
+---------------------+------------------------------------------------------+
| Field | Value |
+---------------------+------------------------------------------------------+
| description | User-defined flavor for routers in the L3 OVN plugin |
| enabled | True |
| id | a350b61e-c5b5-42d1-a95d-73215065eb78 |
| name | user-defined-router-flavor |
| service_profile_ids | [] |
| service_type | L3_ROUTER_NAT |
+---------------------+------------------------------------------------------+
$ openstack network flavor add profile user-defined-router-flavor
04f95202-a0ce-42ca-b76d-1b1678b0caf5
3) Attempt to create a non-HA user defined flavor router:
$ openstack router create router-of-user-defined-flavor --external-gateway public --flavor-id a350b61e-c5b5-42d1-a95d-73215065eb78 -c ha
+-------+-------+
| Field | Value |
+-------+-------+
| ha | True |
+-------+-------+
The expected result is:
+-------+-------+
| Field | Value |
+-------+-------+
| ha | False |
+-------+-------+
[1] https://review.opendev.org/c/openstack/neutron/+/910889
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2057983/+subscriptions
Follow ups