Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore snapshot fails #445

Open
mkudlej opened this issue Oct 3, 2017 · 0 comments
Open

restore snapshot fails #445

mkudlej opened this issue Oct 3, 2017 · 0 comments

Comments

@mkudlej
Copy link

mkudlej commented Oct 3, 2017

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant