[Openstack-operators] VLAN Configuration woes
Ronald J. Yacketta
yacketrj at potsdam.edu
Wed Jun 6 18:53:43 UTC 2012
Hello all!
Firstly, thanks to everyone who has helped me get OS up and running :)
Now that I have a working FlatDHCP up and running it is time to expand
outwards and dive into configuring VLAN as per
http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-vlan-networking.html.
After following the document listed I am left with a broken nova-network:
2012-06-06 14:27:32 CRITICAL nova [-] Unexpected error while running
command.
Command: sudo nova-rootwrap iptables-restore
Exit code: 2
Stdout: ''
Stderr: "iptables-restore v1.4.7: host/network `None' not found\nError
occurred at line: 19\nTry `iptables-restore -h' or 'iptables-restore
--help' for more informat
ion.\n"
2012-06-06 14:27:32 TRACE nova Traceback (most recent call last):
2012-06-06 14:27:32 TRACE nova File "/usr/bin/nova-network", line 49,
in <module>
2012-06-06 14:27:32 TRACE nova service.wait()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/service.py", line 413, in wait
2012-06-06 14:27:32 TRACE nova _launcher.wait()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/service.py", line 131, in wait
2012-06-06 14:27:32 TRACE nova service.wait()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 166, in
wait
2012-06-06 14:27:32 TRACE nova return self._exit_event.wait()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2012-06-06 14:27:32 TRACE nova return hubs.get_hub().switch()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch
2012-06-06 14:27:32 TRACE nova return self.greenlet.switch()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in
main
2012-06-06 14:27:32 TRACE nova result = function(*args, **kwargs)
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/service.py", line 101, in run_server
2012-06-06 14:27:32 TRACE nova server.start()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/service.py", line 162, in start
2012-06-06 14:27:32 TRACE nova self.manager.init_host()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1772,
in init_host
2012-06-06 14:27:32 TRACE nova NetworkManager.init_host(self)
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/network/manager.py", line 765, in
init_host
2012-06-06 14:27:32 TRACE nova self._setup_network_on_host(ctxt,
network)
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1859,
in _setup_network_on_host
2012-06-06 14:27:32 TRACE nova network['vpn_private_address'])
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/network/l3.py", line 113, in add_vpn
2012-06-06 14:27:32 TRACE nova
linux_net.ensure_vpn_forward(public_ip, port, private_ip)
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 499,
in ensure_vpn_forward
2012-06-06 14:27:32 TRACE nova iptables_manager.apply()
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/utils.py", line 944, in inner
2012-06-06 14:27:32 TRACE nova retval = f(*args, **kwargs)
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 334,
in apply
2012-06-06 14:27:32 TRACE nova attempts=5)
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 812,
in _execute
2012-06-06 14:27:32 TRACE nova return utils.execute(*cmd, **kwargs)
2012-06-06 14:27:32 TRACE nova File
"/usr/lib/python2.6/site-packages/nova/utils.py", line 243, in execute
2012-06-06 14:27:32 TRACE nova cmd=' '.join(cmd))
2012-06-06 14:27:32 TRACE nova ProcessExecutionError: Unexpected error
while running command.
2012-06-06 14:27:32 TRACE nova Command: sudo nova-rootwrap iptables-restore
2012-06-06 14:27:32 TRACE nova Exit code: 2
2012-06-06 14:27:32 TRACE nova Stdout: ''
2012-06-06 14:27:32 TRACE nova Stderr: "iptables-restore v1.4.7:
host/network `None' not found\nError occurred at line: 19\nTry
`iptables-restore -h' or 'iptables-re
store --help' for more information.\n"
anyone have some insight? I tried to update each fixed_range with a host
using nova-manage :
nova-manage network modify --fixed_range=10.200.2.0/24
--host=nuvola.potsdam.edu
nova-manage network modify --fixed_range=10.200.9.0/24
--host=nuvola.potsdam.edu
but the iptables restore error persists.
-Ron
More information about the Openstack-operators
mailing list