Cannot restart nova-network under use_ipv6=true and with VlanManager

Bug #707908 reported by Hisaharu Ishii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
NTT PF Lab.

Bug Description

With VlanManager, use_ipv6=true causes error in restarting nova-network.
Because ensure_bridge() adds IPv6 address which was already binded to the bridge.

Traceback (most recent call last):
  File "/home/ishii/20110125/nova/bin/nova-network", line 44, in <module>
    service.serve()
  File "/home/ishii/20110125/nova/nova/service.py", line 230, in serve
    x.start()
  File "/home/ishii/20110125/nova/nova/service.py", line 81, in start
    self.manager.init_host()
  File "/home/ishii/20110125/nova/nova/network/manager.py", line 467, in init_host
    super(VlanManager, self).init_host()
  File "/home/ishii/20110125/nova/nova/network/manager.py", line 125, in init_host
    self._on_set_network_host(ctxt, network['id'])
  File "/home/ishii/20110125/nova/nova/network/manager.py", line 568, in _on_set_network_host
    network_ref)
  File "/home/ishii/20110125/nova/nova/network/linux_net.py", line 170, in ensure_vlan_bridge
    ensure_bridge(bridge, interface, net_attrs)
  File "/home/ishii/20110125/nova/nova/network/linux_net.py", line 203, in ensure_bridge
    net_attrs['cidr_v6']))
  File "/home/ishii/20110125/nova/nova/network/linux_net.py", line 327, in _execute
    return utils.execute(cmd, *args, **kwargs)
  File "/home/ishii/20110125/nova/nova/utils.py", line 147, in execute
    cmd=cmd)
nova.exception.ProcessExecutionError: Unexpected error while running command.
Command: sudo ifconfig br100 add fd00::/64 up
Exit code: 1
Stdout: ''
Stderr: 'SIOCSIFADDR: File exists\n'

Related branches

Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → NTT PF Lab. (ntt-pf-lab)
importance: Undecided → High
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
milestone: none → bexar-rc
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: bexar-rc → bexar-gamma
Thierry Carrez (ttx)
Changed in nova:
milestone: bexar-gamma → 2011.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.