Bug 1661395

Summary: missing permission on _90_manila_shares
Product: Red Hat OpenStack Reporter: stijn.deweirdt
Component: openstack-manila-uiAssignee: Victoria Martinez de la Cruz <vimartin>
Status: CLOSED ERRATA QA Contact: vhariria
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: apevec, gouthamr, hguemar, igallagh, lhh, rheslop, rhos-maint, slinaber, tbarron, tenobreg, tvignaud, varosim, vhariria
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-manila-ui-2.16.2-0.20190420022212.2365e12.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the OpenStack dashboard would not load the Shared File System's (Manila's) service pages as the dashboard integration files had the wrong permissions. The permissions have now been corrected.
Story Points: ---
Clone Of:
: 1668764 (view as bug list) Environment:
Last Closed: 2019-07-02 20:09:55 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:
Bug Depends On: 1719050    
Bug Blocks: 1668764    

Description stijn.deweirdt 2018-12-21 06:20:57 UTC
Description of problem:

openstack-manila-ui-2.16.0-1.el7.noarch (from centos cloud repo http://mirror.centos.org/centos-7/7.6.1810/cloud/x86_64/openstack-rocky/) has permission bug in package:
/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py is missing the read by others bit (also on pyo/pyc) file


Version-Release number of selected component (if applicable):
2.16.0-1.el7

How reproducible:


Steps to Reproduce:
1. yum reinstall openstack-manila-ui
2. ls -l /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py*
3. files have permissions on root.root, webservice can't read these

Actual results:


Expected results:


Additional info:

Comment 1 Tom Barron 2018-12-21 10:25:43 UTC
This BZ is actually reported on CentOS/RDO but let's check the corresponding OSP14 package and fix in both distros if appropriate.

Comment 2 Tom Barron 2019-01-08 11:12:16 UTC
*** Bug 1664287 has been marked as a duplicate of this bug. ***

Comment 7 vhariria 2019-06-21 20:02:04 UTC
OSP 14z3 - netApp deployment
Verified manila files under local_settings directory have world read-access on all controller nodes

Comment 9 errata-xmlrpc 2019-07-02 20:09:55 UTC
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/RHBA-2019:1671