mistra_engine container on the undercloud host is not able to list all the files on /usr/share/ directory

Bug #1782524 reported by Juan Badia Payno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Juan Badia Payno

Bug Description

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

Revision history for this message
Juan Badia Payno (jbadiapa) wrote :

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.

Changed in tripleo:
assignee: nobody → Juan Badia Payno (jbadiapa)
status: New → In Progress
Changed in tripleo:
milestone: none → rocky-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Juan Badia Payno (<email address hidden>) on branch: master
Review: https://review.openstack.org/583877
Reason: In favor of https://review.openstack.org/#/c/583136/

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Juan Badia Payno (jbadiapa) wrote :

Mistral is no longer used for deploying the undercloud, from my point of view this bug is not valid anymore.

Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: wallaby-3 → none
status: In Progress → Incomplete
Revision history for this message
Juan Badia Payno (jbadiapa) wrote :

This bug was fixed a long time ago as bodgando commented at #3

Changed in tripleo:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.