Bug #4235

SSH transfer drivers fail on epilogs with persistent images. They never copy anything back to onemaster.

Added by Hector Sanjuan about 2 years ago. Updated over 1 year ago.

Status:ClosedStart date:12/09/2015
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:Drivers - Storage
Target version:Release 5.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

The "mvds" script (ssh tm_mad) is used to copy persistent images back into the datastore at onemaster, over ssh. Before 4.14 this script scp'ed the images correctly.

Now it ssh-es into the remote machine, does a local SCP from the system datastore to the image datastore in the remote machine and finishes.

I don't see the logic here. The script fails immediately because the image datastore path is not in the remote machine as it tries to do the local scp, as it is a pure SSH datastore.

The rsync for snapshots also happens locally in the remote machine, which does not make much sense either. In the end, there is no attempt to copy anything back to onemaster, even if the remote directory for the image datastore is created manually (in which case the scp succeeds and makes a local copy but then nothing is copied back).

Please let me know if I'm missing something, but for me this breaks every epilog. Here is the related code, as of 4.14:

SRC_PATH="$(arg_path $SRC)" 
SRC_HOST="$(arg_host $SRC)" 
SRC_PATH_SNAP="${SRC_PATH}.snap" 

DST_SNAP="${DST}.snap" 

#-------------------------------------------------------------------------------
# Move the image back to the datastore
#-------------------------------------------------------------------------------

CPSCRIPT=$(cat <<EOF
set -ex

$SCP -r "${SRC_PATH}" "${DST}" 

if [ -d "${SRC_PATH_SNAP}" ]; then
    rsync -r --delete "${SRC_PATH_SNAP}/" "${DST_SNAP}" 
fi
EOF
)

log "Moving $SRC to datastore as $DST" 
ssh_exec_and_log "${SRC_HOST}" "${CPSCRIPT}" "Error copying $SRC to $DST" 

Associated revisions

Revision 360a2bc8
Added by Jaime Melis about 2 years ago

Bug #4235: SSH transfer drivers fail on epilogs with persistent images

Revision 408bd490
Added by Jaime Melis about 2 years ago

Bug #4235: SSH transfer drivers fail on epilogs with persistent images

(cherry picked from commit 360a2bc8c407f41a0c8c82aa31e13a3ce451bc5a)

History

#1 Updated by Ruben S. Montero about 2 years ago

  • Category changed from Drivers - VM to Drivers - Storage
  • Target version set to Release 5.0

Hi Héctor,

$DST should include the hostname of the front-end. Could you paste the transfer.epilog file for one of the failing VMs?, it is located in the VM diectory /var/lib/one/vms/<ID>

THANKS!

#2 Updated by Hector Sanjuan about 2 years ago

  • Target version deleted (Release 5.0)

$DST does not include the hostname of the frontend in my case. Where is $DST set? THANKS!

Here's the whole log, most of it being the epilog...:

Wed Dec 9 17:01:44 2015 [Z0][VM][I]: New state is ACTIVE
Wed Dec 9 17:01:44 2015 [Z0][VM][I]: New LCM state is PROLOG
Wed Dec 9 17:02:36 2015 [Z0][VM][I]: New LCM state is BOOT
Wed Dec 9 17:02:36 2015 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/307/deployment.0
Wed Dec 9 17:02:36 2015 [Z0][VMM][I]: ExitCode: 0
Wed Dec 9 17:02:36 2015 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Wed Dec 9 17:02:44 2015 [Z0][VMM][D]: deploy: Credits set to 256
Wed Dec 9 17:02:44 2015 [Z0][VMM][I]: ExitCode: 0
Wed Dec 9 17:02:44 2015 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy.
Wed Dec 9 17:02:44 2015 [Z0][VMM][I]: ExitCode: 0
Wed Dec 9 17:02:44 2015 [Z0][VMM][I]: Successfully execute network driver operation: post.
Wed Dec 9 17:02:44 2015 [Z0][VM][I]: New LCM state is RUNNING
Wed Dec 9 17:02:45 2015 [Z0][HKM][I]: Success executing Hook: dnsupdate: nsupdate:.
Wed Dec 9 17:08:09 2015 [Z0][VM][I]: New LCM state is SHUTDOWN
Wed Dec 9 17:08:13 2015 [Z0][VMM][I]: one-307 is an invalid domain identifier (rc=-6)
Wed Dec 9 17:08:13 2015 [Z0][VMM][I]: ExitCode: 0
Wed Dec 9 17:08:13 2015 [Z0][VMM][I]: Successfully execute virtualization driver operation: shutdown.
Wed Dec 9 17:08:13 2015 [Z0][VMM][I]: Can't get domid of domain name 'one-307', maybe this domain does not exist.
Wed Dec 9 17:08:13 2015 [Z0][VMM][I]: one-307 is an invalid domain identifier (rc=-6)
Wed Dec 9 17:08:13 2015 [Z0][VMM][I]: ExitCode: 0
Wed Dec 9 17:08:13 2015 [Z0][VMM][I]: Successfully execute network driver operation: clean.
Wed Dec 9 17:08:13 2015 [Z0][VM][I]: New LCM state is EPILOG
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: Command execution fail: /var/lib/one/remotes/tm/ssh/mvds my-dom0.mydomain:/opt/datastores/112/307/disk.0 /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1 307 106
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + SRC=my-dom0.mydomain:/opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + DST=/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + VMID=307
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + DSID=106
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + '[' -z '' ']'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + TMCOMMON=/var/lib/one/remotes/tm/tm_common.sh
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + . /var/lib/one/remotes/tm/tm_common.sh
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ export LANG=C
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ LANG=C
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ '[' -z '' ']'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ ONE_LOCAL_VAR=/var/lib/one
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ ONE_LIB=/usr/lib/one
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ DS_DIR=/var/lib/one/datastores
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ ONE_SH=/usr/lib/one/sh
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ . /usr/lib/one/sh/scripts_common.sh
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ export LANG=C
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ LANG=C
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ export PATH=/bin:/sbin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ PATH=/bin:/sbin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ AWK=awk
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ BASH=/bin/bash
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ CUT=cut
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ CEPH=ceph
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ DATE=date
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ DD=dd
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ DF=df
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ DU=du
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ GREP=grep
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ ISCSIADM=iscsiadm
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ LVCREATE=lvcreate
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ LVREMOVE=lvremove
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ LVRENAME=lvrename
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ LVS=lvs
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ LN=ln
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ MD5SUM=md5sum
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ MKFS=mkfs
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ MKISOFS=genisoimage
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ MKSWAP=mkswap
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ QEMU_IMG=qemu-img
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ RADOS=rados
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ RBD=rbd
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ READLINK=readlink
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ RM=rm
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ SCP=scp
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ SED=sed
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ SSH=ssh
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ SUDO=sudo
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ SYNC=sync
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ TAR=tar
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ TGTADM=tgtadm
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ TGTADMIN=tgt-admin
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ TGTSETUPLUN=tgt-setup-lun-one
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ TR=tr
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ VGDISPLAY=vgdisplay
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ VMKFSTOOLS=vmkfstools
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ WGET=wget
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++++ uname -s
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ '[' xLinux = xLinux ']'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ SED='sed -r'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++++ basename /var/lib/one/remotes/tm/ssh/mvds
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ SCRIPT_NAME=mvds
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ arg_path my-dom0.mydomain:/opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ echo my-dom0.mydomain:/opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: +++ sed -r 's/^[^:]*:(.*)$/\1/'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ ARG_PATH=/opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ fix_dir_slashes /opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ dirname /opt/datastores/112/307/disk.0/file
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ sed -r 's/\/+/\//g'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + SRC_PATH=/opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ arg_host my-dom0.mydomain:/opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ echo my-dom0.mydomain:/opt/datastores/112/307/disk.0
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ sed -r 's/^([^:]*):.*$/\1/'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + SRC_HOST=my-dom0.mydomain
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + SRC_PATH_SNAP=/opt/datastores/112/307/disk.0.snap
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + DST_SNAP=/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1.snap
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ cat
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + CPSCRIPT='set -ex
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: scp -r "/opt/datastores/112/307/disk.0" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: if [ -d "/opt/datastores/112/307/disk.0.snap" ]; then
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: rsync -r --delete "/opt/datastores/112/307/disk.0.snap/" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1.snap" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: fi'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + log 'Moving my-dom0.mydomain:/opt/datastores/112/307/disk.0 to datastore as /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + log_info 'Moving my-dom0.mydomain:/opt/datastores/112/307/disk.0 to datastore as /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + log_function INFO 'Moving my-dom0.mydomain:/opt/datastores/112/307/disk.0 to datastore as /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + echo 'INFO: mvds: Moving my-dom0.mydomain:/opt/datastores/112/307/disk.0 to datastore as /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: mvds: Moving my-dom0.mydomain:/opt/datastores/112/307/disk.0 to datastore as /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + ssh_exec_and_log my-dom0.mydomain 'set -ex
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: scp -r "/opt/datastores/112/307/disk.0" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: if [ -d "/opt/datastores/112/307/disk.0.snap" ]; then
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: rsync -r --delete "/opt/datastores/112/307/disk.0.snap/" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1.snap" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: fi' 'Error copying my-dom0.mydomain:/opt/datastores/112/307/disk.0 to /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ++ ssh my-dom0.mydomain sh -s
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + SSH_EXEC_ERR='+ scp -r /opt/datastores/112/307/disk.0 /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: cp: cannot create regular file '\''/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'\'': No such file or directory'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + SSH_EXEC_RC=1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + '[' 1 -ne 0 ']'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + log_error 'Command "set -ex
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: scp -r "/opt/datastores/112/307/disk.0" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: if [ -d "/opt/datastores/112/307/disk.0.snap" ]; then
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: rsync -r --delete "/opt/datastores/112/307/disk.0.snap/" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1.snap" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: fi" failed: + scp -r /opt/datastores/112/307/disk.0 /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: cp: cannot create regular file '\''/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'\'': No such file or directory'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + log_function ERROR 'Command "set -ex
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: scp -r "/opt/datastores/112/307/disk.0" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: if [ -d "/opt/datastores/112/307/disk.0.snap" ]; then
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: rsync -r --delete "/opt/datastores/112/307/disk.0.snap/" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1.snap" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: fi" failed: + scp -r /opt/datastores/112/307/disk.0 /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: cp: cannot create regular file '\''/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'\'': No such file or directory'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + echo 'ERROR: mvds: Command "set -ex
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: scp -r "/opt/datastores/112/307/disk.0" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: if [ -d "/opt/datastores/112/307/disk.0.snap" ]; then
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: rsync -r --delete "/opt/datastores/112/307/disk.0.snap/" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1.snap" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: fi" failed: + scp -r /opt/datastores/112/307/disk.0 /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: cp: cannot create regular file '\''/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'\'': No such file or directory'
Wed Dec 9 17:08:13 2015 [Z0][TM][E]: mvds: Command "set -ex
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: scp -r "/opt/datastores/112/307/disk.0" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]:
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: if [ -d "/opt/datastores/112/307/disk.0.snap" ]; then
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: rsync -r --delete "/opt/datastores/112/307/disk.0.snap/" "/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1.snap" 
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: fi" failed: + scp -r /opt/datastores/112/307/disk.0 /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: cp: cannot create regular file '/opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1': No such file or directory
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + '[' -n 'Error copying my-dom0.mydomain:/opt/datastores/112/307/disk.0 to /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1' ']'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + error_message 'Error copying my-dom0.mydomain:/opt/datastores/112/307/disk.0 to /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + echo 'ERROR MESSAGE --8<------'
Wed Dec 9 17:08:13 2015 [Z0][TM][E]: + echo 'Error copying my-dom0.mydomain:/opt/datastores/112/307/disk.0 to /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][TM][E]: Error copying my-dom0.mydomain:/opt/datastores/112/307/disk.0 to /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1
Wed Dec 9 17:08:13 2015 [Z0][TM][E]: + echo 'ERROR MESSAGE ------>8--'
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: + exit 1
Wed Dec 9 17:08:13 2015 [Z0][TM][I]: ExitCode: 1
Wed Dec 9 17:08:13 2015 [Z0][TM][E]: Error executing image transfer script: + echo 'Error copying my-dom0.mydomain:/opt/datastores/112/307/disk.0 to /opt/datastores/106/3743b9573da4254de09b2bc393ad1ea1'
Wed Dec 9 17:08:13 2015 [Z0][VM][I]: New LCM state is EPILOG_FAILURE

#3 Updated by Hector Sanjuan about 2 years ago

  • Target version set to Release 5.0

A quick check is also suggesting that even if the frontend name was added to DST, there is always the issue that the nodes did not need passwordless SSH access to the frontend before, but I might be wrong... in any case I don't seem to find it mentioned in the docs...

(resetting target version-sorry for delete)

#4 Updated by Ruben S. Montero about 2 years ago

  • Status changed from Pending to New
  • Target version changed from Release 5.0 to 82

Hi Héctor,

I've doubled checked with oned code. You are right, this is indeed a bug. We'll look into it ASAP.

Thanks

#6 Updated by Hector Sanjuan about 2 years ago

I can confirm EPILOG transfers work for regular disks, but I haven't yet tried the snapshots functionality.

THANKS

#7 Updated by Martijn Kint almost 2 years ago

We were hit by this as well, I can confirm that the updates script from Jaime fixes this issue.

#8 Updated by Ruben S. Montero almost 2 years ago

  • Target version changed from 82 to Release 5.0

#9 Updated by Javi Fontan over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Jaime Melis
  • Resolution set to fixed

Tested. It works.

Also available in: Atom PDF