copr-be: autoactivate volume group

I think this is caused by (run against the previous backend instance):
fb1acfb6fd/play-vm-migration-02-migrate-backend-box.yml (L68-L71)
This commit is contained in:
Pavel Raiskup 2024-11-29 21:39:28 +01:00
parent d892f37f67
commit 19ee01836b

View file

@ -36,7 +36,7 @@
- name: scan and assemble raid volumes and activate volume groups
when: not stat_repo_fs.stat.exists
shell: mdadm --assemble --scan && sleep 5 && vgchange -a y && sleep 5
shell: mdadm --assemble --scan && sleep 5 && vgchange -a y && vgchange copr-backend-data --setautoactivation y && sleep 5
- name: stat the ext4 filesystem
stat: path=/dev/disk/by-label/copr-repo