[one-users] Error: Cannot find kernel "/boot/vmlinuz...

Rasika Karunathilaka rasika.karunathilaka at yahoo.com
Fri Jul 8 00:48:24 PDT 2011


hi All,
 I am a new user on OpenNebula, who is trying to build cloud environment using Xen . My cloud front end and Xen cluster node is running on Open Suse. I am trying to deploy Fedora image through Cloud. I have created the fedora xen virtual image which has following kernel configuration.

"/boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE",
"/boot/initramfs-2.6.31.5-127.fc12.i686.PAE.img", 
 
Now my vm definition file (myVM.one) in open nebula has;

Name = Fedora12
CPU =   0.5
MEMORY  =       512
OS = [
        KERNEL  = "/boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE",
        INITRD  = "/boot/initramfs-2.6.31.5-127.fc12.i686.PAE.img",
        ROOT    = "sda1"
]
DISK    = [
        IMAGE   = "Fedora 12"
]
CONTEXT = [
        HOSTNAME        =       vm1,
        USERNAME        =       "oneadmin",
        IP_PRIVATE      =       "$NIC[IP]",
        IP_GEN          =       "192.168.104.$VMID",
        FILES           =       "/vms_configuration/id_rsa.pub /vms_configuration/init.sh",
        TARGET          =       "hdb"
]


however, when I try to deploy the vm image using , "onevm create myVm.one" it fails with following error at vm.log;

Fri Jul  8 03:21:44 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/mkisofs -o /srv/cloud/one/var/17/images/disk.1 -J -R /srv/cloud/one/var/17/images/isofiles".
Fri Jul  8 03:21:44 2011 [TM][I]: tm_context.sh: Executed "rm -rf /srv/cloud/one/var/17/images/isofiles".
Fri Jul  8 03:21:44 2011 [LCM][I]: New VM state is BOOT
Fri Jul  8 03:21:44 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/17/deployment.0
Fri Jul  8 03:21:45 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy /srv/cloud/images/cloud2/17/images/deployment.0; else                              exit 42; fi'
Fri Jul  8 03:21:45 2011 [VMM][I]: STDERR follows.
Fri Jul  8 03:21:45 2011 [VMM][I]: Error: Cannot find kernel "/boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE"
Fri Jul  8 03:21:45 2011 [VMM][I]: ExitCode: 1
Fri Jul  8 03:21:45 2011 [VMM][E]: Error deploying virtual machine: Error: Cannot find kernel "/boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE"
Fri Jul  8 03:21:46 2011 [DiM][I]: New VM state is FAILED
Fri Jul  8 03:21:46 2011 [TM][W]: Ignored: LOG - 17 tm_delete.sh: Deleting /srv/cloud/one/var/17/images
Fri Jul  8 03:21:46 2011 [TM][W]: Ignored: LOG - 17 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var/17/images".
Fri Jul  8 03:21:46 2011 [TM][W]: Ignored: TRANSFER SUCCESS 17 -

Appreciate your expert help to resolve this !

Cheers !
Rasika K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110708/7483cc95/attachment-0001.htm>


More information about the Users mailing list