Summary: | OSP11 -> OSP12 upgrade: during upgrade the switch-from-non-containerized-to-containerized-ceph-daemons.yml provided by ceph-ansible fails because it requires user input | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> |
Component: | openstack-tripleo-heat-templates | Assignee: | Giulio Fidente <gfidente> |
Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 12.0 (Pike) | CC: | adeza, aschoen, ceph-eng-bugs, dbecker, dmatthew, gfidente, gmeno, jdurgin, johfulto, jomurphy, lhh, mburns, mcornea, morazi, nlevine, nthomas, rhel-osp-director-maint, sankarshan, srevivo, tvignaud |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 12.0 (Pike) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-7.0.0-0.20170821194253.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-13 21:51:30 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: |
Description
Marius Cornea
2017-08-10 10:23:35 UTC
Content of the playbook.yaml file is as follows: # more playbook.yaml /home/stack/switch-from-non-containerized-to-containerized-ceph-daemons.yml Looks like the playbook to run is misintepreted as a string to build the playbook from instead of copying the contents of the file into playbook.yaml I believe the issue is that /home/stack/switch-from-non-containerized-to-containerized-ceph-daemons.yml was not readable by mistral. If we set CephAnsiblePlaybook: to /usr/share/ceph-ansible/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml the playbook should run (and probably fail later on something different). Can you confirm the above relaunching the upgrade? (In reply to Giulio Fidente from comment #3) > I believe the issue is that > /home/stack/switch-from-non-containerized-to-containerized-ceph-daemons.yml > was not readable by mistral. > > If we set CephAnsiblePlaybook: to > /usr/share/ceph-ansible/infrastructure-playbooks/switch-from-non- > containerized-to-containerized-ceph-daemons.yml the playbook should run (and > probably fail later on something different). > > Can you confirm the above relaunching the upgrade? So we changed CephAnsiblePlaybook to point to the one provided in /usr/share and now it failed as the playbook requires user input: https://github.com/ceph/ceph-ansible/blob/master/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml#L11-L15 We can workaround the prompt passing its value via THT verified on openstack-tripleo-heat-templates-7.0.3-6.el7ost.noarch 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/RHEA-2017:3462 |