Open aderumier opened 6 years ago
Hi,
currently rbd commands don't specify specifc monitors or specific ceph.conf.
That mean that it's only work with the cluster defined in /etc/pve/conf
This could be great to be able to add
1) another ceph.conf (rbd -c /path/ceph.conf) or 2) pass monitor address to command line (rbd -m ip1;ip2;ip3)
and cephx auth + keyring if supported
proxmox code is
/usr/share/perl5/PVE/Storage/RBDPlugin.pm
if ($pveceph_managed) { push @$cmd, '-c', $pveceph_config; } else { push @$cmd, '-m', $hostlist->($scfg->{monhost}, ','); push @$cmd, '--auth_supported', -e $keyring ? 'cephx' : 'none'; } if (-e $keyring) { push @$cmd, '-n', "client.$username"; push @$cmd, '--keyring', $keyring; }
Hi, in new version.
Best regards
Hello,
It will be great if this update was done :)
I have 2 ceph cluster and i can't backup the second one.
PS : your script is great
Hi,
currently rbd commands don't specify specifc monitors or specific ceph.conf.
That mean that it's only work with the cluster defined in /etc/pve/conf
This could be great to be able to add
1) another ceph.conf (rbd -c /path/ceph.conf) or 2) pass monitor address to command line (rbd -m ip1;ip2;ip3)
and cephx auth + keyring if supported
proxmox code is
/usr/share/perl5/PVE/Storage/RBDPlugin.pm