nova-network fails to initialize gateway device if the interface address has 'dynamic' flag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Tomoki Sekiyama |
Bug Description
If the network interface address has dynamic flag, nova-network fails to start.
This is because ip addr command only accept 'dynamic' flag for IPv6 address, but not for IPv4 address.
For example:
$ ip addr show dev eth0 scope global
2: eth0: <BROADCAST,
link/ether 52:54:00:00:00:01 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.96/23 brd 192.168.1.255 scope global dynamic eth0
valid_lft 2225sec preferred_lft 2225sec
$ ip addr del 192.168.0.96/23 brd 192.168.1.255 scope global dynamic eth0 dev eth0
Error: either "local" is duplicate, or "dynamic" is a garbage.
To fix this problem, 'dynamic' should be omitted.
Note that, this issue is triaged in LinuxBridgeInte
Exception thrown in startup (or first instance's boot):
Traceback (most recent call last):
File "/usr/lib/
timer()
File "/usr/lib/
cb(*args, **kw)
File "/usr/lib/
result = function(*args, **kwargs)
File "/opt/stack/
service.start()
File "/opt/stack/
self.
File "/opt/stack/
super(
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
linux_
File "/usr/lib/
return f(*args, **kwargs)
File "/opt/stack/
run_
File "/opt/stack/
return utils.execute(*cmd, **kwargs)
File "/opt/stack/
return processutils.
File "/usr/lib/
cmd=
ProcessExecutio
Command: sudo nova-rootwrap /etc/nova/
Exit code: 255
Stdout: u''
Stderr: u'Error: either "local" is duplicate, or "dynamic" is a garbage.\n'
description: | updated |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/145378
Review: https:/