Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1607127

Summary: [RFE] Update ansible-inventory file to use latest instead of version
Product: [oVirt] ovirt-engine-metrics Reporter: Shirly Radco <sradco>
Component: RFEsAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: apinnick, bugs, eedri, lsvaty, rmeggins, sradco, ylavi
Target Milestone: ovirt-4.2.6Keywords: FutureFeature
Target Release: ---Flags: rule-engine: ovirt-4.2+
ylavi: planning_ack+
rule-engine: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-metrics-1.1.7-1.el7ev Doc Type: Enhancement
Doc Text:
The current release always uses the latest Ansible inventory file, so that a particular Openshift version no longer needs to be specified and the documentation is always up to date.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-03 15:07:02 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:
Bug Depends On:    
Bug Blocks: 1615109    

Description Shirly Radco 2018-07-22 08:55:33 UTC
Update the ansible-inventory file so it will only copy the relevant file to the metrics store machine, based on the required OpenShift distribution and version.

Default OpenShift distribution, is Origin for upstream and ocp for downstream
Default OpenShift version is 3.10.

Also, add a "latest" symlink so that when running the openshift-ansible playbooks we will not required updating the ansible-inventory file and it will always use the latest.

This is backwards compatible since the original file with the version is also copied to the machine.

Comment 1 Shirly Radco 2018-07-22 08:57:04 UTC
*** Bug 1607128 has been marked as a duplicate of this bug. ***

Comment 4 Lucie Leistnerova 2018-08-23 09:11:37 UTC
Script copied only inventory depending on openshift_distribution and openshift_version settings. Inventory latest links the one that was copied with the last script run.

verified in ovirt-engine-metrics-1.1.7-1.el7ev.noarch