Description of problem: After migrating the data warehouse I was doing the final step of removing the data warehouse from the manager to prevent the data warehouse automatically restarting and the rhevm package was listed as a dependency of ovirt-engine-dwh and if I'd proceeded would have been removed as well. Meaning I wasn't able successfully finish migrating the data warehouse. How reproducible: I've set up multiple managers and tried and it happens each time. Steps to Reproduce: 1. Install and configure DWH on a separate machine. 2. Run yum remove ovirt-engine-dwh on the manager machine. Actual results: Data warehouse is not removed from the manager because I cancel the removal as I don't want the manager removed as well. This means my migration of the data warehouse was not successful because it will restart on the manager. Expected results: The data warehouse packages are removed, the manager stays functional, and the migration of the data warehouse is successfully complete.
# yum remove ovirt-engine-dwh Loaded plugins: product-id, search-disabled-repos, subscription-manager, : versionlock Resolving Dependencies --> Running transaction check ---> Package ovirt-engine-dwh.noarch 0:4.0.2-1.el7ev will be erased --> Processing Dependency: ovirt-engine-dwh >= 3.6.0 for package: ovirt-engine-dwh-setup-4.0.2-1.el7ev.noarch --> Running transaction check ---> Package ovirt-engine-dwh-setup.noarch 0:4.0.2-1.el7ev will be erased --> Processing Dependency: ovirt-engine-dwh-setup >= 4.0 for package: ovirt-engine-setup-plugin-ovirt-engine-4.0.4.4-0.1.el7ev.noarch --> Running transaction check ---> Package ovirt-engine-setup-plugin-ovirt-engine.noarch 0:4.0.4.4-0.1.el7ev will be erased --> Processing Dependency: ovirt-engine-setup-plugin-ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-setup-4.0.4.4-0.1.el7ev.noarch --> Processing Dependency: ovirt-engine-setup-plugin-ovirt-engine >= 4.0.0 for package: rhevm-setup-plugins-4.0.0.2-1.el7ev.noarch --> Processing Dependency: ovirt-engine-setup-plugin-ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.4.4-0.1.el7ev.noarch --> Running transaction check ---> Package ovirt-engine-setup.noarch 0:4.0.4.4-0.1.el7ev will be erased --> Processing Dependency: ovirt-engine-setup >= 4.0.4.4-0.1.el7ev for package: ovirt-engine-4.0.4.4-0.1.el7ev.noarch ---> Package ovirt-engine-setup-plugin-vmconsole-proxy-helper.noarch 0:4.0.4.4-0.1.el7ev will be erased --> Processing Dependency: ovirt-engine-setup-plugin-vmconsole-proxy-helper >= 4.0.4.4-0.1.el7ev for package: ovirt-engine-vmconsole-proxy-helper-4.0.4.4-0.1.el7ev.noarch ---> Package rhevm-setup-plugins.noarch 0:4.0.0.2-1.el7ev will be erased --> Processing Dependency: rhevm-setup-plugins >= 4.0.0.2 for package: rhevm-4.0.4.4-0.1.el7ev.noarch --> Running transaction check ---> Package ovirt-engine.noarch 0:4.0.4.4-0.1.el7ev will be erased --> Processing Dependency: ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-restapi-4.0.4.4-0.1.el7ev.noarch --> Processing Dependency: ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-backend-4.0.4.4-0.1.el7ev.noarch --> Processing Dependency: ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-webadmin-portal-4.0.4.4-0.1.el7ev.noarch --> Processing Dependency: ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-userportal-4.0.4.4-0.1.el7ev.noarch --> Processing Dependency: ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-tools-4.0.4.4-0.1.el7ev.noarch --> Processing Dependency: ovirt-engine = 4.0.4.4-0.1.el7ev for package: ovirt-engine-dbscripts-4.0.4.4-0.1.el7ev.noarch ---> Package ovirt-engine-vmconsole-proxy-helper.noarch 0:4.0.4.4-0.1.el7ev will be erased ---> Package rhevm.noarch 0:4.0.4.4-0.1.el7ev will be erased --> Processing Dependency: rhevm >= 4.0.0 for package: redhat-support-plugin-rhev-4.0.0-7.el7ev.noarch --> Running transaction check ---> Package ovirt-engine-backend.noarch 0:4.0.4.4-0.1.el7ev will be erased ---> Package ovirt-engine-dbscripts.noarch 0:4.0.4.4-0.1.el7ev will be erased ---> Package ovirt-engine-restapi.noarch 0:4.0.4.4-0.1.el7ev will be erased ---> Package ovirt-engine-tools.noarch 0:4.0.4.4-0.1.el7ev will be erased ---> Package ovirt-engine-userportal.noarch 0:4.0.4.4-0.1.el7ev will be erased ---> Package ovirt-engine-webadmin-portal.noarch 0:4.0.4.4-0.1.el7ev will be erased --> Processing Dependency: ovirt-engine-webadmin-portal >= 4.0.2 for package: ovirt-engine-dashboard-1.0.4-1.el7ev.x86_64 ---> Package redhat-support-plugin-rhev.noarch 0:4.0.0-7.el7ev will be erased --> Running transaction check ---> Package ovirt-engine-dashboard.x86_64 0:1.0.4-1.el7ev will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: ovirt-engine-dwh noarch 4.0.2-1.el7ev @rhel-7-server-rhv-4.0-rpms 2.8 M Removing for dependencies: ovirt-engine noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 2.6 M ovirt-engine-backend noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 7.0 M ovirt-engine-dashboard x86_64 1.0.4-1.el7ev @rhel-7-server-rhv-4.0-rpms 13 M ovirt-engine-dbscripts noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 1.3 M ovirt-engine-dwh-setup noarch 4.0.2-1.el7ev @rhel-7-server-rhv-4.0-rpms 237 k ovirt-engine-restapi noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 4.3 M ovirt-engine-setup noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 11 k ovirt-engine-setup-plugin-ovirt-engine noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 770 k ovirt-engine-setup-plugin-vmconsole-proxy-helper noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 78 k ovirt-engine-tools noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 344 k ovirt-engine-userportal noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 150 M ovirt-engine-vmconsole-proxy-helper noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 30 k ovirt-engine-webadmin-portal noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 224 M redhat-support-plugin-rhev noarch 4.0.0-7.el7ev @rhel-7-server-rhv-4.0-rpms 16 k rhevm noarch 4.0.4.4-0.1.el7ev @rhel-7-server-rhv-4.0-rpms 0.0 rhevm-setup-plugins noarch 4.0.0.2-1.el7ev @rhel-7-server-rhv-4.0-rpms 94 k Transaction Summary ================================================================================ Remove 1 Package (+16 Dependent packages) Installed size: 406 M Is this ok [y/N]: N
Currently, ovirt-engine-dwh-setup requires ovirt-engine-dwh. Meaning, if you want the dwh setup plugin, you need also dwh itself. I think we did this "always", but not sure why. In the past, it made some sense to assume that if a user installed the dwh setup package, the user wants dwh. But in 4.0, we decided that the engine will always require the dwh setup package, so that users will get asked if they want dwh (as dwh is mandatory in 4.0, even though can still be remote). So in principle, we can do one of two things: 1. Just drop this requirement. If user chooses 'yes' to 'Configure DWH?', engine-setup should already work as expected, installing dwh. I didn't test this yet though. 2. Change the docs and drop the instruction to remove dwh. We then might need to add more steps (if missing, didn't check) for making sure dwh is down and disabled. Sandro, what do you think?
A change needs to be made to the docs to not instruct the user to remove the service but only stop it. Also remove it from the boot services. If the user wants to remove the local database he can also do that after installing on a separate machine.
I tend to agree with Shirly, let's fix the doc.
Restoring needinfo dropped by mistake
The documentation for migrating a Data Warehouse is being tracked in: https://bugzilla.redhat.com/show_bug.cgi?id=1394971 The documentation for installing and configuring a Data Warehouse is being tracked in: https://bugzilla.redhat.com/show_bug.cgi?id=1351864 Please see these bugs for updates on the documentation for these tasks. Thanks, Megan