Description of problem: Tried to upgrade from latest 3.6 release to latest 4.0 release. Database dump imports without error, but engine-setup fails. [ ERROR ] schema.sh: FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql [ ERROR ] Failed to execute stage 'Misc configuration': Engine schema refresh failed Version-Release number of selected component ): ovirt-engine-setup-base-4.0.4.4-0.1.el7ev.noarch ovirt-engine-dbscripts-4.0.4.4-0.1.el7ev.noarch
Upgrade is coming from rhevm-3.6.9.2-0.1.el6.noarch. This environment has only NFS storage domains, was initially installed at 3.0 and has gone through every minor release to get to 3.6.
Arik, can you please check the logs?
Yep, there's a bug when active snapshots contain memory during the upgrade to 4.0. Chris, if you want to upgrade without waiting for a fix then the problematic VM is 'rhel6-test1', you can simply start and stop it and then do the upgrade.
steps to reproduce: 1. create snapshot with memory in 3.6 2. shutdown the VM 3. preview the snapshot 4. commit to the snapshot 5. remove the snapshot (optional step, that is just to better simulate the state that is reported in this bug). 6. upgrade to 4.0
*** Bug 1382744 has been marked as a duplicate of this bug. ***
Thanks Arik. The work-around worked for me.
Why was this not moved to ON_QA? AFAIK it is in the build -4
ah, sorry, it's the missing ack hence a missing clone. I wonder if we get the qa_ack ;-)
Ok, closing as NOTABUG as this scenario cannot in fact occur on upgrades between 4.0 -> 4.1 anyway.