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 1544029

Summary: "msg": "The conditional check 'not jewel_minor_update' failed.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Coady LaCroix <clacroix>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.0CC: adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan, vakulkar, vashastr
Target Milestone: z1   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.25-1.el7cp Ubuntu: ceph-ansible_3.0.25-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-08 15:54:03 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 Coady LaCroix 2018-02-09 22:22:26 UTC
Description of problem:
Rolling update from 3.0 to 3.0z fails

Version-Release number of selected component (if applicable):
3.0 being updated to 3.0z

How reproducible:
Execute rolling_update from 3.0 to 3.0z using ceph-ansible

Steps to Reproduce:
1. Install ceph 3.0 using ceph-ansible
2. Execute rolling_update playbook to update to 3.0z
3. View playbook results

Actual results:
Failed update from 3.0 to 3.0z with the following fatal step on each monitor node

fatal: [ceph-clacroix-run272-node1-mon]: FAILED! => {"msg": "The conditional check 'not jewel_minor_update' failed. The error was: error while evaluating conditional (not jewel_minor_update): 'jewel_minor_update' is undefined\n\nThe error appears to have been in '/home/cephuser/ceph-ansible/rolling_update.yml': line 362, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: get osd versions\n      ^ here\n"}

Expected results:
Successful rolling update

Additional info:
command used to execute playbook:

ansible-playbook -e ireallymeanit=yes -vv -i hosts rolling_update.yml

fatal tasks and recap:
TASK [get osd versions] *******************************************************************************************************************************************************************************************
task path: /home/cephuser/ceph-ansible/rolling_update.yml:362
fatal: [ceph-clacroix-run272-node1-mon]: FAILED! => {"msg": "The conditional check 'not jewel_minor_update' failed. The error was: error while evaluating conditional (not jewel_minor_update): 'jewel_minor_update' is undefined\n\nThe error appears to have been in '/home/cephuser/ceph-ansible/rolling_update.yml': line 362, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: get osd versions\n      ^ here\n"}
fatal: [ceph-clacroix-run272-node3-mon]: FAILED! => {"msg": "The conditional check 'not jewel_minor_update' failed. The error was: error while evaluating conditional (not jewel_minor_update): 'jewel_minor_update' is undefined\n\nThe error appears to have been in '/home/cephuser/ceph-ansible/rolling_update.yml': line 362, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: get osd versions\n      ^ here\n"}
fatal: [ceph-clacroix-run272-node2-mon]: FAILED! => {"msg": "The conditional check 'not jewel_minor_update' failed. The error was: error while evaluating conditional (not jewel_minor_update): 'jewel_minor_update' is undefined\n\nThe error appears to have been in '/home/cephuser/ceph-ansible/rolling_update.yml': line 362, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: get osd versions\n      ^ here\n"}

PLAY RECAP ********************************************************************************************************************************************************************************************************
ceph-clacroix-run272-node1-mon : ok=81   changed=8    unreachable=0    failed=1   
ceph-clacroix-run272-node2-mon : ok=81   changed=8    unreachable=0    failed=1   
ceph-clacroix-run272-node3-mon : ok=79   changed=8    unreachable=0    failed=1   
ceph-clacroix-run272-node4-osd : ok=77   changed=7    unreachable=0    failed=0   
ceph-clacroix-run272-node5-osd : ok=77   changed=7    unreachable=0    failed=0   
ceph-clacroix-run272-node6-osd : ok=77   changed=7    unreachable=0    failed=0   
ceph-clacroix-run272-node7-mgr : ok=53   changed=6    unreachable=0    failed=0   
localhost                  : ok=1    changed=0    unreachable=0    failed=0

Comment 3 Vasu Kulkarni 2018-02-09 22:28:31 UTC
setting milestone for z1

Comment 4 Andrew Schoen 2018-02-12 20:58:09 UTC
Upstream PR: https://github.com/ceph/ceph-ansible/pull/2392

Comment 7 Harish NV Rao 2018-02-14 13:31:45 UTC
@Ken, can you please move this bug to ON_QA state?

Comment 9 Vasu Kulkarni 2018-02-14 23:15:47 UTC
Verification of this bz depends on this bz1544029

Comment 10 Vasu Kulkarni 2018-02-14 23:16:51 UTC
Verification of this bz depends on this bz1545443

Comment 11 Coady LaCroix 2018-02-19 22:34:42 UTC
Verified that ceph-ansible rolling_update from 3.0 to 3.0z no longer results in "msg": "The conditional check 'not jewel_minor_update' failed.

Version     : 3.0.25
Release     : 1.el7cp

Comment 14 errata-xmlrpc 2018-03-08 15:54:03 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-2018:0474