[one-users] Problem in Running Virtual Machine
Daniel Molina
dmolina at opennebula.org
Mon Aug 13 00:04:32 PDT 2012
Hi,
On 9 August 2012 15:30, shivay veer sharma <shivay.veer at gmail.com> wrote:
> Hi,
>
> I am new user to open nebula we wanted to use open nebula
> as our cloud middleware i have
> HOST - Fedora 16 (i686)
> hypervisor- XEN (version provided by Fedora)
> The image i am using is created by the xen
> running on the host.
> but when i run i get Following error.
> this is my image info
> IMAGE 0 INFORMATION
> ID : 0
> NAME : centOS
> USER : oneadmin
> GROUP : oneadmin
> DATASTORE : default
> TYPE : OS
> REGISTER TIME : 08/09 17:40:54
> PERSISTENT : No
> SOURCE : /var/lib/one/datastores/1/
> 1b4a602103806f276d7bfe73aa5bb3a3
> PATH : /tmp/thin-body20120809-7003-e9h3mt-0
> SIZE : 8192
>
> - Ignored:
> STATE : rdy
> RUNNING_VMS : 0
>
> PERMISSIONS
>
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> IMAGE TEMPLATE
>
> BUS="ide"
> DEV_PREFIX="xvd"
>
>
>
> this is my template info
> TEMPLATE 0 INFORMATION
>
> ID : 0
> NAME : CentOs-Temp
> USER : oneadmin
> GROUP : oneadmin
> REGISTER TIME : 08/09 18:14:41
>
> PERMISSIONS
>
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> TEMPLATE CONTENTS
>
> GRAPHICS=[
> LISTEN="0.0.0.0",
> TYPE="vnc" ]
> MEMORY="512"
> NAME="CentOs-Temp"
> NIC=[
> NETWORK="testNW",
> NETWORK_UNAME="oneadmin" ]
> OS=[
> BOOTLOADER="/usr/bin/pygrub" ]
> RAW=[
> TYPE="xen" ]
> TEMPLATE_ID="0"
> VCPU="2"
>
>
You have to include a DISK [1] in your template:
DISK=[IMAGE_ID=0]
[1] http://opennebula.org/documentation:rel3.6:template#disks_section
Cheers
>
> LOGs
>
> Thu Aug 9 18:53:01 2012 [DiM][I]: New VM state is ACTIVE.
> Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is PROLOG.
> Thu Aug 9 18:53:01 2012 [VM][I]: Virtual Machine has no context
> Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is BOOT
> Thu Aug 9 18:53:01 2012 [VMM][I]: Generating deployment file:
> /var/lib/one/3/deployment.0
> Thu Aug 9 18:53:02 2012 [VMM][I]: ExitCode: 0
> Thu Aug 9 18:53:02 2012 [VMM][I]: Successfully execute network driver
> operation: pre.Thu Aug 9 18:53:02 2012 [VMM][I]: Command execution
> fail: cat << EOT | /var/tmp/one/vmm/xen/deploy
> /var/lib/one//datastores/0/3/deployment.0 shivay.cdacb.in 3
> shivay.cdacb.inThu Aug 9 18:53:02 2012 [VMM][I]: Error: Had a
> bootloader specified, but no disks are bootableThu Aug 9 18:53:02
> 2012 [VMM][E]: Unable
> Thu Aug 9 18:53:02 2012 [VMM][I]: ExitCode: 1
> Thu Aug 9 18:53:02 2012 [VMM][I]: Failed to execute virtualization
> driver operation: deploy.Thu Aug 9 18:53:02 2012 [VMM][E]: Error
> deploying virtual machine: Unable
> Thu Aug 9 18:53:03 2012 [DiM][I]: New VM state is FAILED
>
> Not able to understand what is it please tell me ASAP
>
> Thanks and Regards
>
> Shivay veer Sharma
>
> - Done.
>
>
>
> ---------- Forwarded message ----------
> From: shivay veer sharma <shivay.veer at gmail.com>
> To: users-request at lists.opennebula.org
> Cc:
> Date: Thu, 9 Aug 2012 18:56:14 +0530
> Subject: Problem In running Virtual Machine
> hi,
>
> I am new user to open nebula we wanted to use open nebula
> as our cloud middleware i have
> HOST - Fedora 16 (i686)
> hypervisor- XEN (version provided by Fedora)
> The image i am using is created by the xen
> running on the host.
>
> but when i run i get Following error.
>
> this is my image info
> IMAGE 0 INFORMATION
>
> ID : 0
> NAME : centOS
> USER : oneadmin
> GROUP : oneadmin
> DATASTORE : default
> TYPE : OS
> REGISTER TIME : 08/09 17:40:54
> PERSISTENT : No
> SOURCE : /var/lib/one/datastores/1/1b4a602103806f276d7bfe73aa5bb3a3
> PATH : /tmp/thin-body20120809-7003-e9h3mt-0
> SIZE : 8192
> STATE : rdy
> RUNNING_VMS : 0
>
> PERMISSIONS
>
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> IMAGE TEMPLATE
>
> BUS="ide"
> DEV_PREFIX="xvd"
>
>
>
> this is my template info
> TEMPLATE 0 INFORMATION
>
> ID : 0
> NAME : CentOs-Temp
> USER : oneadmin
> GROUP : oneadmin
> REGISTER TIME : 08/09 18:14:41
>
> PERMISSIONS
>
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> TEMPLATE CONTENTS
>
> GRAPHICS=[
> LISTEN="0.0.0.0",
> TYPE="vnc" ]
> MEMORY="512"
> NAME="CentOs-Temp"
> NIC=[
> NETWORK="testNW",
> NETWORK_UNAME="oneadmin" ]
> OS=[
> BOOTLOADER="/usr/bin/pygrub" ]
> RAW=[
> TYPE="xen" ]
> TEMPLATE_ID="0"
> VCPU="2"
>
>
> LOGs
>
> Thu Aug 9 18:53:01 2012 [DiM][I]: New VM state is ACTIVE.
> Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is PROLOG.
> Thu Aug 9 18:53:01 2012 [VM][I]: Virtual Machine has no context
> Thu Aug 9 18:53:01 2012 [LCM][I]: New VM state is BOOT
> Thu Aug 9 18:53:01 2012 [VMM][I]: Generating deployment file: /var/lib/one/3/deployment.0
> Thu Aug 9 18:53:02 2012 [VMM][I]: ExitCode: 0
> Thu Aug 9 18:53:02 2012 [VMM][I]: Successfully execute network driver operation: pre.Thu Aug 9 18:53:02 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one//datastores/0/3/deployment.0 shivay.cdacb.in 3 shivay.cdacb.inThu Aug 9 18:53:02 2012 [VMM][I]: Error: Had a bootloader specified, but no disks are bootable
> Thu Aug 9 18:53:02 2012 [VMM][E]: Unable
> Thu Aug 9 18:53:02 2012 [VMM][I]: ExitCode: 1
> Thu Aug 9 18:53:02 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
> Thu Aug 9 18:53:02 2012 [VMM][E]: Error deploying virtual machine: Unable
> Thu Aug 9 18:53:03 2012 [DiM][I]: New VM state is FAILED
>
> Not able to understand what is it please tell me ASAP
>
> Thanks and Regards
>
> Shivay veer Sharma
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120813/f9cba701/attachment-0002.htm>
More information about the Users
mailing list