Description of problem: Openshift deployment via Director fails due to missing openshift-ansible: [DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook' instead. This feature will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ERROR! Unable to retrieve file contents Could not find or access '/usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml' We should install openshift-ansible automatically or via an option in underlcoud.conf Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Deploy OSP14 undercloud 2. Deploy openshift: openstack overcloud deploy \ --templates \ --disable-validations \ --stack openshift \ -r $HOME/openshift_roles_data.yaml \ -e /usr/share/openstack-tripleo-heat-templates//environments/openshift.yaml \ -e $HOME/openshift_env.yaml \ -e /home/stack/overcloud_images.yaml Actual results: [root@undercloud-0 stack]# tail /var/lib/mistral/49dcefbe-4c1d-44bc-8aa7-c86d1c225a28/openshift/playbook.log [DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook' instead. This feature will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ERROR! Unable to retrieve file contents Could not find or access '/usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml' Expected results: openshift-ansible is available. Additional info:
We need to find a way to properly install OSA. We depend on OSA but we don't install it automatically. One option would be to install it as a dependency for THT. Another option would be to document the process and requirement. In the future, we won't need this dependency if we manage to use the OSA image instead of the RPM
With containerized undercloud, it should be added to mistral base image packages via our kolla override file.
> With containerized undercloud, it should be added to mistral base image packages via our kolla override file. Correct! If the migration to using OSA's container image doesn't land, we'll have to do this. I guess we could do it in parallel.
This patch to use the containerized openshift-ansible has been tested for some time upstream: https://review.openstack.org/#/c/583868/. It depends on a wrapper script in tripleo-common, https://review.openstack.org/#/c/605399/.
*** Bug 1635293 has been marked as a duplicate of this bug. ***
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-2019:0045