euca-run-instances fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
David Pravec |
Bug Description
I'm trying to follow the steps described in http://
root@openstack:~# euca-run-instances -k test -t m1.tiny ami-tiny
RESERVATION r-f0zon4z0 admin
INSTANCE i-sl4vx1 ami-tiny 10.0.0.4 10.0.0.4 scheduling test (admin, None) 0 m1.tiny 2010-10-06 21:23:54
then I get this message executing euca-describe-
root@openstack:~# euca-describe-
RESERVATION r-f0zon4z0 admin
INSTANCE i-sl4vx1 ami-tiny 10.0.0.4 10.0.0.4 shutdown test (admin, openstack) 0 m1.tiny 2010-10-06 21:23:54
If I check the nova-compute node then I have this trace in the logs:
2010-10-06 23:26:21+0200 [-] (root): DEBUG instance 5: starting...
DEBUG:root:Running cmd: ifconfig vlan100
2010-10-06 23:26:21+0200 [-] (root): DEBUG Running cmd: ifconfig vlan100
DEBUG:root:Running cmd: ifconfig br100
2010-10-06 23:26:21+0200 [-] (root): DEBUG Running cmd: ifconfig br100
DEBUG:root:Running cmd: sudo ifconfig br100 up
2010-10-06 23:26:21+0200 [-] (root): DEBUG Running cmd: sudo ifconfig br100 up
DEBUG:root:Running cmd: sudo iptables --delete FORWARD --in-interface br100 -j ACCEPT
2010-10-06 23:26:21+0200 [-] (root): DEBUG Running cmd: sudo iptables --delete FORWARD --in-interface br100 -j ACCEPT
DEBUG:root:Running cmd: sudo iptables -I FORWARD --in-interface br100 -j ACCEPT
2010-10-06 23:26:21+0200 [-] (root): DEBUG Running cmd: sudo iptables -I FORWARD --in-interface br100 -j ACCEPT
DEBUG:root:Running cmd: sudo iptables --delete FORWARD --out-interface br100 -j ACCEPT
2010-10-06 23:26:21+0200 [-] (root): DEBUG Running cmd: sudo iptables --delete FORWARD --out-interface br100 -j ACCEPT
DEBUG:root:Running cmd: sudo iptables -I FORWARD --out-interface br100 -j ACCEPT
2010-10-06 23:26:21+0200 [-] (root): DEBUG Running cmd: sudo iptables -I FORWARD --out-interface br100 -j ACCEPT
DEBUG:root:instance 435059996: starting toXML method
2010-10-06 23:26:21+0200 [-] (root): DEBUG instance 435059996: starting toXML method
ERROR:root:instance 435059996: Failed to spawn
Traceback (most recent call last):
File "/root/
yield self.driver.
AttributeError: 'long' object has no attribute 'startswith'
2010-10-06 23:26:21+0200 [-] (root): ERROR instance 435059996: Failed to spawn
2010-10-06 23:26:21+0200 [-] Traceback (most recent call last):
2010-10-06 23:26:21+0200 [-] File "/root/
2010-10-06 23:26:21+0200 [-] yield self.driver.
2010-10-06 23:26:21+0200 [-] AttributeError: 'long' object has no attribute 'startswith'
2010-10-06 23:26:21+0200 [-] Unhandled error in Deferred:
2010-10-06 23:26:21+0200 [-] Unhandled Error
Traceback (most recent call last):
File "/root/
return f(*args, **kw)
File "/root/
d = defer.maybeDefe
File "/usr/lib/
result = f(*args, **kw)
File "/usr/lib/
return _inlineCallback
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/root/
File "/root/
state = self.driver.
File "/root/
File "/usr/lib/
ret = libvirtmod.
My environment is a Ubuntu 10.4 Desktop 64 bits with latest updates running inside a VirtualBox 3.2.8. I have configured nova to run with slapd and mysql. Libvirt is configured for qemu.
Related branches
summary: |
- euca-run-instances fails running sample novascript + euca-run-instances fails running sample novascript in VBox with qemu |
Changed in nova: | |
status: | New → Confirmed |
assignee: | nobody → David Pravec (alekibango-danix) |
summary: |
- euca-run-instances fails running sample novascript in VBox with qemu + euca-run-instances fails running sample novascript |
summary: |
- euca-run-instances fails running sample novascript + euca-run-instances fails |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Released |
qemu/virtualbox is not important -- the bug is there even on real hw