Bug 1267026 - [Docs] [Director] Director Installation and Usage Guide, section 6.3.3
[Docs] [Director] Director Installation and Usage Guide, section 6.3.3
Status: CLOSED CURRENTRELEASE
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation (Show other bugs)
7.0 (Kilo)
All Linux
medium Severity medium
: async
: 7.0 (Kilo)
Assigned To: Dan Macpherson
Radek Bíba
: Documentation, ZStream
: 1253271 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-28 16:49 EDT by Dan Yocum
Modified: 2016-01-17 18:19 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-01-17 18:19:46 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Yocum 2015-09-28 16:49:34 EDT
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.
Comment 2 Dan Macpherson 2015-09-28 20:46:29 EDT
Hi Dan,

Confirming that you need to run ahc-report with sudo. Will make a docs update for that this week.
Comment 4 hrosnet 2015-09-30 06:13:40 EDT
I believe this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1253271
Comment 5 Dan Macpherson 2015-09-30 22:20:41 EDT
*** Bug 1253271 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Dahms 2015-11-11 21:19:45 EST
Assigning Radek as the QA contact.

Radek - could you take a look at the changes for this bug?
Comment 8 Radek Bíba 2015-11-12 06:35:28 EST
Easy fix. Verified.
Comment 9 Andrew Dahms 2016-01-17 18:19:46 EST
This content is live on the Customer Portal.

Closing.

Note You need to log in before you can comment on or make changes to this bug.