Red Hat Bugzilla – Bug 1267026
[Docs] [Director] Director Installation and Usage Guide, section 6.3.3
Last modified: 2016-01-17 18:19:46 EST
chmod 0600 /etc/ahc-tools/ahc-tools.conf
However, running ahc-report as user stack, this error is issued:
[stack@director1 ~]$ ahc-report --full
Traceback (most recent call last):
File "/bin/ahc-report", line 10, in <module>
File "/usr/lib/python2.7/site-packages/ahc_tools/report.py", line 90, in main
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1860, in __call__
oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/ahc-tools/ahc-tools.conf
I suspect that either 'sudo' must be used to run the report *or* the config file perms should be more relaxed.
Confirming that you need to run ahc-report with sudo. Will make a docs update for that this week.
I believe this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1253271
*** Bug 1253271 has been marked as a duplicate of this bug. ***
ahc-report is now run with sudo. This fix is now live:
Thanks for filing this report, Dan. Was there anything else required?
Assigning Radek as the QA contact.
Radek - could you take a look at the changes for this bug?
Easy fix. Verified.
This content is live on the Customer Portal.