Bug 1538783
| Summary: | OSP11 -> OSP12 upgrade: major upgrade composable step fails because ceph-ansible is waiting for user input | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> | ||||
| Component: | openstack-tripleo-common | Assignee: | John Fulton <johfulto> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 12.0 (Pike) | CC: | david.costakos, dbecker, gfidente, johfulto, jschluet, mburns, morazi, rhel-osp-director-maint, samccann, scohen, slinaber, tvignaud, yprokule | ||||
| Target Milestone: | z2 | Keywords: | Regression, Triaged, ZStream | ||||
| Target Release: | 12.0 (Pike) | Flags: | scohen:
needinfo+
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | openstack-tripleo-common-7.6.9-1.el7ost | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-03-28 17:28:51 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: | |||||||
| Attachments: |
|
||||||
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 |
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.