Bug 1396067

Summary: missing /etc/sudoers.d/glance file in glance_store package installation
Product: Red Hat OpenStack Reporter: Avi Avraham <aavraham>
Component: openstack-glanceAssignee: Cyril Roelandt <cyril>
Status: CLOSED ERRATA QA Contact: Avi Avraham <aavraham>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: cschwede, egafford, eglynn, eharney, fpercoco, scohen, srevivo
Target Milestone: Upstream M2Keywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-glance-15.0.0-0.20170414025509.085f375.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 20:52:28 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:
Bug Depends On:    
Bug Blocks: 1293435, 1646932    

Description Avi Avraham 2016-11-17 12:00:01 UTC
Description of problem:
Running glance commands fails because of sudo configuration is missing 

Version-Release number of selected component (if applicable):
python-glance-13.0.0-1.el7ost.noarch
openstack-glance-13.0.0-1.el7ost.noarch
python-glance-store-0.18.1-0.20161003180701.4e144bb.el7ost.noarch
puppet-glance-9.4.0-1.el7ost.noarch
python-glanceclient-2.5.0-1.el7ost.noarch


How reproducible:


Steps to Reproduce:
1. ls -l /etc/sudoers.d/glance

Actual results:
ls: cannot access glance: No such file or directory

Expected results:
File exists

Additional info:

Comment 1 Eric Harney 2016-11-17 17:24:23 UTC
https://review.rdoproject.org/r/#/c/3794/

Comment 2 Eric Harney 2017-03-15 15:49:59 UTC
(In reply to Eric Harney from comment #1)
> https://review.rdoproject.org/r/#/c/3794/

Reverted here:

https://review.rdoproject.org/r/#/c/5570/

Comment 3 Cyril Roelandt 2017-03-21 16:10:58 UTC
As stated by Eric, we'll try to fix this for OSP12.

Comment 6 Avi Avraham 2017-06-26 08:33:57 UTC
Verified 
[stack@undercloud-0 ~]$ rpm -q openstack-glance
openstack-glance-15.0.0-0.20170511190327.70d51c7.el7ost.noarch
sudoer file was added for glance with the correct permissions

Comment 9 errata-xmlrpc 2017-12-13 20:52:28 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/RHEA-2017:3462