Steps to reproduce the issue
1.-Installed TripleO with tripleo-quickstart as follow:
As the content of the openshift.yml file does not matter it was not included.
bash quickstart.sh -X -T all --retain-inventory -t untagged,provision,environment,libvirt,undercloud-scripts,undercloud-inventory,overcloud-scripts,undercloud-setup,undercloud-install,undercloud-post-install --release master-tripleo-ci -N /home/installer/tripleo-quickstart/openshift.yml 192.168.1.45
2.- Logged in undercloud
ssh -F ~/.quickstart/ssh.config.ansible undercloud
3.- Installed openshift-ansible
sudo yum install centos-release-openshift-origin39.noarch
sudo yum install -y openshift-ansible-roles.noarch openshift-ansible.noarch openshift-ansible-playbooks.noarch
4.- Check the directories (1-Host, 2-mistral_engine docker)
(undercloud) [stack@undercloud ~]$ cd /usr/share/
(undercloud) [stack@undercloud share]$ ls -Z | grep ansible
drwxr-xr-x. root root system_u:object_r:usr_t:s0 ansible
drwxr-xr-x. root root system_u:object_r:usr_t:s0 ansible-modules
(undercloud) [stack@undercloud share]$ ls -Z ansible
drwxr-xr-x. root root system_u:object_r:usr_t:s0 openshift-ansible
drwxr-xr-x. root root system_u:object_r:usr_t:s0 plugins
drwxr-xr-x. root root system_u:object_r:usr_t:s0 roles
(undercloud) [stack@undercloud share]$ docker exec -it mistral_engine /bin/bash
()[mistral@undercloud /]$ cd /usr/share/
()[mistral@undercloud /usr/share]$ ls -Z | grep ansible
drwxr-xr-x. root root system_u:object_r:container_share_t:s0 ansible
drwxr-xr-x. root root system_u:object_r:container_share_t:s0 ansible-modules
drwxr-xr-x. root root system_u:object_r:container_share_t:s0 ceph-ansible
()[mistral@undercloud /usr/share]$ cd ansible
()[mistral@undercloud /usr/share/ansible]$ ls -Z
drwxr-xr-x. root root system_u:object_r:container_share_t:s0 plugins
drwxr-xr-x. root root system_u:object_r:container_share_t:s0 roles
As it can be seen the directory openshift-ansible on the container
is not listed
As a workaround I added the /usr/share as a volume to be mounted on the mistral-engine t-h-t and
re-run "openstack undercloud deploy" command.