]> git.proxmox.com Git - pve-storage.git/commit
fix #1754: rbd: fix handling of external clusters
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 8 May 2018 07:28:56 +0000 (09:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 8 May 2018 08:09:58 +0000 (10:09 +0200)
commit5fc02afb7d2442dffbf0c65543233b17f063868e
treed820b3b9093aee5a3b04ed692a8b04c0e6ed92fd
parentfc05c9a0d8b32e5e2d4886f768ae20478ea46e94
fix #1754: rbd: fix handling of external clusters

with the recent refactoring, external clusters were not handled
correctly with librd if a pveceph or storage specific ceph config
exists.

change the behaviour to include the pveceph config file only for pveceph
managed clusters, and a storage specific one only for external ones.

set mon_host correctly using the values from storage.cfg for external
librbd clusters.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/Storage/RBDPlugin.pm