[SRU] DHCP agent: interface unplug leads to exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Gary Kotton | ||
neutron (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Vivid |
Fix Released
|
High
|
Edward Hope-Morley | ||
Wily |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
[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.
* 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.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.612 TRACE neutron.
2015-09-22 01:23:42.616 INFO neutron.
The reason is the device is None
Changed in neutron: | |
importance: | Undecided → High |
Changed in neutron: | |
milestone: | none → liberty-rc2 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-rc2 → 7.0.0 |
tags: | added: kilo-backport-potential |
Changed in neutron (Ubuntu Vivid): | |
status: | New → Fix Released |
Changed in neutron (Ubuntu Wily): | |
status: | New → Fix Released |
Changed in neutron (Ubuntu Vivid): | |
status: | Fix Released → In Progress |
Changed in neutron (Ubuntu Xenial): | |
status: | New → Fix Released |
Changed in neutron (Ubuntu Vivid): | |
assignee: | nobody → Edward Hope-Morley (hopem) |
summary: |
- DHCP agent: interface unplug leads to exeception + DHCP agent: interface unplug leads to exception |
description: | updated |
summary: |
- DHCP agent: interface unplug leads to exception + [SRU] DHCP agent: interface unplug leads to exception |
Changed in neutron (Ubuntu Vivid): | |
importance: | Undecided → High |
Changed in neutron (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in neutron (Ubuntu Wily): | |
importance: | Undecided → High |
Changed in neutron (Ubuntu Trusty): | |
importance: | Undecided → High |
tags: | added: patch |
tags: |
added: verification-done removed: verification-needed |
no longer affects: | neutron (Ubuntu Trusty) |
How does one reproduce this? Did you see this in a CI run?