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
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
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
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