Instructions state: 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> sys.exit(main()) File "/usr/lib/python2.7/site-packages/ahc_tools/report.py", line 90, in main CONF(args=args, default_config_files=utils.DEFAULT_CONF_FILES) File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1860, in __call__ self._namespace._files_permission_denied) 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.
Hi Dan, 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: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Advanced-Scenario_3_Using_the_CLI_to_Create_an_Advanced_Overcloud_with_Ceph_Nodes.html#sect-Advanced-Automatically_Tagging_Nodes_with_Automated_Health_Check_AHC_Tools 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. Closing.