← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1255029] Re: Fail to start nova-network when set dmz_cidr is empty

 

** Changed in: nova
   Importance: Undecided => Wishlist

** Changed in: nova
       Status: Incomplete => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1255029

Title:
  Fail to start nova-network when set dmz_cidr is empty

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  I can not start the nova-network when set the dmz_cidr is empty in
  nova.conf:

  2013-11-26 04:50:49.916 23022 ERROR nova.openstack.common.threadgroup [-] Unexpected error while running command.
  Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c
  Exit code: 2
  Stdout: ''
  Stderr: "iptables-restore v1.4.7: host/network `None' not found\nError occurred at line: 64\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n"
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/threadgroup.py", line 117, in wait
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     x.wait()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/threadgroup.py", line 49, in wait
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     return self.thread.wait()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 168, in wait
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     return self._exit_event.wait()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     return hubs.get_hub().switch()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in switch
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     return self.greenlet.switch()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     result = function(*args, **kwargs)
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/service.py", line 448, in run_service
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     service.start()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/service.py", line 154, in start
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     self.manager.init_host()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1713, in init_host
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     self.l3driver.initialize(fixed_range=False, networks=networks)
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/network/l3.py", line 90, in initialize
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     self.initialize_network(network['cidr'])
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/network/l3.py", line 101, in initialize_network
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     linux_net.init_host(cidr)
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 700, in init_host
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     iptables_manager.apply()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 421, in apply
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     self._apply()
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 248, in inner
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     return f(*args, **kwargs)
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 452, in _apply
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     attempts=5)
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1194, in _execute
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     return utils.execute(*cmd, **kwargs)
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/utils.py", line 174, in execute
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     return processutils.execute(*cmd, **kwargs)
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 178, in execute
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup     cmd=' '.join(cmd))
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup ProcessExecutionError: Unexpected error while running command.
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup Exit code: 2
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup Stdout: ''
  2013-11-26 04:50:49.916 23022 TRACE nova.openstack.common.threadgroup Stderr: "iptables-restore v1.4.7: host/network `None' not found\nError occurred at line: 64\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n"

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1255029/+subscriptions