Bug 1686572 - In metrics-store-installation role need to get update the way we get the engine ssh public key
Summary: In metrics-store-installation role need to get update the way we get the engi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: Generic
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.3.5
: 1.3.1
Assignee: Shirly Radco
QA Contact: Ivana Saranova
URL:
Whiteboard:
Depends On: 1715513
Blocks: 1710361
TreeView+ depends on / blocked
 
Reported: 2019-03-07 17:49 UTC by Shirly Radco
Modified: 2019-07-30 14:08 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-metrics-1.3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-30 14:08:25 UTC
oVirt Team: Metrics
sradco: ovirt-4.3?
sbonazzo: devel_ack+
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 100033 0 master MERGED Remove unrequired step of copying engine_id_rsa 2019-05-15 11:47:45 UTC
oVirt gerrit 100048 0 ovirt-engine-metrics-4.2 MERGED Remove unrequired step of copying engine_id_rsa 2019-05-15 11:58:33 UTC

Description Shirly Radco 2019-03-07 17:49:28 UTC
Description of problem:
In metrics-store-installation role need to get update the way we get the engine ssh public key. We currently generate it from etc/pki/ovirt-engine/keys/engine_id_rsa and we delete the file at the end of the role.
Need to check if there is a better way to do that.

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


How reproducible:


Steps to Reproduce:
1.Run that the metrics-store-installation role
2. See that the ssh_key is being generated correctly in the vas.yml file that is generated from a template and saved to /usr/share/ansible/roles/oVirt.openshift-ovirt/vars.yml 
3.

Actual results:


Expected results:


Additional info:

Comment 1 Shirly Radco 2019-05-15 09:18:30 UTC
After discussing this with Didi, the only fix was removing an unneeded step for copying the engine_id_rsa.
Please test using the steps to reproduce to check that there is no regression.

Comment 2 Ivana Saranova 2019-05-30 14:34:08 UTC
Cannot verify due to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1715513

Comment 3 Ivana Saranova 2019-06-26 11:15:50 UTC
Steps:
1.Run that the metrics-store-installation role
2. See that the ssh_key is being generated correctly in the vas.yml file that is generated from a template and saved to /usr/share/ansible/roles/oVirt.openshift-ovirt/vars.yml 

Result:
SSH key is generated and saved in the vars.yml file. Installation ends with success.

Verified in:
ovirt-engine-metrics-1.3.2-1.el7ev.noarch
ovirt-engine-4.3.4.3-0.1.el7.noarch

Comment 4 Sandro Bonazzola 2019-07-30 14:08:25 UTC
This bugzilla is included in oVirt 4.3.5 release, published on July 30th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.5 release, it has been closed with a resolution of CURRENT RELEASE.

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


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