Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1683364

Summary: Install oVirt metrics store based on OpenShift 3.11
Product: Red Hat Enterprise Virtualization Manager Reporter: Andrea Perotti <aperotti>
Component: ovirt-engine-metricsAssignee: Shirly Radco <sradco>
Status: MODIFIED --- QA Contact: Ivana Saranova <isaranov>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.2.8CC: ableisch, aperotti, fgarciad, lleistne, mgoldboi, mkalinin
Target Milestone: ovirt-4.2.8-4   
Target Release: 4.2.8-4   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 1690188    
Description Flags
fix for ansible role oVirt.metrics-store-installation none

Description Andrea Perotti 2019-02-26 17:04:50 UTC
Created attachment 1538925 [details]
fix for ansible role oVirt.metrics-store-installation

Description of problem:

On RHV 4.2.8, when running the initial step to install OCP for Metrics and Logging via:

/usr/share/ovirt-engine-metrics/setup/ansible/ --playbook=ovirt-metrics-store-installation.yml

it produces a files named 'ansible-inventory-ocp-311-aio' with all the references to OCP 3.11 .

The problem is in the role:


# The OpenShift version to install
openshift_version: 311

By resetting it to 

# The OpenShift version to install
openshift_version: 39

everything works as expected.

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

How reproducible:

Steps to Reproduce:
1. /usr/share/ovirt-engine-metrics/setup/ansible/ --playbook=ovirt-metrics-store-installation.yml

Actual results:

# cat ansible-inventory-ocp-311-aio 


Expected results:

# cat ansible-inventory-ocp-39-aio 


--- main.yml.future     2019-02-26 18:02:05.452628143 +0100
+++ main.yml    2019-02-26 17:56:30.620752778 +0100
@@ -3,7 +3,7 @@
 openshift_distribution: origin
 # The OpenShift version to install
-openshift_version: 311
+openshift_version: 39
 # Path to OpenShift Logging ansible inventory and vars files
 openshift_ansible_files_path: /root

Additional info:

Comment 1 Shirly Radco 2019-03-13 13:58:46 UTC
Workaround for this is to add to config.yml
openshift_version: 39