Please, describe the problem here and provide additional information below (if applicable) …
I just installed OpenNebula according the instruction at the OpenNebula site and am now on the step where I will test the installation according to the instructions at http://docs.opennebula.org/5.4/deployment/node_installation/verify.html#verify-installation. I get the following error when trying to instanciate an VM.
> Fri Sep 15 21:16:37 2017 [Z0][VM][I]: New state is ACTIVE
> Fri Sep 15 21:16:37 2017 [Z0][VM][I]: New LCM state is PROLOG
> Fri Sep 15 21:16:38 2017 [Z0][TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone front1.dasilva.network:/var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0 2 102
> Fri Sep 15 21:16:38 2017 [Z0][TM][I]: clone: Cloning /var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d in nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0
> Fri Sep 15 21:16:38 2017 [Z0][TM][E]: clone: Command "cd /var/lib/one/datastores/103/2; rm -f /var/lib/one/datastores/103/2/disk.0; cp /var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d /var/lib/one/datastores/103/2/disk.0 " failed: cp: cannot create regular file '/var/lib/one/datastores/103/2/disk.0': Permission denied
> Fri Sep 15 21:16:38 2017 [Z0][TM][E]: Error copying front1.dasilva.network:/var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d to nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0
> Fri Sep 15 21:16:38 2017 [Z0][TM][I]: ExitCode: 1
> Fri Sep 15 21:16:39 2017 [Z0][TM][E]: Error executing image transfer script: Error copying front1.dasilva.network:/var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d to nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0
> Fri Sep 15 21:16:39 2017 [Z0][VM][I]: New LCM state is PROLOG_FAILURE
Here are the datastores attributes:
Datastore 0 System
ALLOW_ORPHANS NO
DISK_TYPE FILE
DS_MIGRATE YES
RESTRICTED_DIRS /
SAFE_DIRS /var/tmp
SHARED YES
TM_MAD shared
TYPE SYSTEM_DS
** Datastore 1 default **
ALLOW_ORPHANS NO
CLONE_TARGET SYSTEM
DISK_TYPE FILE
DS_MAD fs
LN_TARGET NONE
RESTRICTED_DIRS /
SAFE_DIRS /var/tmp
TM_MAD shared
TYPE IMAGE_DS
** Datastore 2 files **
ALLOW_ORPHANS NO
CLONE_TARGET SYSTEM
DS_MAD fs
LN_TARGET NONE
RESTRICTED_DIRS /
SAFE_DIRS /var/tmp
TM_MAD shared
TYPE FILE_DS
Versions of the related components and OS (frontend, hypervisors, VMs):
OpenNebula v5.4.0 running on VirtualBox using Libvirt.
Steps to reproduce:
Follow instruction outlined in the document http://docs.opennebula.org/5.4/deployment/opennebula_installation/index.html and run the test outlined in the page: Verify Installation.
Current results:
Got the following error:
Fri Sep 15 21:16:37 2017 [Z0][VM][I]: New state is ACTIVE
Fri Sep 15 21:16:37 2017 [Z0][VM][I]: New LCM state is PROLOG
Fri Sep 15 21:16:38 2017 [Z0][TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone front1.dasilva.network:/var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0 2 102
Fri Sep 15 21:16:38 2017 [Z0][TM][I]: clone: Cloning /var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d in nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0
Fri Sep 15 21:16:38 2017 [Z0][TM][E]: clone: Command "cd /var/lib/one/datastores/103/2; rm -f /var/lib/one/datastores/103/2/disk.0; cp /var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d /var/lib/one/datastores/103/2/disk.0 " failed: cp: cannot create regular file ‘/var/lib/one/datastores/103/2/disk.0’: Permission denied
Fri Sep 15 21:16:38 2017 [Z0][TM][E]: Error copying front1.dasilva.network:/var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d to nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0
Fri Sep 15 21:16:38 2017 [Z0][TM][I]: ExitCode: 1
Fri Sep 15 21:16:39 2017 [Z0][TM][E]: Error executing image transfer script: Error copying front1.dasilva.network:/var/lib/one/datastores/102/cf51861787298d32feeee5e3cd66647d to nebula2.dasilva.network:/var/lib/one/datastores/103/2/disk.0
Fri Sep 15 21:16:39 2017 [Z0][VM][I]: New LCM state is PROLOG_FAILURE
Expected results:
VM should be instatiated according to the documentation.