Hello, all:
My os is ubuntu 10.04, I use qemu-launcher to create a kvm image, the image's os is fedora12, and the image run on the qemu-launcher well.then I bundle upload register the image to eucalyptus.When I use the new image to run instance,I find that the instance is running ,but the ip is 0.0.0.0,and in the nc.log ,it writes:
[Thu Aug 5 16:50:07 2010][002551][EUCAERROR ] system(/opt/eucalyptus/usr/lib/eucalyptus/euca_rootwrap /opt/eucalyptus/usr/share/eucalyptus/add_key.pl /opt/eucalyptus/usr/lib/eucalyptus/euca_mountwrap 32256 /usr/local/eucalyptus/admin/i-42E707F3/disk /tmp/sckey.jdIrB8) failed with 256
[Thu Aug 5 16:50:07 2010][002551][EUCAERROR ] ERROR: key injection / tune2fs command failed
so I need your help, thank you!
cheers
lisiyang
Hello,
the failure in injecting the key, could prevent you from loggin into your instance: it is unrelated to your instance not getting the IP. Can you tell us more about your eucalyptus configuration, your network configuration and if you see other errors on the CC or NC log? Also did you upload the partition or all the disk? Does your system works with our prepackaged images?
cheers
graziano
yes, i use the system mode and i can get the ip.the instance can run successfully,but i cannot use the key to login the instance ,but i can use the password of root which i get during the installing os to login the instance . i want to use the key to login the os ,can you tell me how the get it ?
Hello,
I'm not sure why the command fails: I'd suggest you to login as the eucalyptus user and try to run the same command (is the one in the braces after system) and see where does it fail. You may find some errors in httpd-nc_error_log.
Let us know what you find.
cheers
graziano