[one-users] VM Failure

Carlos Martín Sánchez cmartin at opennebula.org
Thu Jul 5 06:53:32 PDT 2012


Hi,

Is the datastore using the "shared" tm_mad driver [1]? Can you check if the
datastores are correctly exported to the Host, and with the right
permissions so oneadmin can use them?

Regards

[1] http://opennebula.org/documentation:rel3.4:fs_ds
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>



On Fri, Jun 29, 2012 at 1:19 PM, Mohamed Mohamed <
mohamed.mohamed at telecom-sudparis.eu> wrote:

> Hi all,
> Since i have some problems launching VMs i tried to use the image provided by opennebula marketplace (Ubuntu Server 12.04 (Precise Pangolin) - kvm)
>
> But when i try to launch the vm it passes to fail status showing this error:
>
>
>
> Fri Jun 29 11:44:44 2012 [DiM][I]: New VM state is ACTIVE.
> Fri Jun 29 11:44:45 2012 [LCM][I]: New VM state is PROLOG.
> Fri Jun 29 11:44:45 2012 [VM][I]: Virtual Machine has no context
> Fri Jun 29 11:44:45 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone frontend-Precision-WorkStation-T3500:/var/lib/one/datastores/1/47d35b54f22dd089065fb9462cb73dfa 157.159.110.193:/var/lib/one//datastores/0/36/disk.0 36 1
> Fri Jun 29 11:44:45 2012 [TM][I]: clone: Cloning ../../1/47d35b54f22dd089065fb9462cb73dfa in 157.159.110.193:/var/lib/one//datastores/0/36/disk.0Fri Jun 29 11:44:45 2012 [TM][E]: clone: Command "cd /var/lib/one/datastores/0/36; cp -rf ../../1/47d35b54f22dd089065fb9462cb73dfa /var/lib/one/datastores/0/36/disk.0" failed: cp: impossible d'évaluer «../../1/47d35b54f22dd089065fb9462cb73dfa»: Aucun fichier ou dossier de ce typeFri Jun 29 11:44:45 2012 [TM][E]: Error copying frontend-Precision-WorkStation-T3500:/var/lib/one/datastores/1/47d35b54f22dd089065fb9462cb73dfa to 157.159.110.193:/var/lib/one//datastores/0/36/disk.0
> Fri Jun 29 11:44:45 2012 [TM][I]: ExitCode: 1Fri Jun 29 11:44:45 2012 [TM][E]: Error executing image transfer script: Error copying frontend-Precision-WorkStation-T3500:/var/lib/one/datastores/1/47d35b54f22dd089065fb9462cb73dfa to 157.159.110.193:/var/lib/one//datastores/0/36/disk.0
> Fri Jun 29 11:44:46 2012 [DiM][I]: New VM state is FAILED
>
>
>
>
> The description of this vm (template) is the following
> $onevm show 36
>
>
> VIRTUAL MACHINE 36 INFORMATION
>
> ID                  : 36
> NAME                : ubuntuKVM
> USER                : oneadmin
> GROUP               : oneadmin
> STATE               : FAILED
>
> LCM_STATE           : LCM_INIT
> RESCHED             : No
> START TIME          : 06/29 11:29:01
> END TIME            : 06/29 11:44:46
> DEPLOY ID           : -
>
> VIRTUAL MACHINE MONITORING
> NET_TX              : 0
> USED CPU            : 0
> USED MEMORY         : 0
>
> NET_RX              : 0
>
> PERMISSIONS
> OWNER               : um-
> GROUP               : ---
>
> OTHER               : ---
>
> VIRTUAL MACHINE TEMPLATE
> CPU="1"
> DISK=[
>   CLONE="YES",
>   DATASTORE="default",
>
>   DATASTORE_ID="1",
>   DEV_PREFIX="hd",
>   DISK_ID="0",
>   IMAGE="Ubuntu Server 12.04 kvm",
>   IMAGE_ID="10",
>   IMAGE_UNAME="oneadmin",
>   READONLY="NO",
>
>   SAVE="NO",
>   SOURCE="/var/lib/one/datastores/1/47d35b54f22dd089065fb9462cb73dfa",
>   TARGET="hda",
>   TM_MAD="shared",
>   TYPE="FILE" ]
> ERROR=[
>   MESSAGE="Error executing image transfer script: Error copying frontend-Precision-WorkStation-T3500:/var/lib/one/datastores/1/47d35b54f22dd089065fb9462cb73dfa to node:/var/lib/one//datastores/0/36/disk.0",
>
>   TIMESTAMP="Fri Jun 29 11:44:45 2012" ]
> GRAPHICS=[
>   LISTEN="0.0.0.0",
>   PORT="5936",
>   TYPE="vnc" ]
> INPUT=[
>   BUS="usb",
>   TYPE="mouse" ]
>
> MEMORY="512"
> NAME="ubuntuKVM"
> NIC=[
>   BRIDGE="br0",
>   IP="10.0.0.2",
>   MAC="02:00:0a:00:00:02",
>   NETWORK="Virtual Network 1",
>   NETWORK_ID="0",
>
>   NETWORK_UNAME="oneadmin",
>   PHYDEV="eth0",
>   VLAN="YES" ]
> OS=[
>   ARCH="x86_64",
>   BOOT="hd" ]
> RAW=[
>   TYPE="kvm" ]
> TEMPLATE_ID="10"
>
> VCPU="1"
> VMID="36"
>
> Any suggestions?
> Best;
> Mohamed
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120705/d45e0888/attachment-0002.htm>


More information about the Users mailing list