Description of problem: In bug 1328805 we added a question about scale. We ask this question also during upgrade from 3.6, including if restoring a 3.6 backup on a 4.0 system. Not sure about the perfect solution. One might even claim it's not a bug. In 3.6 we didn't have this question, so do not know the answer. Current 'Full' was the default then, and changing it required manually editing config files. Perhaps changing the prompt text is enough. A "full" (but somewhat hacky) solution can be to check current conf, and ask if different from default. Note that in 4.0 the default depends on whether dwh is with the engine on same machine - "Basic" if yes, "Full" if different machines. A related question (might be worth another bug) is that we always rewrite the configuration on upgrade. So a user manually changing the conf after running engine-setup will have the changes overwritten by a next upgrade. This isn't specific to the dwh scale params, it applies to many other questions.
We should keep it as 'full' in upgrades that had DWH previously installed in 3.6 or even better ask and have 'full' as default option. In any case in fresh install or upgrade without DWH, we need to ask.
Thinking about this again, I think it's enough if we only ask this question, and configure scale, if we are setting up a new database. On any setup with existing database (upgrade, migration, etc.) we do nothing. dwhd will then use its defaults or whatever manual configuration the admin did.
But when do we set the sampling interval to 15 instead of 60? Is this done in a separate step?
(In reply to Shirly Radco from comment #3) > But when do we set the sampling interval to 15 instead of 60? > Is this done in a separate step? When? On upgrade? Never. On clean setup - same as today. Do we have to do anything on upgrade?
Yes. We should update the sampling interval to 15 seconds same as in clean setup. This is for better dashboards accuracy.
(In reply to Shirly Radco from comment #5) > Yes. We should update the sampling interval to 15 seconds same as in clean > setup. > This is for better dashboards accuracy. Which parameter exactly?
Please disregard. It is unrelated and already addressed it.
verified in ovirt-engine-dwh-setup-4.0.2-1.el7ev.noarch