Permission denied: '/etc/glance/policy.json' when running tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Mark Washenberger | ||
Grizzly |
Fix Released
|
Medium
|
Mark Washenberger |
Bug Description
I'm seeing the following error when running Glance's unit tests on my laptop:
=======
ERROR: Missing default policy file should result in a default ruleset
-------
Traceback (most recent call last):
File "/home/
enforcer.
File "/home/
exception.
File "/home/
self.
File "/home/
rules = self._read_
File "/home/
with open(self.
IOError: [Errno 13] Permission denied: '/etc/glance/
-----------
The issue appears to be due to the fact that I *also* have the openstack-glance RPM installed (which creates an /etc/glance/
Changed in glance: | |
assignee: | nobody → Dan Prince (dan-prince) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in glance: | |
assignee: | Dan Prince (dan-prince) → Mark Washenberger (markwash) |
Changed in glance: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/19475
Review: https:/