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 - Install oVirt metrics store based on OpenShift 3.11
Summary: Install oVirt metrics store based on OpenShift 3.11
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-metrics
Version: 4.2.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-4.2.8-4
: 4.2.8-4
Assignee: Shirly Radco
QA Contact: Ivana Saranova
Depends On:
Blocks: 1690188
TreeView+ depends on / blocked
Reported: 2019-02-26 17:04 UTC by Andrea Perotti
Modified: 2019-04-11 09:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
oVirt Team: Metrics
Target Upstream Version:

Attachments (Terms of Use)
fix for ansible role oVirt.metrics-store-installation (deleted)
2019-02-26 17:04 UTC, Andrea Perotti
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3988791 None None None 2019-03-14 17:19:43 UTC

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

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