Change in ovirt-engine[master]: core: REVERT&FIX of: core: Remove deprecated and unused VdcO...

Eli Mesika has submitted this change and it was merged. Change subject: core: REVERT&FIX of: core: Remove deprecated and unused VdcOptions from db ...................................................................... core: REVERT&FIX of: core: Remove deprecated and unused VdcOptions from db reverted-Change-Id: I51d7ce9359a9ad38a034d656fb4ac1c5bab2ff43 in given patch there's problem with applying upgrade scripts. In one of upgrade scripts, values is read from vdc_options table and stored elsewhere, rendering this vdc_options row useless. However, if we remove this value from vdc_options table in 0000_config.sql, upgrade script won't find it and won't persist it elsewhere. Therefore we need to remove these values only after it's useless, ie. in upgrade script. migration of ranges data from Vdc_options table to mac_pool_ranges was don in 03_06_0090_add_mac_pool_ranges_to_storage_pool.sql Change-Id: Ic7f4593c55cfb65084d94a96e92f93ec6adcf010 Signed-off-by: Martin Mucha <mmucha@redhat.com> --- A packaging/dbscripts/upgrade/03_06_1850_remove_deprecated_vdc_options.sql M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql 2 files changed, 4 insertions(+), 2 deletions(-) Approvals: Martin Peřina: Looks good to me, but someone else must approve Eli Mesika: Looks good to me, approved; Passed CI tests Martin Mucha: Verified -- To view, visit https://gerrit.ovirt.org/46464 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic7f4593c55cfb65084d94a96e92f93ec6adcf010 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Mucha <mmucha@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Mucha <mmucha@redhat.com> Gerrit-Reviewer: Martin Peřina <mperina@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
emesika@redhat.com