in init_l3 ip address delete may occurrent delete multiple ips
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Zang MingJie |
Bug Description
For example:
# ip ad add 10.1.1.1/24 dev lo
# ip ad add 10.1.1.2/24 dev lo
# ip ad
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 10.1.1.1/24 scope global lo
valid_lft forever preferred_lft forever
inet 10.1.1.2/24 scope global secondary lo
valid_lft forever preferred_lft forever
# ip ad del 10.1.1.1/24 dev lo
# ip ad
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
Added two ips, and deleted one, all ips are gone.
This is because 10.1.1.2 is secondary, if the primary address is deleted, also does the secondary address.
There is an sysconf entry controls the behaviour of deleting primary ip (/proc/
We should set it when creating a namespace.
description: | updated |
Changed in neutron: | |
milestone: | none → juno-3 |
importance: | Undecided → Medium |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/107743
Review: https:/