Bug 1343440 - Some internal policy units survive in the database when upgrading from 3.6 to 4.0
Summary: Some internal policy units survive in the database when upgrading from 3.6 to...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.0-beta
: 4.1.1.4
Assignee: Roman Mohr
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-07 11:09 UTC by Roman Mohr
Modified: 2023-09-14 03:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-03-27 11:07:16 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rgolan: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 56081 0 master MERGED scheduler: Remove EL7 upgrade policy from database 2016-06-08 06:57:22 UTC
oVirt gerrit 58802 0 master MERGED scheduler: Remove cluster upgrade policy from the database table 2017-01-24 16:09:48 UTC
oVirt gerrit 69430 0 ovirt-engine-4.1 MERGED scheduler: Remove cluster upgrade policy from the database table 2017-01-25 13:09:40 UTC

Description Roman Mohr 2016-06-07 11:09:28 UTC
Description of problem:
All internal policy units are now in the engine code only. No database is involved anymore. Some policy units  are not deleted when upgrading the databse from 3.6 to 4.0. This can have side effects on internal and custom policy units.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Install ovirt-engine-3.6
2. Run engine-setup
3. Upgrade to ovirt-engine-4.0
4. Run engine setup

Actual results:
Some internal policy units are not delete from the database when upgrading to 4.0

Expected results:
All internal policy units should be deleted from the databse

Additional info:

Comment 1 Roman Mohr 2016-06-08 08:17:01 UTC
Checked everything again. It is enough to just have this on master as a cleanup patch. 4.0 will work fine.

Comment 2 Red Hat Bugzilla Rules Engine 2016-07-03 07:49:14 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 3 Nikolai Sednev 2017-01-25 13:13:20 UTC
Please provide more detailed reproduction steps.

Comment 4 Nikolai Sednev 2017-03-19 08:32:10 UTC
Works for me on these components on hosts:
ovirt-setup-lib-1.1.0-1.el7ev.noarch
ovirt-imageio-common-1.0.0-0.el7ev.noarch
ovirt-vmconsole-1.0.4-1.el7ev.noarch
qemu-kvm-rhev-2.6.0-28.el7_3.6.x86_64
mom-0.5.9-1.el7ev.noarch
ovirt-imageio-daemon-1.0.0-0.el7ev.noarch
ovirt-vmconsole-host-1.0.4-1.el7ev.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch
sanlock-3.4.0-1.el7.x86_64
ovirt-hosted-engine-ha-2.1.0.4-1.el7ev.noarch
vdsm-4.19.7-1.el7ev.x86_64
libvirt-client-2.0.0-10.el7_3.5.x86_64
rhevm-appliance-20161130.0-1.el7ev.noarch
ovirt-host-deploy-1.6.3-1.el7ev.noarch
rhev-release-3.6.5-3-001.noarch
ovirt-hosted-engine-setup-2.1.0.4-1.el7ev.noarch
Linux version 3.10.0-514.10.2.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Mon Feb 20 02:37:52 EST 2017
Linux 3.10.0-514.10.2.el7.x86_64 #1 SMP Mon Feb 20 02:37:52 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)

On Engine:
rhevm-doc-4.1.0-2.el7ev.noarch
rhevm-setup-plugins-4.1.1-1.el7ev.noarch
rhev-guest-tools-iso-4.1-4.el7ev.noarch
rhevm-branding-rhev-4.1.0-1.el7ev.noarch
rhevm-4.1.1.4-0.1.el7.noarch
rhevm-dependencies-4.1.1-1.el7ev.noarch
Linux version 3.10.0-514.6.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Sat Dec 10 11:15:38 EST 2016
Linux 3.10.0-514.6.1.el7.x86_64 #1 SMP Sat Dec 10 11:15:38 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)

Comment 5 Red Hat Bugzilla 2023-09-14 03:26:28 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.