Description of problem: When installing dwn on separate machine, setup asks about restarting the ovirt-engine automatically. User says Yes, engine is restarted, but still in the end of the setup it asks to do it manually. Version-Release number of selected component (if applicable): ovirt-engine-dwh-setup-4.4.1.2-1.el8ev.noarch How reproducible: always Steps to Reproduce: 1. install dwh on separate machine 2. answer 'Yes' to The engine should be restarted for Single-Sign-On (SSO) to work. Do this as part of Setup? If not, you will have to do this later by yourself 3. Actual results: setup output contains Please restart the engine by running the following on <engine fqdn> : # service ovirt-engine restart This is required for the dashboard to work. Expected results: no restart information Additional info: When user answers 'No', there is this restart info twice + Please run the following command on the engine machine <engine fqdn>, for SSO to work: systemctl restart ovirt-engine
These are two separate issues - one is done for dwh (so that the dashboard works), other for grafana (so that SSO works, until we fix bug 1846294 - then we should remove this part). The right solution is probably to add code to engine-common plugin to do a remote restart of the engine, conditionally, and allow other plugins to set the condition. I need to think a bit about this - especially about the texts - we probably want to show all of them, e.g.: The remote engine should be restarted for these reasons: - Grafana SSO - Admin UI dashboard And collect the actual reasons (the bulleted lines) from the plugins.
This means that it will require patches for both the engine and dwh. BTW, not always you run into this - if you e.g. setup engine+dwh on one machine, and grafana on another (not sure we decided to support this officially, but it should work, more-or-less), you'll only see the text/prompt from grafana.