Hide Forgot
Created attachment 817056 [details] upgrade error Description of problem: 21 out of 62 gears failed migration due to a same error "Couldn't move dep contents from ... to ..." Version-Release number of selected component (if applicable): On devenv_3959 How reproducible: Always Steps to Reproduce: 1. On devenv-stage ami, create applications and cover all cartridges 2. Upgrade the devenv-stage ami to latest(devenv_3959) 3. Do datastore migration 4. Do node gears migration oo-admin-upgrade upgrade-node --ignore-cartridge-version --version 2.0.35 Actual results: After step 4, oo-admin-upgrade upgrade-node --ignore-cartridge-version --version 2.0.35 You can run the upgrade again with the same arguments to continue. !!!!!!!!!!WARNING!!!!!!!!!!!!!WARNING!!!!!!!!!!!!WARNING!!!!!!!!!! ##################################################### Summary: # of users: 10 # of gears: 62 # of failures: 21 # of leftovers: 0 Gear counts per thread: [nil, nil, nil, 62] Timings: start=1383045678.038s total=392.552s Additional timings: gather_active_gears_total_time=20.984s gather_users_total_time=0.048s ##################################################### perl: Unhandled exception performing step: Couldn't move dep contents from /var/lib/openshift/526f546f331b6b5bdf00054d/.cpanm.backup to /var/lib/openshift/526f546f331b6b5bdf00054d/.cpanm jbossews-1.0/jbossews-2.0/jbossas-7/jbosseap-6: Unhandled exception performing step: Couldn't move dep contents from /var/lib/openshift/526f4aa2331b6b5bdf00015d/.m2.backup to /var/lib/openshift/526f4aa2331b6b5bdf00015d/.m2 nodejs-0.6/nodejs-1.0: Unhandled exception performing step: Couldn't move dep contents from /var/lib/openshift/526f5358331b6b5bdf0004c5/.npm.backup to /var/lib/openshift/526f5358331b6b5bdf0004c5/.np Expected results: Should be able to migrate the gears successfully Additional info: Attached migration error log
https://github.com/openshift/li/pull/2055
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/8a68f1ccecdbdffb578bc7c22ee0ef8e7f13987d Bug 1024322: Handle migrating empty dependency dirs
Verified on devenv_3966, this error is fixed, perl/nodejs/jboss gears are migrated successfully.