Bug 1693296 - Unable to Add new Hosts to the Engine
Summary: Unable to Add new Hosts to the Engine
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-metrics
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.3.3
: 4.3.0
Assignee: Shirly Radco
QA Contact: Ivana Saranova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-27 13:26 UTC by Evgeny Slutsky
Modified: 2019-05-08 12:33 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-metrics-1.2.1.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-08 12:33:30 UTC
oVirt Team: Metrics
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:1057 0 None None None 2019-05-08 12:33:35 UTC
oVirt gerrit 98763 0 master MERGED Encrypt passwords for Metrics installation 2019-03-27 14:04:45 UTC

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


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