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 1935554

Summary: [ceph-ansible] : rolling_update : playbook fails at inject grafana dashboard layouts as grafana container image was not updated
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.0CC: aschoen, ceph-eng-bugs, gabrioux, gmeno, nthomas, vereddy, ykaul
Target Milestone: ---Keywords: Automation, Regression, UpgradeBlocker
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-6.0.2-1.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:28:49 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:

Description Vasishta 2021-03-05 06:06:36 UTC
Description of problem:
While upgrading from rhcs 4.x to 5.x playbook failed at task ceph-facts : set_fact fsid saying 'dict object' has no attribute 'rc'

Version-Release number of selected component (if applicable):
6.0.1-1.el8cp

How reproducible:
Tried once

Steps to Reproduce:
1. Configure rhcs 4.x cluster
2. upgrade cluster to 5.x


Actual results:
2021-03-04 20:31:51,393 - ceph.ceph - INFO - fatal: [ceph-vasishta-1614862552520-node10-grafana]: FAILED! =>
  msg: |-
    The conditional check 'current_fsid.rc != 0' failed. The error was: error while evaluating conditional (current_fsid.rc != 0): 'dict object' has no attribute 'rc'

    The error appears to be in '/usr/share/ceph-ansible/roles/ceph-facts/tasks/facts.yml': line 161, column 7, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:


        - name: set_fact fsid
          ^ here


Expected results:
Cluster must upgraded successfully

Additional info:

Comment 2 Veera Raghava Reddy 2021-03-08 17:46:53 UTC
Hi Guillaume,
Can you look into this BZ. It is blocking upgrade from 4.x to 5.0

Comment 8 Vasishta 2021-03-24 15:34:38 UTC
Working fine with ceph-ansible-6.0.2-1.el8cp
Moving to VERIFIED state

Comment 10 errata-xmlrpc 2021-08-30 08:28:49 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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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-2021:3294