yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34583
[Bug 1384146] Re: Inconsistent enable_snat management
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => liberty-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1384146
Title:
Inconsistent enable_snat management
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
Neutron reset enable_snat on router-gateway-clear but not on router-
gateway-set which implies inconsistent behavior:
# pub1, pub2 are external networks and router1 is a router
(neutron) router-gateway-set router1 pub1 --disable-snat
Set gateway for router router
(neutron) router-show router1 -c external_gateway_info
+-----------------------+------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------+
| external_gateway_info | {"network_id": "1682e4f4-7dc4-4ed0-bd10-e526ab2f6f81", "enable_snat": false} |
+-----------------------+------------------------------------------------------------------------------+
(neutron) router-gateway-clear router
Removed gateway from router router
(neutron) router-gateway-set router pub2
Set gateway for router router
(neutron) router-show router1 -c external_gateway_info
+-----------------------+------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------+
| external_gateway_info | {"network_id": "a32bcb44-165a-4de8-a8db-35f6ff8f2712", "enable_snat": true} |
+-----------------------+------------------------------------------------------------------------------+
==> enable_snat == False lost during router-gateway-clear
(neutron) router-gateway-set router1 pub1 --disable-snat
Set gateway for router router
(neutron) router-show router1 -c external_gateway_info
+-----------------------+------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------+
| external_gateway_info | {"network_id": "1682e4f4-7dc4-4ed0-bd10-e526ab2f6f81", "enable_snat": false} |
+-----------------------+------------------------------------------------------------------------------+
(neutron) router-gateway-set router pub2
Set gateway for router router
(neutron) router-show router1 -c external_gateway_info
+-----------------------+------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------+
| external_gateway_info | {"network_id": "a32bcb44-165a-4de8-a8db-35f6ff8f2712", "enable_snat": false} |
+-----------------------+------------------------------------------------------------------------------+
==> enable_snat == False not lost during router-gateway-set
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1384146/+subscriptions
References