Bug 1365427
| Summary: | engine-setup asks about scale also on upgrade/restore from 3.6 | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-dwh | Reporter: | Yedidyah Bar David <didi> |
| Component: | Setup | Assignee: | Yedidyah Bar David <didi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.6.0 | CC: | bugs, didi, lsvaty, sradco, ylavi |
| Target Milestone: | ovirt-4.0.5 | Flags: | rule-engine:
ovirt-4.0.z+
ylavi: planning_ack+ sbonazzo: devel_ack+ lsvaty: testing_ack+ |
| Target Release: | 4.0.5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
In 4.0, dwh engine-setup plugin prompts the user to choose between 'Full' and 'Basic' scale. If dwh is on the same machine as the engine, it defaults to 'Basic'. In past 4.0 releases, it always asked this question on upgrade from 3.6.
Consequence:
If dwh was already set up in 3.6, and used the default configuration, which is equivalent to 4.0's 'Full', and the user didn't pay attention to this question and pressed Enter, configuration was changed to 'Basic', potentially removing most of the history data collected.
Fix:
Now this question is asked, and scale is configured, only if this is a new dwh database setup, and not if the database already exists, e.g. not if it is an upgrade.
Result:
On upgrade, this question is not asked, configuration is not changed, and history data is not removed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-18 07:38:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1379120 | ||
|
Description
Yedidyah Bar David
2016-08-09 09:00:20 UTC
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 |