addr.list() in ip_lib.py fails when broadcast ipv4 address is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Ante Karamatić |
Bug Description
To reproduce:
set "tenant_
set "physical_
sudo ip addr add 10.0.0.1/24 dev eth1
run quantum router-gateway-set
then:
DEBUG:quantum.
2012-12-14 17:20:53 DEBUG [quantum.
DEBUG:quantum.
Command: ['ip', 'addr', 'show', 'eth1', 'scope', 'global']
Exit code: 0
Stdout: '105: eth1: <BROADCAST,
Stderr: ''
2012-12-14 17:20:53 DEBUG [quantum.
Command: ['ip', 'addr', 'show', 'eth1', 'scope', 'global']
Exit code: 0
Stdout: '105: eth1: <BROADCAST,
Stderr: ''
Traceback (most recent call last):
File "/opt/stack/
main()
File "/opt/stack/
plugin.
File "/opt/stack/
sync = self.process_
File "/opt/stack/
resync_a = self.treat_
File "/opt/stack/
details[
File "/opt/stack/
tap_
File "/opt/stack/
vlan_id)
File "/opt/stack/
self.
File "/opt/stack/
ips, gateway = self.get_
File "/opt/stack/
ips = device.
File "/opt/stack/
scope = parts[5]
IndexError: list index out of range
tags: | added: l3-ipam-dhcp |
tags: | added: low-hanging-fruit |
Changed in quantum: | |
importance: | Undecided → Low |
Changed in quantum: | |
milestone: | none → grizzly-3 |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/21106
Review: https:/