Bug 1691879
Summary: | Director deployed OCP 3.11 deployment fails while running /usr/bin/tripleo-deploy-openshift | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> |
Component: | openstack-tripleo-common | Assignee: | Martin André <m.andre> |
Status: | CLOSED DEFERRED | QA Contact: | Ofer Blaut <oblaut> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 15.0 (Stein) | CC: | dbecker, m.andre, mburns, morazi, slinaber |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | 15.0 (Stein) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-common-10.7.1-0.20190606230405.3ff454a.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-29 16:32:22 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: |
Description
Marius Cornea
2019-03-22 17:48:50 UTC
Looks like a selinux issue: (undercloud) [stack@undercloud-0 ~]$ ls -l /var/lib/mistral/openshift/openshift total 20 -rw-rw-r--. 1 tripleo-admin tripleo-admin 383 Mar 22 16:00 global_gluster_vars.yml -rw-rw-r--. 1 tripleo-admin tripleo-admin 3206 Mar 22 16:01 global_vars.yml drwxr-xr-x. 2 tripleo-admin root 4096 Mar 22 16:01 inventory -rw-rw-r--. 1 tripleo-admin tripleo-admin 1190 Mar 22 16:01 playbook.log -rw-rw-r--. 1 tripleo-admin tripleo-admin 1262 Mar 22 16:01 playbook.yml (undercloud) [stack@undercloud-0 ~]$ sudo podman run --net=host -u 0 -v /var/lib/mistral/openshift:/var/lib/mistral/openshift -t 192.168.24.1:8787/openshift3/ose-ansible:v3.11 ls -l /var/lib/mistral/openshift/openshift/ ls: cannot access /var/lib/mistral/openshift/openshift/global_gluster_vars.yml: Permission denied ls: cannot access /var/lib/mistral/openshift/openshift/global_vars.yml: Permission denied ls: cannot access /var/lib/mistral/openshift/openshift/playbook.yml: Permission denied total 8 -?????????? ? ? ? ? ? global_gluster_vars.yml -?????????? ? ? ? ? ? global_vars.yml drwxr-xr-x. 2 1002 root 4096 Mar 22 20:01 inventory -rw-rw-r--. 1 1002 1003 1190 Mar 22 20:01 playbook.log -?????????? ? ? ? ? ? playbook.yml We need to add 'z' option while mounting the /var/lib/mistral/openshift. (undercloud) [stack@undercloud-0 ~]$ sudo podman run --net=host -u 0 -v /var/lib/mistral/openshift:/var/lib/mistral/openshift:z -t 192.168.24.1:8787/openshift3/ose-ansible:v3.11 ls -l /var/lib/mistral/openshift/openshift/ total 20 -rw-rw-r--. 1 1002 1003 383 Mar 22 20:00 global_gluster_vars.yml -rw-rw-r--. 1 1002 1003 3206 Mar 22 20:01 global_vars.yml drwxr-xr-x. 2 1002 root 4096 Mar 22 20:01 inventory -rw-rw-r--. 1 1002 1003 1190 Mar 22 20:01 playbook.log -rw-rw-r--. 1 1002 1003 1262 Mar 22 20:01 playbook.yml Will provide a patch shortly. Submitted patch upstream at https://review.openstack.org/645979. This was merged about a month ago upstream and already made its way into the downstream tripleo-common packaging. Director deployed OCP is deprecated in OSP15. |