Bug 1693296

Summary: Unable to Add new Hosts to the Engine
Product: Red Hat Enterprise Virtualization Manager Reporter: Evgeny Slutsky <eslutsky>
Component: ovirt-engine-metricsAssignee: Shirly Radco <sradco>
Status: CLOSED ERRATA QA Contact: Ivana Saranova <isaranov>
Severity: high Docs Contact:
Priority: high    
Version: 2.1.0CC: lleistne, mgoldboi
Target Milestone: ovirt-4.3.3   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-metrics-1.2.1.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-08 12:33:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Evgeny Slutsky 2019-03-27 13:26:57 UTC
Description of problem:

running metrics deployment  requires encrypting the /etc/ovirt-engine-metrics/secure_vars.yaml.example file.

this produce 2 issue:
1. after the encryption its permission changed to 600. (ovirt cannot read it)

19-03-27 15:08:03,350 p=6873 u=ovirt |  fatal: [hades03.lab.eng.tlv2.redhat.com -> localhost]: FAILED! => {
    "ansible_facts": {},
    "ansible_included_var_files": [],
    "changed": false,
    "message": "an error occurred while trying to read the file '/etc/ovirt-engine-metrics/secure_vars.yaml': [Errno 13] Permission denied: '/etc/ovirt-engine-metrics/secure_vars.yaml'"
}
2. ansible doesnt know how to decrypt it:
2019-03-27 15:19:52,982 p=7808 u=ovirt |  fatal: [hades03.lab.eng.tlv2.redhat.com -> localhost]: FAILED! => {
    "ansible_facts": {},
    "ansible_included_var_files": [],
    "changed": false,
    "message": "Attempting to decrypt but no vault secrets found"
}



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install rhv engine
2. try to add host.


Actual results:
host cannot be added to the engine

Expected results:
host added to the engine

Additional info:

Comment 1 Evgeny Slutsky 2019-04-03 13:57:02 UTC
Verified, Issue resolved.

Comment 3 errata-xmlrpc 2019-05-08 12:33:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:1057