Bug 1390254
| Summary: | [z-stream clone - 4.0.5] Upgrade from 3.6 to 4.0 fails on 04_00_0140_convert_memory_snapshots_to_disks.sql | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | rhev-integ | ||||
| Component: | ovirt-engine | Assignee: | Arik <ahadas> | ||||
| Status: | CLOSED ERRATA | QA Contact: | sefi litmanovich <slitmano> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.0.3 | CC: | ahadas, amarchuk, chenders, dfediuck, gklein, lsurette, mavital, michal.skrivanek, oourfali, rbalakri, Rhev-m-bugs, sbonazzo, slitmano, srevivo, tjelinek, ykaul, ylavi | ||||
| Target Milestone: | ovirt-4.0.6 | Keywords: | ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1382746 | Environment: | |||||
| Last Closed: | 2017-01-10 17:00:27 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1382746 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Comment 1
sefi litmanovich
2016-11-07 17:17:10 UTC
Created attachment 1218158 [details]
log and DB dumps
(In reply to sefi litmanovich from comment #1) > Hi, Are we sure that this is fixed for 4.0.5? The fix is there but apparently there's a bug in it. You created a nice test! is it possible for you to manually modify the script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql right before the run? It would be great time-saver to test it with the following line after line 59 in that script: AND length(memory_volume) > 0 (In reply to Arik from comment #3) (I'm asking that after I validated that with this modification the reported issue is resolved on the attached db dump. I'm asking that in order to see that there are no other cases which are in the tested flow that the proposed fix won't cover) I changed line 59 as you asked in comment 3 and setup succeeded as you expected. Env is back up with all the vms and their snapshots in the same state they were before the backup->upgrade flow. Verified with rhevm-4.0.6-0.1.el7ev.noarch according to the steps mentioned in comment#1 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://rhn.redhat.com/errata/RHBA-2017-0043.html |