2015-09-22 08:48:34 |
Gary Kotton |
bug |
|
|
added bug |
2015-09-24 20:05:57 |
Kevin Benton |
neutron: status |
New |
Incomplete |
|
2015-09-27 07:27:07 |
OpenStack Infra |
neutron: status |
Incomplete |
In Progress |
|
2015-09-27 07:27:07 |
OpenStack Infra |
neutron: assignee |
|
Gary Kotton (garyk) |
|
2015-09-27 07:27:16 |
Gary Kotton |
neutron: importance |
Undecided |
High |
|
2015-10-07 01:48:55 |
OpenStack Infra |
neutron: status |
In Progress |
Fix Committed |
|
2015-10-07 13:16:17 |
Kyle Mestery |
neutron: milestone |
|
liberty-rc2 |
|
2015-10-07 20:47:41 |
OpenStack Infra |
tags |
|
in-stable-liberty |
|
2015-10-08 06:53:49 |
Thierry Carrez |
neutron: status |
Fix Committed |
Fix Released |
|
2015-10-15 12:40:29 |
Thierry Carrez |
neutron: milestone |
liberty-rc2 |
7.0.0 |
|
2015-11-05 11:22:44 |
Edward Hope-Morley |
tags |
in-stable-liberty |
in-stable-liberty kilo-backport-potential |
|
2015-11-05 11:59:03 |
James Page |
bug task added |
|
neutron (Ubuntu) |
|
2015-11-05 11:59:18 |
James Page |
nominated for series |
|
Ubuntu Vivid |
|
2015-11-05 11:59:18 |
James Page |
bug task added |
|
neutron (Ubuntu Vivid) |
|
2015-11-05 11:59:18 |
James Page |
nominated for series |
|
Ubuntu Xenial |
|
2015-11-05 11:59:18 |
James Page |
bug task added |
|
neutron (Ubuntu Xenial) |
|
2015-11-05 11:59:18 |
James Page |
nominated for series |
|
Ubuntu Wily |
|
2015-11-05 11:59:18 |
James Page |
bug task added |
|
neutron (Ubuntu Wily) |
|
2015-11-05 11:59:26 |
James Page |
neutron (Ubuntu Vivid): status |
New |
Fix Released |
|
2015-11-05 11:59:30 |
James Page |
neutron (Ubuntu Wily): status |
New |
Fix Released |
|
2015-11-05 11:59:34 |
James Page |
neutron (Ubuntu Vivid): status |
Fix Released |
In Progress |
|
2015-11-05 11:59:38 |
James Page |
neutron (Ubuntu Xenial): status |
New |
Fix Released |
|
2015-11-05 11:59:46 |
James Page |
neutron (Ubuntu Vivid): assignee |
|
Edward Hope-Morley (hopem) |
|
2015-11-05 14:36:16 |
Jorge Niedbalski |
summary |
DHCP agent: interface unplug leads to exeception |
DHCP agent: interface unplug leads to exception |
|
2015-11-05 15:01:46 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto Murata |
2015-11-05 21:18:07 |
OpenStack Infra |
tags |
in-stable-liberty kilo-backport-potential |
in-stable-kilo in-stable-liberty kilo-backport-potential |
|
2015-11-10 00:06:49 |
Edward Hope-Morley |
branch linked |
|
lp:~hopem/neutron/kilo-lp1498370 |
|
2015-11-10 00:18:31 |
Edward Hope-Morley |
branch linked |
|
lp:~hopem/neutron/kilo-lp1498370 |
|
2015-11-11 12:02:10 |
Edward Hope-Morley |
description |
2015-09-22 01:23:42.612 ERROR neutron.agent.dhcp.agent [-] Unable to disable dhcp for c543db4d-e077-488f-b58c-5805f63f86b6.
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent Traceback (most recent call last):
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/dhcp/agent.py", line 115, in call_driver
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent getattr(driver, action)(**action_kwargs)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 221, in disable
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent self._destroy_namespace_and_port()
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 226, in _destroy_namespace_and_port
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent self.device_manager.destroy(self.network, self.interface_name)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 1223, in destroy
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent self.driver.unplug(device_name, namespace=network.namespace)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/interface.py", line 358, in unplug
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent tap_name = self._get_tap_name(device_name, prefix)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/interface.py", line 299, in _get_tap_name
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent dev_name = dev_name.replace(prefix or self.DEV_NAME_PREFIX,
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent AttributeError: 'NoneType' object has no attribute 'replace'
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent
2015-09-22 01:23:42.616 INFO neutron.agent.dhcp.agent [-] Synchronizing state complete
The reason is the device is None |
[Impact]
There are edge cases when the DHCP agent attempts to unplug an interface
and the device does not exist. This patch ensures that the agent can
tolerate this case.
[Test Case]
* create subnet with dhcp enabled
* set pdb.set_trace() in neutron.agent.linux.dhcp.DeviceManager.destroy()
* manually delete ns-<id> device in tenant namespace
* pdb continue and should not raise any error
[Regression Potential]
None
2015-09-22 01:23:42.612 ERROR neutron.agent.dhcp.agent [-] Unable to disable dhcp for c543db4d-e077-488f-b58c-5805f63f86b6.
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent Traceback (most recent call last):
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/dhcp/agent.py", line 115, in call_driver
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent getattr(driver, action)(**action_kwargs)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 221, in disable
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent self._destroy_namespace_and_port()
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 226, in _destroy_namespace_and_port
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent self.device_manager.destroy(self.network, self.interface_name)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/dhcp.py", line 1223, in destroy
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent self.driver.unplug(device_name, namespace=network.namespace)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/interface.py", line 358, in unplug
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent tap_name = self._get_tap_name(device_name, prefix)
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent File "/opt/stack/neutron/neutron/agent/linux/interface.py", line 299, in _get_tap_name
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent dev_name = dev_name.replace(prefix or self.DEV_NAME_PREFIX,
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent AttributeError: 'NoneType' object has no attribute 'replace'
2015-09-22 01:23:42.612 TRACE neutron.agent.dhcp.agent
2015-09-22 01:23:42.616 INFO neutron.agent.dhcp.agent [-] Synchronizing state complete
The reason is the device is None |
|
2015-11-11 12:02:18 |
Edward Hope-Morley |
summary |
DHCP agent: interface unplug leads to exception |
[SRU] DHCP agent: interface unplug leads to exception |
|
2015-11-11 12:03:43 |
Edward Hope-Morley |
attachment added |
|
lp1498370.debdiff https://bugs.launchpad.net/ubuntu/vivid/+source/neutron/+bug/1498370/+attachment/4516815/+files/lp1498370.debdiff |
|
2015-11-11 12:09:23 |
Edward Hope-Morley |
attachment removed |
lp1498370.debdiff https://bugs.launchpad.net/ubuntu/vivid/+source/neutron/+bug/1498370/+attachment/4516815/+files/lp1498370.debdiff |
|
|
2015-11-11 12:10:08 |
Edward Hope-Morley |
attachment added |
|
lp1498370.patch https://bugs.launchpad.net/ubuntu/vivid/+source/neutron/+bug/1498370/+attachment/4516816/+files/lp1498370.patch |
|
2015-11-11 12:12:11 |
Edward Hope-Morley |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-11-12 08:03:45 |
Mathew Hodson |
neutron (Ubuntu Vivid): importance |
Undecided |
High |
|
2015-11-12 08:03:48 |
Mathew Hodson |
neutron (Ubuntu Xenial): importance |
Undecided |
High |
|
2015-11-12 08:03:53 |
Mathew Hodson |
neutron (Ubuntu Wily): importance |
Undecided |
High |
|
2015-11-13 10:56:37 |
Martin Pitt |
nominated for series |
|
Ubuntu Trusty |
|
2015-11-13 10:56:37 |
Martin Pitt |
bug task added |
|
neutron (Ubuntu Trusty) |
|
2015-11-13 10:56:50 |
Martin Pitt |
neutron (Ubuntu Trusty): assignee |
|
Edward Hope-Morley (hopem) |
|
2015-11-13 10:57:15 |
Martin Pitt |
neutron (Ubuntu Vivid): status |
In Progress |
Won't Fix |
|
2015-11-13 10:57:15 |
Martin Pitt |
neutron (Ubuntu Vivid): assignee |
Edward Hope-Morley (hopem) |
|
|
2015-11-13 11:00:16 |
Martin Pitt |
neutron (Ubuntu Trusty): status |
New |
Incomplete |
|
2015-11-13 11:00:42 |
Martin Pitt |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2015-11-17 12:28:42 |
Mathew Hodson |
neutron (Ubuntu Trusty): importance |
Undecided |
High |
|
2015-11-17 13:05:24 |
Edward Hope-Morley |
attachment removed |
lp1498370.patch https://bugs.launchpad.net/neutron/+bug/1498370/+attachment/4516816/+files/lp1498370.patch |
|
|
2015-11-17 13:05:57 |
Edward Hope-Morley |
attachment added |
|
lp1498370.patch https://bugs.launchpad.net/neutron/+bug/1498370/+attachment/4520585/+files/lp1498370.patch |
|
2015-11-17 13:06:18 |
Edward Hope-Morley |
bug |
|
|
added subscriber Edward Hope-Morley |
2015-11-17 13:06:30 |
Edward Hope-Morley |
neutron (Ubuntu Trusty): status |
Incomplete |
In Progress |
|
2015-11-17 13:06:37 |
Edward Hope-Morley |
neutron (Ubuntu Vivid): status |
Won't Fix |
In Progress |
|
2015-11-17 13:06:44 |
Edward Hope-Morley |
neutron (Ubuntu Trusty): status |
In Progress |
New |
|
2015-11-17 13:06:49 |
Edward Hope-Morley |
neutron (Ubuntu Trusty): assignee |
Edward Hope-Morley (hopem) |
|
|
2015-11-17 13:06:53 |
Edward Hope-Morley |
neutron (Ubuntu Vivid): assignee |
|
Edward Hope-Morley (hopem) |
|
2015-11-23 20:27:18 |
Mathew Hodson |
tags |
in-stable-kilo in-stable-liberty kilo-backport-potential |
in-stable-kilo in-stable-liberty kilo-backport-potential patch |
|
2015-11-23 20:27:36 |
Mathew Hodson |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-11-23 21:12:51 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-server-dev/neutron/kilo |
|
2015-11-23 21:19:48 |
Corey Bryant |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-11-24 17:20:52 |
Chris J Arges |
neutron (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-11-24 17:20:57 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2015-11-24 17:21:02 |
Chris J Arges |
tags |
in-stable-kilo in-stable-liberty kilo-backport-potential patch |
in-stable-kilo in-stable-liberty kilo-backport-potential patch verification-needed |
|
2015-11-24 17:21:14 |
Chris J Arges |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2015-11-27 09:46:37 |
James Page |
tags |
in-stable-kilo in-stable-liberty kilo-backport-potential patch verification-needed |
in-stable-kilo in-stable-liberty kilo-backport-potential patch verification-done |
|
2015-11-30 21:12:34 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-11-30 21:22:38 |
Launchpad Janitor |
neutron (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-12-02 19:32:21 |
Mathew Hodson |
bug task deleted |
neutron (Ubuntu Trusty) |
|
|
2016-02-01 17:32:16 |
Edward Hope-Morley |
branch unlinked |
lp:~hopem/neutron/kilo-lp1498370 |
|
|
2016-02-01 17:32:39 |
Edward Hope-Morley |
branch unlinked |
lp:~ubuntu-server-dev/neutron/kilo |
|
|