Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1773851

Summary: ceph-ansible is failing for rolling upgrade from ceph 3.3z1 to ceph 4.0
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Uday kurundwade <ukurundw>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Uday kurundwade <ukurundw>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.0CC: aschoen, ceph-eng-bugs, dsavinea, gmeno, jharriga, nthomas, racpatel, tserlin, vumrao, ykaul
Target Milestone: rcKeywords: TestBlocker
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.5-1.el8cp, ceph-ansible-4.0.5-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 12:48:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1750994    

Description Uday kurundwade 2019-11-19 06:04:46 UTC
Description of problem:
ceph-ansible is failing for rolling upgrade from ceph 3.3z1 to ceph 4.0

Version-Release number of selected component (if applicable):
ansible-2.8.6-1.el7ae.noarch
ceph-ansible-4.0.4-1.el7cp.noarch

How reproducible:
Always

Steps to Reproduce:
1.Deploy 3.3z1 cluster
2.Run rolling upgrade for ceph 4.0

Actual results:
Upgrade is failing for mds since there is no mds in cluster

TASK [set_fact mds_active_name] **************************************************************************************************************************************************************************************************************
Monday 18 November 2019  19:22:24 +0000 (0:00:00.049)       9:49:18.162 *******
fatal: [f10-h29-b07-5039ms]: FAILED! =>
  msg: 'Unexpected templating type error occurred on ({{ (_mds_active_name.stdout | from_json).filesystems[0][''mdsmap''][''info''] }}): expected string or buffer'


Expected results:
It should not look for mds if it is not there in inventory file

Additional info:

Comment 8 errata-xmlrpc 2020-01-31 12:48:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0312