gdeploy icon indicating copy to clipboard operation
gdeploy copied to clipboard

restore snapshot fails

Open mkudlej opened this issue 7 years ago • 0 comments

I've created snapshot with

[hosts]
mkudlej-usm1-gl1
mkudlej-usm1-gl2
mkudlej-usm1-gl3
mkudlej-usm1-gl4
mkudlej-usm1-gl5
mkudlej-usm1-gl6

[snapshot]
action=create
snapname=snap_alpha1
volname=mkudlej-usm1-gl1:volume_usmqe_alpha_distrep_6x2
force=yes

then I've added and removed some files in volume volume_usmqe_alpha_distrep_6x2 and I've would like to restore snapshot snap_alpha1 with

[hosts]
mkudlej-usm1-gl1
mkudlej-usm1-gl2
mkudlej-usm1-gl3
mkudlej-usm1-gl4
mkudlej-usm1-gl5
mkudlej-usm1-gl6

[snapshot]
action=restore
snapname=snap_alpha1

but it failed with this error

$ gdeploy -c snapshot.restore.conf 
ERROR! Syntax Error while loading YAML.


The error appears to have been in '/tmp/tmp4K93tM/gluster-snapshot-restore.yml': line 10, column 1, but may
be elsewhere in the file depending on the exact syntax problem.

(specified line no longer in file, maybe it changed?)
Ignoring errors...

I use gdeploy-2.0.2-7.noarch from https://copr-be.cloud.fedoraproject.org/results/sac/gdeploy/epel-7-$basearch/

mkudlej avatar Oct 03 '17 08:10 mkudlej