[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2016-03-04 Thread hertzyang
how to get neutron 7.0.2 , thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2016-01-21 Thread Dave Walker
** Also affects: neutron/kilo
   Importance: Undecided
   Status: New

** Changed in: neutron/kilo
   Status: New => Fix Committed

** Changed in: neutron/kilo
Milestone: None => 2015.1.3

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2016-01-21 Thread Dave Walker
** Changed in: neutron/kilo
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-12-24 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/258493
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=1d8aff33a6b153c54760d2a141128ef4c045308e
Submitter: Jenkins
Branch:stable/liberty

commit 1d8aff33a6b153c54760d2a141128ef4c045308e
Author: James Page 
Date:   Fri Sep 18 16:38:47 2015 +0100

Add compatibility with iproute2 >= 4.0

The ip netns list command adds additional id data in more recent
versions of iproute2 of the format:

  qdhcp-35fc068a-750d-4add-b1d2-af392dbd8790 (id: 1)

Update parsing to deal with old and new formats.

Change-Id: I0d3fc4262284172f5ad31e4f2f78ae1fb33b4228
Closes-Bug: 1497309
(cherry picked from commit 3aefdf4de76fdcdc02093bc631e339f9ecd4c707)


** Tags added: in-stable-liberty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-12-21 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/258503
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=d65576d1665c3b7a8d6b2e23749a3c703ee79c76
Submitter: Jenkins
Branch:stable/kilo

commit d65576d1665c3b7a8d6b2e23749a3c703ee79c76
Author: James Page 
Date:   Fri Sep 18 16:38:47 2015 +0100

Add compatibility with iproute2 >= 4.0

The ip netns list command adds additional id data in more recent
versions of iproute2 of the format:

  qdhcp-35fc068a-750d-4add-b1d2-af392dbd8790 (id: 1)

Update parsing to deal with old and new formats.

Conflicts:
neutron/tests/functional/agent/test_l3_agent.py

Change-Id: I0d3fc4262284172f5ad31e4f2f78ae1fb33b4228
Closes-Bug: 1497309
(cherry picked from commit 3aefdf4de76fdcdc02093bc631e339f9ecd4c707)


** Tags added: in-stable-kilo

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-12-03 Thread Doug Hellmann
** Changed in: neutron
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-09-30 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/225206
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=3aefdf4de76fdcdc02093bc631e339f9ecd4c707
Submitter: Jenkins
Branch:master

commit 3aefdf4de76fdcdc02093bc631e339f9ecd4c707
Author: James Page 
Date:   Fri Sep 18 16:38:47 2015 +0100

Add compatibility with iproute2 >= 4.0

The ip netns list command adds additional id data in more recent
versions of iproute2 of the format:

  qdhcp-35fc068a-750d-4add-b1d2-af392dbd8790 (id: 1)

Update parsing to deal with old and new formats.

Change-Id: I0d3fc4262284172f5ad31e4f2f78ae1fb33b4228
Closes-Bug: 1497309


** Changed in: neutron
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-09-21 Thread Launchpad Bug Tracker
This bug was fixed in the package neutron - 2:7.0.0~b3-0ubuntu3

---
neutron (2:7.0.0~b3-0ubuntu3) wily; urgency=medium

  * d/p/iproute2-compat.patch: Cherry pick inflight fix for iproute2 >= v4
compatibility (LP: #1497309).
  * d/p/*: Refresh.

 -- James Page   Mon, 21 Sep 2015 09:29:10 +0100

** Changed in: neutron (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-09-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/neutron

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list

2015-09-18 Thread James Page
** Description changed:

  When run through sudo, ip netns has some extra output on Ubuntu wily:
  
- $ sudo ip netns 
+ $ sudo ip netns
  qdhcp-35fc068a-750d-4add-b1d2-af392dbd8790 (id: 1)
  qrouter-49c6d7b1-8399-4944-81ad-093b6e786db0 (id: 0)
  
  and from l3-agent:
  
  2015-09-18 14:15:47.889 26554 DEBUG oslo_messaging._drivers.amqpdriver [-] 
MSG_ID is 59f744cafcab474baee68232c4cf70e9 _send 
/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:392
  2015-09-18 14:15:47.895 26554 DEBUG neutron.agent.l3.agent [-] Starting 
_process_routers_loop _process_routers_loop 
/usr/lib/python2.7/dist-packages/neutron/agent/l3/agent.py:509
  2015-09-18 14:15:47.896 26554 DEBUG oslo_service.loopingcall [-] Fixed 
interval looping call 
'neutron.agent.l3.agent.L3NATAgentWithStateReport._report_state' sleeping for 
29.93 seconds _run_loop 
/usr/lib/python2.7/dist-packages/oslo_service/loopingcall.py:121
  2015-09-18 14:15:47.916 26554 DEBUG neutron.agent.l3.agent [-] Starting 
periodic_sync_routers_task - fullsync:True periodic_sync_routers_task 
/usr/lib/python2.7/dist-packages/neutron/agent/l3/agent.py:521
  2015-09-18 14:15:47.953 26554 DEBUG neutron.agent.linux.utils [-]
  Command: ['ip', 'netns', 'list']
  Exit code: 0
-  execute /usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:151
+  execute /usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:151
  2015-09-18 14:15:47.954 26554 DEBUG oslo_messaging._drivers.amqpdriver [-] 
MSG_ID is d04be6386ef7495ebeb3cb656fb330a8 _send 
/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:392
  2015-09-18 14:15:48.268 26554 DEBUG neutron.agent.l3.agent [-] Processing 
:[{u'status': u'ACTIVE', u'_interfaces': [{u'status': u'DOWN', u'subnets': 
[{u'ipv6_ra_mode': None, u'cidr': u'192.168.21.0/24', u'gateway_ip': 
u'192.168.21.1', u'id': u'242acaef-22b7-4044-ab1f-788bd31ad1da', 
u'subnetpool_id': None}], u'binding:host_id': u'juju-devel3-machine-12', 
u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, 
u'network_id': u'35fc068a-750d-4add-b1d2-af392dbd8790', u'dns_name': u'', 
u'extra_dhcp_opts': [], u'mac_address': u'fa:16:3e:3f:4a:90', 
u'binding:vif_details': {u'port_filter': True, u'ovs_hybrid_plug': True}, 
u'binding:vif_type': u'ovs', u'device_owner': u'network:router_interface', 
u'tenant_id': u'85d6051d040347e5bbd689348405faf0', u'extra_subnets': [], 
u'binding:profile': {}, u'binding:vnic_type': u'normal', u'fixed_ips': 
[{u'subnet_id': u'242acaef-22b7-4044-ab1f-788bd31ad1da', u'prefixlen': 24, 
u'ip_address': u'192.168.21.1'}], u'id': 
u'bfc7b6e2-29a7-428b-b7fd-0675e9bf5df8', u'security_groups': [], u'device_id': 
u'49c6d7b1-8399-4944-81ad-093b6e786db0'}], u'enable_snat': True, u'ha_vr_id': 
0, u'gw_port_host': None, u'gw_port_id': 
u'7cca3db9-5502-43be-b193-59d523e3c81b', u'admin_state_up': True, u'tenant_id': 
u'85d6051d040347e5bbd689348405faf0', u'gw_port': {u'status': u'DOWN', 
u'subnets': [{u'ipv6_ra_mode': None, u'cidr': u'10.5.0.0/16', u'gateway_ip': 
u'10.5.0.1', u'id': u'431e736d-04d1-4817-b3c1-c9579b4b51f0', u'subnetpool_id': 
None}], u'binding:host_id': u'juju-devel3-machine-12', u'name': u'', 
u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': 
u'00ef84fe-880a-45c6-ae3d-967089b161ef', u'dns_name': u'', u'extra_dhcp_opts': 
[], u'mac_address': u'fa:16:3e:6f:24:28', u'binding:vif_details': 
{u'port_filter': True, u'ovs_hybrid_plug': True}, u'binding:vif_type': u'ovs', 
u'device_owner': u'network:router_gateway', u'tenant_id': u'', 
u'extra_subnets': [], u'binding:profile': {}, u'binding:vnic_type': u'normal', 
u'fixed_ips': [{u'subnet_id': u'431e736d-04d1-4817-b3c1-c9579b4b51f0', 
u'prefixlen': 16, u'ip_address': u'10.5.150.0'}], u'id': 
u'7cca3db9-5502-43be-b193-59d523e3c81b', u'security_groups': [], u'device_id': 
u'49c6d7b1-8399-4944-81ad-093b6e786db0'}, u'distributed': False, 
u'_snat_router_interfaces': [], u'_floatingip_agent_interfaces': [], 
u'_floatingips': [{u'router_id': u'49c6d7b1-8399-4944-81ad-093b6e786db0', 
u'status': u'DOWN', u'tenant_id': u'85d6051d040347e5bbd689348405faf0', 
u'floating_network_id': u'00ef84fe-880a-45c6-ae3d-967089b161ef', 
u'fixed_ip_address': u'192.168.21.3', u'floating_ip_address': u'10.5.150.1', 
u'port_id': u'a5d45770-98ea-4a2b-b839-5274e783abca', u'id': 
u'7067f627-91ea-4917-ab31-48570d3c397b'}], u'routes': [], 
u'external_gateway_info': {u'network_id': 
u'00ef84fe-880a-45c6-ae3d-967089b161ef', u'enable_snat': True, 
u'external_fixed_ips': [{u'subnet_id': u'431e736d-04d1-4817-b3c1-c9579b4b51f0', 
u'ip_address': u'10.5.150.0'}]}, u'ha': False, u'id': 
u'49c6d7b1-8399-4944-81ad-093b6e786db0', u'name': u'provider-router'}] 
fetch_and_sync_all_routers 
/usr/lib/python2.7/dist-packages/neutron/agent/l3/agent.py:555
  2015-09-18 14:15:48.272 26554 DEBUG neutron.agent.l3.agent [-] 
periodic_sync_routers_task successfully completed fetch_and_sync_all_routers 
/usr/lib/python2.7/dist-packages/neutron/agent/l3/agent.py:570
  

[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-09-18 Thread James Page
** Changed in: neutron (Ubuntu)
 Assignee: (unassigned) => James Page (james-page)

** Changed in: neutron
 Assignee: (unassigned) => James Page (james-page)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497309] Re: l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

2015-09-18 Thread OpenStack Infra
Fix proposed to branch: master
Review: https://review.openstack.org/225206

** Changed in: neutron
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1497309

Title:
  l3-agent unable to parse output from ip netns list (iproute2 >= 4.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497309/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs