windows xp instance problems when using nova under ubuntu 10.4 lts 64bit
Trying to start a windows instance under nova (ubuntu 10.4 lts 64bit) and get errors when launching the instance. The status goes from launching to pending and stays in pending forever. Tried all tricks to connect via VNC and to ignore kernel and ramdisk unsuccessfully. I can run linux instances successfully and also the same windows image can be run successfully via KVM.
Created the image with euca tools provided by the nova stack and using this URL as a reference:
http://
The first I've noticed was when registering the memdisk I did not get an EKI-xxxxxxx I got an AMI-xxxxxxx and the same with ramdisk.
But I was able to continue and bundle the image successfully using the AMIs from kernel and ramdisk.
Here is the list of my images:
=======
root@ubuntu-
IMAGE ami-ol70fuy6 mybucket/
IMAGE ami-qhvha7sg winxp_bucket/
IMAGE ami-8lw4w0x5 mybucket/
IMAGE ami-p3tdhsdm winxp2_
IMAGE ami-mcnbexg8 winxp2_
IMAGE ami-tiny nebula/tiny vishvananda available public x86_64 machine aki-lucid ari-lucid
IMAGE ami-pysc0kg3 winxp_bucket/
IMAGE ami-9bsb0d3n mybucket/
IMAGE ami-r32sryaf winxp_bucket/
IMAGE aki-lucid nebula/lucid-kernel admin available public x86_64 kernel
IMAGE ari-lucid nebula/
IMAGE ami-rv30h74o winxp2_
=======
I am appending the part of the log (screenog.3 for compute) which I believe shows one of the problems:
=======
OperationalError: (OperationalError) database is locked u'UPDATE services SET updated_at=?, report_count=? WHERE services.id = ?' ('2011-01-07 05:07:21.946395', 56, 3)
ERROR:root:
DEBUG:root:instance 1: starting...
DEBUG:root:Running cmd (subprocess): ifconfig vlan100
DEBUG:root:Running cmd (subprocess): ifconfig br100
DEBUG:root:Running cmd (subprocess): sudo ifconfig br100 up
DEBUG:root:Running cmd (subprocess): sudo iptables --delete FORWARD --in-interface br100 -j ACCEPT
DEBUG:root:Running cmd (subprocess): sudo iptables -I FORWARD --in-interface br100 -j ACCEPT
DEBUG:root:Running cmd (subprocess): sudo iptables --delete FORWARD --out-interface br100 -j ACCEPT
DEBUG:root:Running cmd (subprocess): sudo iptables -I FORWARD --out-interface br100 -j ACCEPT
DEBUG:root:instance instance-
DEBUG:root:instance instance-
DEBUG:root:Running cmd (subprocess): mkdir -p /home/alorenzo/
DEBUG:root:Running cmd (subprocess): chmod 0777 /home/alorenzo/
INFO:root:instance instance-
DEBUG:root:Running cmd (subprocess): /usr/bin/curl --fail --silent http://
ERROR:root:model server went away
Traceback (most recent call last):
File "/home/
{'report_
File "/home/
return IMPL.service_
File "/home/
return f(*args, **kwargs)
File "/home/
service_
File "/home/
session.flush()
File "/usr/lib/
self.
File "/usr/lib/
flush_
File "/usr/lib/
rec.
File "/usr/lib/
uow
File "/usr/lib/
execute(
File "/usr/lib/
params)
File "/usr/lib/
return self.__
File "/usr/lib/
context.
File "/usr/lib/
context)
File "/usr/lib/
context)
File "/usr/lib/
cursor.
OperationalError: (OperationalError) database is locked u'UPDATE services SET updated_at=?, report_count=? WHERE services.id = ?' ('2011-01-07 05:10:54.973624', 74, 3)
DEBUG:root:Running cmd (subprocess): /usr/bin/curl --fail --silent http://
DEBUG:root:Running cmd (subprocess): /usr/bin/curl --fail --silent http://
INFO:root:instance instance-
DEBUG:root:Running cmd (subprocess): sudo losetup --find --show /home/alorenzo/
DEBUG:root:Running cmd (subprocess): sudo tune2fs -c 0 -i 0 /dev/loop0
DEBUG:root:Result was 1
DEBUG:root:Running cmd (subprocess): sudo losetup --detach /dev/loop0
WARNING:
Command: sudo tune2fs -c 0 -i 0 /dev/loop0
Exit code: 1
Stdout: 'tune2fs 1.41.11 (14-Mar-2010)\n'
Stderr: "tune2fs: Bad magic number in super-block while trying to open /dev/loop0\
DEBUG:root:Running cmd (subprocess): dd if=/dev/zero of=/home/
DEBUG:root:Running cmd (subprocess): e2fsck -fp /home/alorenzo/
DEBUG:root:Result was 8
DEBUG:root:Running cmd (subprocess): resize2fs /home/alorenzo/
DEBUG:root:Result was 1
ERROR:root:Uncaught exception
Traceback (most recent call last):
File "/home/
return f(*args, **kw)
File "/home/
self.
File "/home/
local_bytes, resize, execute=execute)
File "/home/
execute(
File "/home/
check_
File "/home/
cmd=cmd)
ProcessExecutio
Command: resize2fs /home/alorenzo/
Exit code: 1
Stdout: "Couldn't find valid filesystem superblock.\n"
Stderr: 'resize2fs 1.41.11 (14-Mar-
ERROR:root:instance instance-
Traceback (most recent call last):
File "/home/
self.
File "/home/
raise Error(str(e))
Error: Unexpected error while running command.
Command: resize2fs /home/alorenzo/
Exit code: 1
Stdout: "Couldn't find valid filesystem superblock.\n"
Stderr: 'resize2fs 1.41.11 (14-Mar-
libvir: QEMU error : Domain not found: no domain with matching name 'instance-
ERROR:root:
DEBUG:root:
DEBUG:root:instance 1: terminating
libvir: QEMU error : Domain not found: no domain with matching name 'instance-
libvir: QEMU error : Domain not found: no domain with matching name 'instance-
ERROR:root:in looping call
Traceback (most recent call last):
File "/home/
self.
File "/home/
power_
File "/home/
return IMPL.instance_
File "/home/
return f(*args, **kwargs)
File "/home/
'state_
File "/home/
return IMPL.instance_
File "/home/
return f(*args, **kwargs)
File "/home/
instance_ref = instance_
File "/home/
return f(*args, **kwargs)
File "/home/
raise exception.
NotFound: No instance for id 1
Traceback (most recent call last):
File "/usr/lib/
timer()
File "/usr/lib/
cb(*args, **kw)
File "/usr/lib/
result = function(*args, **kwargs)
File "/home/
timer_
File "/usr/lib/
current.
File "/home/
self.
File "/home/
power_
File "/home/
return IMPL.instance_
File "/home/
return f(*args, **kwargs)
File "/home/
'state_
File "/home/
return IMPL.instance_
File "/home/
return f(*args, **kwargs)
File "/home/
instance_ref = instance_
File "/home/
return f(*args, **kwargs)
File "/home/
raise exception.
NotFound: No instance for id 1
=======
I do have all the other logs (api,network,etc) but there is no way to attach a txt file on this forum.
Thanks for the help
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Vish Ishaya
- Solved:
- Last query:
- Last reply: