Bug 1459342
| Summary: | Documentation for adding database access to RHV for C&U doesn't seem to provide sufficient access | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Jeffrey Cutter <jcutter> |
| Component: | Documentation | Assignee: | Suyog Sainkar <ssainkar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.8.0 | CC: | cpelland, dajohnso, dmetzger, dscott, fdelorey, fdewaley, greartes, ikaur, istein, jclaretm, jcutter, jhardy, mperina, niroy, obarenbo, sacpatil, sigbjorn, ssainkar |
| Target Milestone: | GA | Flags: | istein:
needinfo+
|
| Target Release: | 5.8.5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-08-21 03:54:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1572700 | ||
|
Description
Jeffrey Cutter
2017-06-06 21:07:32 UTC
+1 for this BZ. Out of the box documentation does not yield the ability for CloudForms (4.2) to successfully pull metrics from RHV (4.0). Granting SUPERUSER does. Request that a proper role with proper permissions are identified, other than SUPERUSER. Additionally, the pg_hba.conf file should probably look like this for the configured user: # TYPE DATABASE USER ADDRESS METHOD host ovirt_engine_history cfme 0.0.0.0/0 md5 The above will limit the cmfe user to the ovirt_engine_history database, rather than allowing all users to connect to all databases. The above is much more secure. Also confirmed at my current customer site that the above is a valid configuration. *** Bug 1485425 has been marked as a duplicate of this bug. *** What are the correct changes required for CFME to have the proper access to the history DB? Regards, Frank I'd suggest to align CFME documentation with RHV documentation, we have quite detailed description how to configure read only access to DWH database: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/data_warehouse_guide/allowing_read_only_access_to_the_history_database |