Description of problem: OSP11 -> OSP12 upgrade: major upgrade composable step fails because ceph-ansible is waiting for user input: /var/log/mistral/ceph-install-workflow.log: 2018-01-25 13:55:45,889 p=18529 u=mistral | PLAY [confirm whether user really meant to switch from non-containerized to containerized ceph daemons] *** 2018-01-25 13:55:45,900 p=18529 u=mistral | TASK [exit playbook, if user did not mean to switch from non-containerized to containerized daemons?] *** 2018-01-25 13:55:45,931 p=18529 u=mistral | fatal: [localhost]: FAILED! => {"changed": false, "msg": "\"Exiting switch-from-non-containerized-to-containerized-ceph-daemons.yml playbook,\n cluster did not switch from non-containerized to containerized ceph daemons.\n To switch from non-containerized to containerized ceph daemons, either say 'yes' on the prompt or\n or use `-e ireallymeanit=yes` on the command line when\n invoking the playbook\"\n"} 2018-01-25 13:55:45,931 p=18529 u=mistral | PLAY RECAP ********************************************************************* Version-Release number of selected component (if applicable): [root@undercloud-0 stack]# rpm -q openstack-tripleo-heat-templates ceph-ansible openstack-tripleo-heat-templates-7.0.3-22.el7ost.noarch ceph-ansible-3.0.14-1.el7cp.noarch How reproducible: 100% Steps to Reproduce: 1. Deploy OSP11 with 3 controllers + 2 computes + 3 ceph nodes 2. Upgrade to OSP12 Actual results: major-upgrade-composable-steps-docker fails Expected results: successful upgrade Additional info: Attaching sosreport.
Created attachment 1386275 [details] sosreport undercloud
Fix from BZ 1480172 is present in ceph-base.yaml (ireallymeanit: yes) According to Mistral's last task [0] for the ceph-ansible, the Heat to mistral call has it but the playbook was called without it [1]. How parameters are passed from Mistral to ceph-ansible was changed recently [2] so I wonder if this type of parameter didn't handle that change. Next step: test that theory. [0] https://github.com/fultonj/tripleo-ceph-ansible/blob/master/see-last-task.sh [1] http://paste.openstack.org/show/653502/ [2] https://review.openstack.org/#/c/528755/1/workbooks/ceph-ansible.yaml
WORKAROUND: 1. Apply this change to /usr/share/tripleo-common/workbooks/ceph-ansible.yaml https://review.openstack.org/#/c/538051/1/workbooks/ceph-ansible.yaml 2. Update Mistral workbook definition mistral workbook-update /usr/share/tripleo-common/workbooks/ceph-ansible.yaml 3. Rerun 'openstack overcloud deploy'
Requesting pm_ack+ via needinfo
*** Bug 1546396 has been marked as a duplicate of this bug. ***
verified
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:0607