How to install RHEV reports during upgrade of environment which was not previously equipped with these

Solution Verified - Updated -

Environment

Red Hat Enterprise Virualization (RHEV) - version 3.3 - upgraded to 3.4 or newer

Issue

During upgrade procedure from environments that do not contain active installation of RHEV reports and Data Warehouse service, RHEV does not ask
whether to setup new instance of reports. This is expected behavior of the product. However it can be worked around following the instructions below.

Resolution

After performing initial upgrade by following commands:

# yum update rhevm-setup
# rhevm-setup

Perform following actions:

yum install dwh
engine-setup

This will enable reports setup option within the rhevm-setup shell and will prompt the user
to specify whether reports should be installed or not.

If by any chance user decides to install reports even after replying "No" to question asking about DWH and
reports installation, it's possible to override this settings with following parameters of rhevm-setup:

engine-setup --otopi-environment='OVESETUP_DWH_CORE/enable=bool:True'
behaves as if I answered 'yes' (and asks further questions about dwh)

engine-setup --otopi-environment='OVESETUP_DWH_CORE/enable=none:None'
asks 'configure DWH?'

engine-setup --otopi-environment='OVESETUP_REPORTS_CORE/enable=bool:True'
behaves as if I answered 'yes' (and asks further questions about reports)

engine-setup --otopi-environment='OVESETUP_REPORTS_CORE/enable=none:None'
asks 'configure Reports?'.

To get both you can:

engine-setup --offline
--otopi-environment='OVESETUP_REPORTS_CORE/enable=bool:True
OVESETUP_DWH_CORE/enable=bool:True'

or, to be asked:

engine-setup --offline
--otopi-environment='OVESETUP_REPORTS_CORE/enable=none:None
OVESETUP_DWH_CORE/enable=none:None'

Diagnostic Steps

Rhevm-setup does not provide question about installing reports during upgrade procedure of existing environment.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments