[one-users] VM starting failed
Daniel.Moldovan at cs.utcluj.ro
Daniel.Moldovan at cs.utcluj.ro
Mon Mar 26 02:33:00 PDT 2012
1. Make sure you have defined the hosts drivers properly (there is no
"file" driver as option ) when issuing "onehost create ". See
http://opennebula.org/documentation:rel3.2:host_guide
2. I think that you do not provide a valid image path for the VM in the
template using "SOURCE=/var/lib/one/images/CentOS/,". I think it should be
a path to an existing image or just create the disk on the fly and to not
mention "path" (using fs type).
În Lun, Martie 26, 2012 12:06 pm, Lukáš Vízner a scris:
> Hi,
>
>
> I am new so I apologize if I send this for bad e-mail address.
>
>
> I have problem with starting a VM, here is the log:
>
>
> Mon Mar 26 06:00:09 2012 [DiM][I]: New VM state is ACTIVE.
> Mon Mar 26 06:00:09 2012 [LCM][I]: New VM state is PROLOG.
> Mon Mar 26 06:00:09 2012 [VM][I]: Virtual Machine has no context
> Mon Mar 26 06:01:33 2012 [TM][D]: tm_clone.sh:
> frondend:/var/lib/one/images/CentOS/
> 192.168.100.3:/var/lib/one//16/images/disk.0
> Mon Mar 26 06:01:33 2012 [TM][D]: tm_clone.sh: DST:
> /var/lib/one//16/images/disk.0
> Mon Mar 26 06:01:33 2012 [TM][I]: tm_clone.sh: Creating directory disk.0
> Mon Mar 26 06:01:33 2012 [TM][I]: tm_clone.sh: Executed "mkdir -p
> /var/lib/one//16/images/disk.0".
> Mon Mar 26 06:01:33 2012 [TM][I]: tm_clone.sh: Executed "chmod a+rw
> /var/lib/one//16/images/disk.0".
> Mon Mar 26 06:01:33 2012 [TM][I]: tm_clone.sh: Cloning
> /var/lib/one/images/CentOS/
> Mon Mar 26 06:01:33 2012 [TM][I]: tm_clone.sh: Executed "cp -r
> /var/lib/one/images/CentOS//* /var/lib/one//16/images/disk.0".
> Mon Mar 26 06:01:33 2012 [TM][I]: ExitCode: 0
> Mon Mar 26 06:01:33 2012 [LCM][I]: New VM state is BOOT
> Mon Mar 26 06:01:33 2012 [VMM][I]: Generating deployment file:
> /var/lib/one/16/deployment.0
> Mon Mar 26 06:01:33 2012 [VMM][I]: ExitCode: 0
> Mon Mar 26 06:01:33 2012 [VMM][I]: Successfully execute network driver
> operation: pre.
> Mon Mar 26 06:01:39 2012 [VMM][I]: Command execution fail:
> /var/lib/one/remotes/vmm/vmware/deploy /var/lib/one/16/deployment.0
> 192.168.100.3 16 192.168.100.3
> Mon Mar 26 06:01:39 2012 [VMM][E]: deploy: Error executing: virsh -c
> esx://192.168.100.3/?no_verify=1 define /var/lib/one/16/deployment.0 err:
> ExitCode: 1
> Mon Mar 26 06:01:39 2012 [VMM][I]: out:
> Mon Mar 26 06:01:39 2012 [VMM][I]: error: Failed to define domain from
> /var/lib/one/16/deployment.0
> Mon Mar 26 06:01:39 2012 [VMM][I]: error: internal error Unknown driver
> name 'file' Mon Mar 26 06:01:39 2012 [VMM][I]:
> Mon Mar 26 06:01:39 2012 [VMM][I]: ExitCode: 255
> Mon Mar 26 06:01:39 2012 [VMM][I]: Failed to execute virtualization driver
> operation: deploy.
> Mon Mar 26 06:01:39 2012 [VMM][E]: Error deploying virtual machine
> Mon Mar 26 06:01:39 2012 [DiM][I]: New VM state is FAILED
>
>
> Here is the template:
> ID : 6
> NAME : Centos
> USER : oneadmin
> GROUP : oneadmin
> REGISTER TIME : 03/26 05:45:15
>
>
> PERMISSIONS
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
>
> TEMPLATE CONTENTS
> CPU=1
> DISK=[
> BUS=scsi,
> CLONE=yes,
> READONLY=no,
> SAVE=no,
> SOURCE=/var/lib/one/images/CentOS/,
> TARGET=sda,
> TYPE=file ]
> MEMORY=1024
> NAME=Centos
> NIC=[
> NETWORK=vnet,
> NETWORK_UNAME=oneadmin ]
> OS=[
> ARCH=x86_64 ]
> RAW=[
> TYPE=vmware ]
> TEMPLATE_ID=6
> VCPU=1
>
>
>
> Thank you for help
> Lukas
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list