Bug 1547038
| Summary: | Upgrade from 4.3 to 4.4 will fail if there are versioned templates in database | |||
|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Dan Kenigsberg <danken> | |
| Component: | BLL.Network | Assignee: | Dominik Holler <dholler> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.3.0 | CC: | ahadas, alkaplan, bugs, danken, dholler, didi, emesika, eraviv, giorgio, jbelka, jiri.slezka, mburman, michal.skrivanek, mmartinv, mperina, myakove, oliver.albl, tjelinek, trailtotale, ylavi | |
| Target Milestone: | ovirt-4.4.0 | Keywords: | Reopened, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
ovirt-4.4+
pm-rhel: blocker+ |
|
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause: A vNIC had two references to a VM.
One was used to reference the VM if the VM is
a template, else the other reference was used.
Consequence: This construct confused the constraint
checker of the database and enabled inconsistency.
Bug 1528316 and bug 1684586 disabled the check of this constraint during upgrades/
Fix: This change merges both references into a single one,
which has to be set.
Result: The improved data structure in the db is matches the db constraints and prevents inconsistency.
|
Story Points: | --- | |
| Clone Of: | 1528316 | |||
| : | 1687707 1688781 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-20 20:04:19 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1528316, 1684586 | |||
| Bug Blocks: | 1687707, 1688781, 1750657 | |||
|
Description
Dan Kenigsberg
2018-02-20 11:54:26 UTC
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Is this a bug or a feature? This is technical debt of normalizing the db and aligning the engine accordingly, with no customer facing effects (hopefully...) This seems like a risky change with limited benefit, therefore for now. *** Bug 1684586 has been marked as a duplicate of this bug. *** Steps to Reproduce on oVirt 4.3:
1. Create a VM with a vNIC
2. Create a template of this VM
3. Create a subversion of the template
4. Run engine-setup
Actual results:
[ INFO ] Checking the Engine database consistency
[ ERROR ] Failed to execute stage 'Setup validation': Failed checking Engine database: an exception occurred while validating the Engine database, please check the logs for getting more info:
Constraint violation found in vm_interface (vmt_guid) |1
Expected results:
engine-setup succeeds
*** Bug 1685890 has been marked as a duplicate of this bug. *** Removing CodeChange and updating title as this is an upgrade blocker Ahh, sorry I've missed that we have BZ1684586 to track that issue in 4.3 *** Bug 1687707 has been marked as a duplicate of this bug. *** QE is required to test ovirt-dwh to ensure the related code change does not introduce regressions. Verified on - rhvm-4.4.0-0.4.master.el7.noarch rhvm-4.3.7.0-0.1.el7.noarch >> rhvm-4.4.0-0.4.master.el7.noarch This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |