Description of problem: Hosted-engine setups (both new install and upgrade) not configuring Grafana as a result of bug: https://bugzilla.redhat.com/show_bug.cgi?id=1866780. To get more users to use this important feature (Grafana), we want to change this behavior and configure Grafana in hosted-engine setup by default (both new install and upgrade). Version-Release number of selected component (if applicable): 4.4.7 How reproducible: 100% Steps to Reproduce: 1.install or upgrade hosted engine 2.see that grafana is not installed by default Actual results: Hosted-engine setups (both new install and upgrade) will not configure grafana. Expected results: Hosted-engine setups (both new install and upgrade) will configure grafana. Additional info:
QE: Please test these flows: - Normal hosted-engine deployment (as you probably test automatically) - check that grafana is now configured and working (or at least, if checking automated testing results, that it created a grafana.log in the engine machine). - The flow of bug 1866780, to make sure we do not introduce regressions: 1. Deploy 4.3 hosted-engine 2. Migrate DWH and its database to a separate machine (can be a VM managed by that setup, or elsewhere), following the doc [1][2] 3. Upgrade to 4.4 using the doc [3] Make sure that it succeeds. grafana will not be configured, and can be configured on the dwh machine after it's upgraded to 4.4 as well, using 'engine-setup --reconfigure-optional-components'. [1] https://www.ovirt.org/documentation/data_warehouse_guide/#Migrating_Data_Warehouse_to_a_Separate_Machine_DWH_admin [2] https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/data_warehouse_guide/migrating_data_warehouse_to_a_separate_machine_dwh_admin [3] https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/upgrade_guide/she_upgrading_from_4-3
(In reply to Yedidyah Bar David from comment #1) > QE: Please test these flows: > > - Normal hosted-engine deployment (as you probably test automatically) - > check that grafana is now configured and working (or at least, if checking > automated testing results, that it created a grafana.log in the engine > machine). > > - The flow of bug 1866780, to make sure we do not introduce regressions: > > 1. Deploy 4.3 hosted-engine > 2. Migrate DWH and its database to a separate machine (can be a VM managed > by that setup, or elsewhere), following the doc [1][2] > 3. Upgrade to 4.4 using the doc [3] To clarify: The doc for upgrading a separate DWH machine is not complete yet, see bug 1874904. For now, until it's handled, consider the first part of bug 1874904 comment 5, "1. dwh + dwhdb on same separate machine.", as the reference. There, it says to manually run 'engine-setup' on the new DWH machine after 'engine-backup --mode=restore'. When you do this, engine-setup should ask you whether to configure grafana, should default to 'Yes', and this should work well. There is no need to run 'engine-setup' again with '--reconfigure-optional-components' after this.
Verified in ovirt-engine-4.4.8.5-0.4.el8ev.noarch ovirt-engine-dwh-4.4.8-1.el8ev.noarch Grafana is installed & configured by default for new hosted engine deployments.
Please verify also the flow of bug 1866780, to make sure we do not regress. See also comment 1. Thanks
(In reply to Yedidyah Bar David from comment #6) > Please verify also the flow of bug 1866780, to make sure we do not regress. > See also comment 1. Thanks Moving back to ON_QA
Moving to 4.4.9 as 4.4.8 was missed.
Moving to 4.4.10 due to QE capacity.
Verified in ovirt-engine-4.4.10.6-0.1.el8ev.noarch ovirt-engine-dwh-4.4.10-1.el8ev.noarch Verified flow: 1. install 4.3 hosted-engine 2. migrate DWH to separate machine 3. upgrade hosted-engine to 4.4, i.e., backup & reinstall & restore 4. upgrade remote DWH to 4.4, i.e., backup & reinstall & restore After DWH machine upgrade and restore, engine-setup asks if to install also Grafana (no need to run it with --reconfigure-optional-components).