Description of problem: Since we're not supporting el6 anymore on 4.0 we should ensure that a migration from el6 to el7 can be done easily. - backup 3.6 engine running on el6 - install 4.0 engine on el7 - restore engine in the new environment
One potential problem I noticed re this (thanks to testing by nsednev) is that engine-setup starts the engine *before* the upgrade in asynctasks.py . Not sure how well this will work.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
*** Bug 1323220 has been marked as a duplicate of this bug. ***
(In reply to Yedidyah Bar David from comment #1) > One potential problem I noticed re this (thanks to testing by nsednev) is > that engine-setup starts the engine *before* the upgrade in asynctasks.py . > Not sure how well this will work. Two problems I currently see with this: 1. we'll need to patch the new jboss location prior to starting the engine. We can decide that this isn't a major issue and do it during restore (not setup, where we try hard to not touch the system before STAGE_TRANSACTION_BEGIN ("Stage: Transaction setup"). 2. The inherent issue is that we start a new engine code with an old engine db. This is different from an upgrade flow, where this stage runs with the old engine code installed. Some solutions/ideas: 1. Seems like we can already optionally skip this action by passing 'OVESETUP_ASYNC/clearTasks=bool:False'. This will also prevent running the taskcleaner, need to think about making either optional (but the core problem still applies to both of them, although taskcleaner is a much smaller piece of code, hopefully easier to make it compatible with older db). 2. We can add to engine-backup --mode=backup, a check whether there are pending tasks etc., and if so, abort, unless an option (say '--force-backup-pending-tasks') is passed. Or perhaps the opposite ('--prevent-backup-pending-tasks'), assuming that the normal flow is routine backup, and migration is the special case. Sandro, what do you think?
Ignore this. I now realized that we clean these on restore anyway, so should never need to handle them. The only problem is that we always start the engine. I'll fix.
Can this be merged to 3.6? Otherwise migration from 3.6 EL6 to 3.6 EL7 does fail.
This is not a clean cherry-pick, but should be simple enough. But see my comment on bug 1323201 .
ok, 4.0.0-10 tested many times for migration between 3.6 EL6 and 4.0 EL7
oVirt 4.0.0 has been released, closing current release.