]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: get ceph version when mons exist
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 29 Jul 2021 16:26:33 +0000 (12:26 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 3 Aug 2021 16:17:47 +0000 (12:17 -0400)
commit7f5b986e019b91d5f68499182b44876db8c295ab
tree314c585c43e33764c1debdd32777b2b8240f65ed
parentc8348ab0d9b7e24cbc6769952a04c470095fa956
rolling_update: get ceph version when mons exist

eec3878 introduced a regression for upgrade scenarios where there's no
monitor nodes at all (like ganesha standalone, external clients, etc..)

TASK [get the ceph release being deployed] ************************************
task path: infrastructure-playbooks/rolling_update.yml:121
Thursday 29 July 2021  15:55:29 +0000 (0:00:00.484)       0:00:15.802 *********
fatal: [client0]: FAILED! =>
  msg: '''dict object'' has no attribute ''mons'''

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit e87a47cf0cc0d01050d0cb94cabbb8bc42db0c57)
infrastructure-playbooks/rolling_update.yml