]> git.proxmox.com Git - pve-manager.git/commit
ceph: mon list: make more robust
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 18 Jun 2019 13:42:49 +0000 (15:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 18 Jun 2019 14:17:35 +0000 (16:17 +0200)
commit78441ff8dad15500e9650757ac63b563bc10f5f8
treeeaa72c4c9ce3d50b7e2de7241699626bab6e7134
parente7e615768f7e9c6e32cb97fc9963ea1654d9de4f
ceph: mon list: make more robust

in a case where we cannot connect to any monitor, we did not get
any info even if we have them via the pmxcfs

so get the RADOS object in an eval, and get the info we have from the
config/pmxcfs, and set the state to unknown if we cannot query via RADOS

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Ceph/MON.pm