+++ This bug is a downstream clone. The original bug is: +++ +++ bug 1474570 +++ ====================================================================== Description of problem: The "engine-setup --reconfigure-dwh-scale" doesn't seem to ask user about changing for sampling scale setup from Basic to Full and vice versa. Version-Release number of selected component (if applicable): Problem seen on ovirt 4.1.x and 4.0.x ovirt-engine-4.1.3.5-0.1.el7.noarch ovirt-engine-dwh-4.1.1-1.el7ev.noarch ovirt-engine-dwh-setup-4.1.1-1.el7ev.noarch ovirt-engine-4.0.7.4-0.1.el7ev.noarch ovirt-engine-dwh-4.0.7-2.el7ev.noarch ovirt-engine-dwh-setup-4.0.7-2.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Issue: engine-setup --reconfigure-dwh-scale Actual results: User will NOT be asked about sampling scale ~~~ --== MISC CONFIGURATION ==-- Please choose Data Warehouse sampling scale: (1) Basic (2) Full (1, 2)[1]: ~~~ Expected results: Should ask user if they setting sampling scale. Additional info: Seems like broken due to BZ https://bugzilla.redhat.com/show_bug.cgi?id=1365427 (Originally by Bimal Chollera)
Can you provide the manual steps to reconfiguare the dwh to full collection? (Originally by ylavi)
A workaround for this issue will be to add a conf file to ovirt-engine-dwhd.conf.d/ with a prefix greater then 10, like 99-my-scale.conf. Add to the file the following lines: DWH_TABLES_KEEP_SAMPLES=24 DWH_TABLES_KEEP_HOURLY=1440 DWH_TABLES_KEEP_DAILY=43800 and restart ovirt-engine-dwhd service (Originally by Shirly Radco)
Can you please pass the info in comment 3 to the customer? Can you create a KBase with this info? (Originally by ylavi)
Ido, is this going to be in 4.2.0? (Originally by Yaniv Kaul)
Yes. Sent a patch. (Originally by Ido Rosenzwig)
Do we want this fix in 4.1 also ? (Originally by Ido Rosenzwig)
The fix for this bug was to revert the patch for https://bugzilla.redhat.com/1365427 The author decided to show the question to the user only when a new database is created, what broke the --reconfigure-dwh-scale option. https://bugzilla.redhat.com/show_bug.cgi?id=1365427#c2 (Originally by Ido Rosenzwig)
verified in ovirt-engine-dwh-4.1.9-1.el7ev.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0133
BZ<2>Jira re-sync