yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42252
[Bug 1522482] [NEW] dvr gateway port fails in _validate_shared_update
Public bug reported:
### env ###
upstream code
DVR enabled
2 network nodes(l3 agent running in dvr_snat mode), 1 compute node(l3 agent running in dvr mode)
2 tenants: admin and demo
### steps(by admin) ###
1, create external network and internal network, create subnets for the two networks,
2, create a router(dvr default), attach external network as router gateway, attach internal network as router interface;
3, verify router schedules success by "neutron l3-agent-list-hosting-router" or "ip netns"
4, create a floatingip, boot a VM on internal subnet, and associate floatingip to VM;
5, verify the dvr and floatingip related ports are created by "neutron port-list -c device_owner"
6, run "neutron net-update EXTERNAL-NETWORK --shared False"
expected: "Updated network: EXTERNAL-NETWORK"
observed: "Unable to reconfigure sharing settings for network EXTERNAL-NETWORK. Multiple tenants are using it."
### analyse ###
1, even all ports on EXTERNAL-NETWORK are belong to admin tenant, still fail to update EXTERNAL-NETWORK shared attribute.
2, _validate_shared_update fails to work as expected for not all ports on EXTERNAL-NETWORK have tenant_id.
3, following dvr and floatingip related ports have no tenant_id, _validate_shared_update need be fixed for them:
fg: network:floatingip_agent_gateway
sg: network:router_centralized_snat
** Affects: neutron
Importance: Undecided
Assignee: ZongKai LI (lzklibj)
Status: New
** Changed in: neutron
Assignee: (unassigned) => ZongKai LI (lzklibj)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1522482
Title:
dvr gateway port fails in _validate_shared_update
Status in neutron:
New
Bug description:
### env ###
upstream code
DVR enabled
2 network nodes(l3 agent running in dvr_snat mode), 1 compute node(l3 agent running in dvr mode)
2 tenants: admin and demo
### steps(by admin) ###
1, create external network and internal network, create subnets for the two networks,
2, create a router(dvr default), attach external network as router gateway, attach internal network as router interface;
3, verify router schedules success by "neutron l3-agent-list-hosting-router" or "ip netns"
4, create a floatingip, boot a VM on internal subnet, and associate floatingip to VM;
5, verify the dvr and floatingip related ports are created by "neutron port-list -c device_owner"
6, run "neutron net-update EXTERNAL-NETWORK --shared False"
expected: "Updated network: EXTERNAL-NETWORK"
observed: "Unable to reconfigure sharing settings for network EXTERNAL-NETWORK. Multiple tenants are using it."
### analyse ###
1, even all ports on EXTERNAL-NETWORK are belong to admin tenant, still fail to update EXTERNAL-NETWORK shared attribute.
2, _validate_shared_update fails to work as expected for not all ports on EXTERNAL-NETWORK have tenant_id.
3, following dvr and floatingip related ports have no tenant_id, _validate_shared_update need be fixed for them:
fg: network:floatingip_agent_gateway
sg: network:router_centralized_snat
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1522482/+subscriptions
Follow ups