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

Cannot take snapshot or backup with cephx disabled #69

Open
alyarb opened this issue Aug 13, 2020 · 3 comments
Open

Cannot take snapshot or backup with cephx disabled #69

alyarb opened this issue Aug 13, 2020 · 3 comments

Comments

@alyarb
Copy link

alyarb commented Aug 13, 2020

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?

@franklupo
Copy link
Member

user permission?

@alyarb
Copy link
Author

alyarb commented Aug 13, 2020

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

@franklupo
Copy link
Member

Please test new version

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

2 participants