[Yahoo-eng-team] [Bug 1625013] [NEW] dhcpv6-stateless cause dhcp _generate_opts_per_subnet fail

2016-09-19 Thread ZongKai LI
opts_per_subnet 2016-09-19 06:55:44.211 TRACE neutron.agent.dhcp.agent subnet_dhcp_ip = subnet_to_interface_ip[subnet.id] 2016-09-19 06:55:44.211 TRACE neutron.agent.dhcp.agent KeyError: u'7e086056-521a-4d91-b2a7-6d1b3fffb49b' ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (

[Yahoo-eng-team] [Bug 1618343] Re: UT failed for PortsV2 case test_update_port_status_notify_port_event_after_update

2016-08-30 Thread ZongKai LI
** Changed in: networking-ovn Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1618343 Title: UT failed for PortsV2 case test_update_port_status_notify_port

[Yahoo-eng-team] [Bug 1582500] [NEW] icmp, icmpv6 and ipv6-icmp should raise duplicated sg rule exception

2016-05-16 Thread ZongKai LI
uld understand they are just different alias, and we don't need "duplicated" entries to deal with. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: In Progress -- You received this bug notification because you are a member of Yah

[Yahoo-eng-team] [Bug 1574472] [NEW] icmpv6 and ipv6-icmp are missed in _validate_port_range

2016-04-25 Thread ZongKai LI
Public bug reported: For IPv6, it has protocol port checked for "icmp" in _validate_port_range, but not for "icmpv6" and "ipv6-icmp". ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neut

[Yahoo-eng-team] [Bug 1568718] [NEW] ovsdb.native.connection.Connection should allow schema_helper to register certain tables, instead of all

2016-04-11 Thread ZongKai LI
Public bug reported: Patch https://review.openstack.org/#/c/302623 is partial implement for blueprint routed-networks, it tries to add Chassis table access in networking-ovn. In Chassis table, it contains column hostname and external_ids, which are needed for segment-hostname mapping in bp routed-

[Yahoo-eng-team] [Bug 1552070] [NEW] Two functional test method in TestDvrRouter don't work to dual_stack case

2016-03-01 Thread ZongKai LI
aster/neutron/tests/functional/agent/l3/test_dvr_router.py#L258-L280 ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neutron Assignee: (unassigned) => ZongKai LI (lzklibj) -- You received this bug notification because

[Yahoo-eng-team] [Bug 1551596] [NEW] Default route not get cleaned after external subnet updated with --no-gateway in DVR scenario

2016-03-01 Thread ZongKai LI
ubnet-update" command, just like it gets updated in the opposite operation, update a specified gateway from no gateway by "neutron subnet-update --gateway ". ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: n

[Yahoo-eng-team] [Bug 1540779] [NEW] DVR router should not allow manually removed from an agent in 'dvr' mode

2016-02-01 Thread ZongKai LI
amespace deleted, and l3 networking on that node crashed. We should add a checking for removing router from agent in 'dvr' mode, and forbidden processing going on. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neutron

[Yahoo-eng-team] [Bug 1540259] [NEW] uselist should be True to DVRPortBinding orm.relationship

2016-02-01 Thread ZongKai LI
gs. So it's not a one-to-one relationship, we should remove "uselist=False" in DVRPortBinding port orm.relationship. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: In Progress ** Changed in: neutron Assignee: (unassigned) =&

[Yahoo-eng-team] [Bug 1536176] [NEW] network owner cannot get all subnets

2016-01-20 Thread ZongKai LI
subnets on her/his network. ** 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! En

[Yahoo-eng-team] [Bug 1534954] [NEW] policy rule for update_port is inconsistent

2016-01-16 Thread ZongKai LI
d be updated to "admin_or_owner". ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: In Progress ** Changed in: neutron Assignee: (unassigned) => ZongKai LI (lzklibj) ** Description changed: For user from a common tenant,

[Yahoo-eng-team] [Bug 1533313] [NEW] _get_dvr_sync_data should be optimized for 'dvr' mode agent

2016-01-12 Thread ZongKai LI
rocessing for legacy/HA router than DVR router. But for DVR scenario, only query floatingips associated ports on given host should be necessary, and no need to do additional filter processing which should be done sql. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj

[Yahoo-eng-team] [Bug 1512207] Re: Fix usage of assertions

2016-01-06 Thread ZongKai LI
The target has been done in neutron. ** Changed in: neutron Status: In Progress => Invalid ** Changed in: neutron Assignee: Swapnil Kulkarni (coolsvap) => (unassigned) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to O

[Yahoo-eng-team] [Bug 1531065] [NEW] duplicately fetch subnet_id in get_subnet_for_dvr

2016-01-04 Thread ZongKai LI
h again. ** 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 subsc

[Yahoo-eng-team] [Bug 1529439] [NEW] unify validate_agent_router_combination exceptions for dvr agent_mode

2015-12-26 Thread ZongKai LI
router on dvr agent_mode agent should be only scheduled, not manually assigned." ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neutron Assignee: (unassigned) => ZongKai LI (lzklibj) -- You received th

[Yahoo-eng-team] [Bug 1527049] [NEW] is_dvr_serviced in unbind_router_servicenode is duplicated and unnecessary

2015-12-16 Thread ZongKai LI
se) ports_by_host.append(port_dict) https://github.com/openstack/neutron/blob/master/neutron/db/dvr_mac_db.py#L128-L156 ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neutron Assignee: (unassigned) =>

[Yahoo-eng-team] [Bug 1524357] [NEW] get_ports cannot get all port for network owner

2015-12-09 Thread ZongKai LI
rts for/by demo1; expected: return result should contain port-1 for demo1 is network owner; observed: return result doesn't contain port-1 ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neutron Assignee: (unassigned

[Yahoo-eng-team] [Bug 1522709] [NEW] external network can always be seen by other tenant users even not shared or rbac rules allowed

2015-12-03 Thread ZongKai LI
, verify external network is not shared, demo user run "neutron net-show EXTERNAL-NETWORK"; network info will show external network shared field is False. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: In Progress ** Changed in: neu

[Yahoo-eng-team] [Bug 1522482] [NEW] dvr gateway port fails in _validate_shared_update

2015-12-03 Thread ZongKai LI
RNAL-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

[Yahoo-eng-team] [Bug 1514068] [NEW] internal subnet case no need to repeatedly create IPDevice in _update_arp_entry

2015-11-07 Thread ZongKai LI
gent/l3/dvr_local_router.py#L229-L241 We can create that IPDevice object before code enter the for loop, and pass it to _update_arp_entry ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neutron Assignee: (unassigned) =

[Yahoo-eng-team] [Bug 1513758] [NEW] dhcp-agent with reserved_dhcp_port raise cannot find tap device error

2015-11-06 Thread ZongKai LI
1.665 TRACE neutron.agent.dhcp.agent Command: ['ip', 'netns', 'exec', u'qdhcp-79673257-aa5e-4d19-91b5-225391b2691c', 'ip', 'route', 'list', 'dev', 'tapbcd64879-be'] 2015-11-06 05:46:41.665 TRACE neutron.agent.

[Yahoo-eng-team] [Bug 1513574] [NEW] firewall rules on DVR FIP fails to work for ingress traffic

2015-11-05 Thread ZongKai LI
Public bug reported: = my env = controller +network node(dvr_snat) + 2 compute nodes(dvr) DVR: enable DVR when using devstack to deploy this env FWaaS: manually git clone neutron-fwaas and to configure, using iptables as driver steps 1) create net, subnet, boot VM-1 on CN-1, V

[Yahoo-eng-team] [Bug 1509941] [NEW] case test_kill_process_with_different_signal is not necessary

2015-10-25 Thread ZongKai LI
Public bug reported: in _test__kill_process, utils.execute has been mocked in following code: ... with mock.patch.object(utils, 'execute', side_effect=exc) as mock_execute: ... so indeed, no signal will be sent at all, for that, we don't need

[Yahoo-eng-team] [Bug 1508801] [NEW] fix treat_vif_port logic

2015-10-22 Thread ZongKai LI
if admin_state_up: self.port_bound(vif_port, network_id, network_type, ... logic: if vif_port: if not vif_port.ofport: ... should be better. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: In Progress **

[Yahoo-eng-team] [Bug 1508530] [NEW] _kill_process return value are not used

2015-10-21 Thread ZongKai LI
Public bug reported: As a "private" method, class AsyncProcess method _kill_process return value seems useless. And currently, they are only used in UT. Maybe we should remove useless return value. ** Affects: neutron Importance: Undecided Assignee: ZongKai L

[Yahoo-eng-team] [Bug 1507492] [NEW] manually schedule dhcp-agent doesn't check dhcp_agents_per_network

2015-10-19 Thread ZongKai LI
put that net-1 is hosted by agent-A and agent-B now. ** 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

[Yahoo-eng-team] [Bug 1507489] [NEW] manually reschedule dhcp-agent doesn't update port binding

2015-10-19 Thread ZongKai LI
{} binding:vif_details {"port_filter": true, "ovs_hybrid_plug": true} binding:vif_type ovs binding:vnic_type normal device_id dhcpxxx(relate-to-agent-A-host)-NET-1-ID ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status:

[Yahoo-eng-team] [Bug 1496844] [NEW] restart dhcp-agent shouldn't rebuild all dhcp-driver even nothing changed

2015-09-17 Thread ZongKai LI
when their configure files need be changed. ** 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!

[Yahoo-eng-team] [Bug 1494570] [NEW] Warning Endpoint with ip already exists should be avoidable

2015-09-10 Thread ZongKai LI
host are not changed, and we have queried DB twice, we don't need do another DB operation and raise a warning. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: New ** Changed in: neutron Assignee: (unassigned) => ZongKai LI (lzkl

[Yahoo-eng-team] [Bug 1332450] Re: br-tun lost ports if openvswitch restart when l2pop enabled

2015-09-10 Thread ZongKai LI
Per https://review.openstack.org/#/c/182920/58 , to keep tunnel connectivity, reset_bridge isn't used anymore. And by that, tunnel ports will not be deleted anymore. This issue is no longer exist, mark it as invalid. ** Changed in: neutron Status: In Progress => Invalid -- You received

[Yahoo-eng-team] [Bug 1435655] Re: Can't manually assign a distributed router to a l3 agent

2015-09-09 Thread ZongKai LI
Case 1: Without restarting l3-agent and ovs-agent on compute node, they will keep running as legacy mode. Case 2: I don't think manually assign a DVR router to l3-agent should be valid, DVR router will be scheduled based on port-bindings. So manually disassociate a DVR router from l3-agent could

[Yahoo-eng-team] [Bug 1493688] [NEW] port-update shouldn't update lbaas vip port IP

2015-09-09 Thread ZongKai LI
Public bug reported: lbaas vip port IP cannot be updated by lbaas api like "neutron lb-vip- update VIP --address NEW_IP", but it can be updated by "neutron port- update". This is conflict, if lbaas doesn't support update vip port IP yet, another API shouldn't make it possible to update. ** Affec

[Yahoo-eng-team] [Bug 1460491] [NEW] some neutron log should raise up their log level to error

2015-05-31 Thread ZongKai LI
help us to do a quick issue locating. ** 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

[Yahoo-eng-team] [Bug 1453791] Re: Lbaas Pool and Members from Different SubNets

2015-05-28 Thread ZongKai LI
plex. ** Changed in: neutron Status: New => Invalid ** Changed in: neutron Assignee: ZongKai LI (lzklibj) => (unassigned) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/145379

[Yahoo-eng-team] [Bug 1453791] Re: Lbaas Pool and Members from Different SubNets

2015-05-27 Thread ZongKai LI
** Package changed: neutron-lbaas (Ubuntu) => neutron ** 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/1

[Yahoo-eng-team] [Bug 1405528] Re: Migration of legacy router to distributed router should remove the original gateway port

2015-03-23 Thread ZongKai LI
** Changed in: neutron Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1405528 Title: Migration of legacy router to distributed router should remove

[Yahoo-eng-team] [Bug 1434824] [NEW] L3 agent failure to setup floating IPs

2015-03-21 Thread ZongKai LI
-ip to VM-2 on CN1. ** 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

[Yahoo-eng-team] [Bug 1421042] Re: AttributeError during migration legacy router to DVR router.

2015-03-20 Thread ZongKai LI
** Changed in: neutron Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1421042 Title: AttributeError during migration legacy router to DVR router. S

[Yahoo-eng-team] [Bug 1428713] Re: migrate non-dvr to dvr case, snat netns not created

2015-03-11 Thread ZongKai LI
The commands to update router in DVR migration should be: neutron router-update --admin_state_up=False ROUTER neutron router-update --distributed=True ROUTER neutron router-update --admin_state_up=True ROUTER ** Changed in: neutron Status: In Progress => Invalid -- You received this bug n

[Yahoo-eng-team] [Bug 1423067] Re: migrate non-dvr to dvr case, not all compute nodes created qrouter netns

2015-03-11 Thread ZongKai LI
The commands to update router in DVR migration should be: neutron router-update --admin_state_up=False ROUTER neutron router-update --distributed=True ROUTER neutron router-update --admin_state_up=True ROUTER ** Changed in: neutron Status: In Progress => Invalid -- You received this bug n

[Yahoo-eng-team] [Bug 1428713] [NEW] migrate non-dvr to dvr case, snat netns not created

2015-03-05 Thread ZongKai LI
TRACE neutron.agent.l3.agent AttributeError: 'LegacyRouter' object has no attribute 'dist_fip_count' It seems current code is not ready to migrate LegacyRouter to DvrRouter. ** Affects: neutron Importance: Undecided Assignee: ZongKai LI (lzklibj) Status: Ne

[Yahoo-eng-team] [Bug 1427122] [NEW] dvr case with 1 subnet attaches multi routers, fail to create router netns

2015-03-02 Thread ZongKai LI
attached to one router), this issue will not raise. ** 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

[Yahoo-eng-team] [Bug 1423067] [NEW] migrate non-dvr to dvr case, not all compute nodes created qrouter netns

2015-02-17 Thread ZongKai LI
Public bug reported: We can use following steps to migrate a non-dvr env to dvr env. 1) modify related attributes in config files; 2) restart related services,(like neutron-server, neutron-l3-agent, neutron-openvswitch-agent) 3) update router: neutron router-update --distributed=True ROUTER. You

[Yahoo-eng-team] [Bug 1381886] Re: nova list show incorrect when neutron re-assign floatingip

2014-10-16 Thread ZongKai LI
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/1381886 Title: nova list show incorrect when neutron re-assign floatingip Status in Op

[Yahoo-eng-team] [Bug 1381886] [NEW] nova list show incorrect when neutron re-assign floatingip

2014-10-15 Thread ZongKai LI
Public bug reported: boot more several instances, create a floatingip, when re-assign the floatingip to multi instances, nova list will show incorrect result. >>>neutron floatingip-associate floatingip-id instance-id-0 >>>neutron floatingip-associate floatingip-id instance-id-1 >>>neutron floatin