cv4pve-barc
cv4pve-barc copied to clipboard
Cannot take snapshot or backup with cephx disabled
I have originally had auth_client_required = none auth_cluster_required = none auth_service_required = none
in my ceph.conf.
rbd snap create commands work fine in the shell, but they do not work from barc. any idea why?
I don't see anything in the code relating to cephx or keyrings... so why does cephx matter to barc?
user permission?
With cephx = none, I am root and I can run rbd snap create, and it works..... if I invoke barc as root
for example:
eve4pve-barc backup --vmid=101 --label=daily --path=/mnt/pve/ BH01.C3-I/guest_backups/ --renew=7d --retain=7d -- compress=pigz --unprotect-snap
It does nothing, no error and no snapshot
9 | Info | 2020/08/13 02:00 | [.] ACTION: Backup 10 | Info | 2020/08/13 02:00 | [.] Start backup 2020-08-13 02:00:27 11 | Info | 2020/08/13 02:00 | [.] VM 101 - ======== Start backup VMID 101 (Test01 12 | Info | 2020/08/13 02:00 | [.] Test01 13 | Info | 2020/08/13 02:00 | [.] Test01) ======== 14 | Info | 2020/08/13 02:00 | [.] VM 101 - -------- Snapshots Disks VMID 101-------- 15 | Info | 2020/08/13 02:00 | [.] VM 101 - Not running, skipping fsfreeze-freeze 16 | Info | 2020/08/13 02:00 | [.] VM 101 - Not running, skipping fsfreeze-thaw 17 | Info | 2020/08/13 02:00 | [.] VM 101 - -------- Export images -------- 18 | Info | 2020/08/13 02:00 | [.] VM 101 - -------- Copy config -------- 19 | Info | 2020/08/13 02:00 | [.] VM 101 - -------- Housekeeping -------- 20 | Info | 2020/08/13 02:00 | [.] End backup 2020-08-13 02:00:44
Please test new version