spawning of instance failed during network setup: error in method hydrate in nova/network/model.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Christian Berendt |
Bug Description
using the latest snapshots from jenkins i receive the following traceback (from nova-compute) when i try to start a new instance. not sure what's wrong at the moment. using xen with libvirt (if this matters).
2012-02-25 14:45:50 ERROR nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
2012-02-25 14:45:50 ERROR nova.rpc.common [-] Exception during message handling
(nova.rpc.common): TRACE: Traceback (most recent call last):
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: rval = node_func(
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: return f(*args, **kw)
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: sys.exc_info())
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: self.gen.next()
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: return function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: self._run_
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: self._set_
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: self.gen.next()
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: requested_networks)
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: requested_
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: return network_
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: return NetworkInfo(
(nova.rpc.common): TRACE: File "/usr/lib64/
(nova.rpc.common): TRACE: vif = VIF(**vif)
(nova.rpc.common): TRACE: TypeError: __init__() keywords must be strings
(nova.rpc.common): TRACE:
nova-network looks good, the ip address got assigned:
2012-02-25 14:50:40 DEBUG nova.network.
2012-02-25 14:50:40 DEBUG nova.network.
2012-02-25 14:50:40 DEBUG nova.network.
i receive an ip address for the new instance in nova-br0.conf:
02:16:3e:
nova.conf: (br0 manually created on top of interface eth0)
--verbose
--network_
--dhcpbridge_
--dhcpbridge=
--force_
--public_
--flat_
--sql_connectio
--libvirt_type=xen
--instance_
--api_paste_
--image_
--rabbit_
--rabbit_
--glance_
--connection_
--firewall_
--instances_
--state_
--vlan_
--my_ip=
call for my network:
nova-manage network create --label=public --fixed_
br0 receives an ip address:
4: br0: <BROADCAST,
link/ether 00:14:0b:44:20:91 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.1/24 brd 10.0.0.255 scope global br0
inet 192.168.23.67/24 brd 192.168.23.255 scope global br0
inet6 fe80::214:
valid_lft forever preferred_lft forever
dnsmasq is running:
4406 ? S 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
4407 ? S 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
tested with tarball nova-2012. 1~e4~20120225. 12927.tar. gz (git revision 2172e49e8359a62 182f58d94d2a9c4 65a85d9a95)