Created attachment 813249 [details] scaled_up_gear.log Description of problem: Create scalable app with at least two web gears, will met the following error during upgrade that gear: "message": "undefined local variable or method `uuid_and_namespace' for #<OpenShift::GearUpgradeExtension:0x00000003274388>" Version-Release number of selected component (if applicable): devenv-stage_496 to devenv_3901 How reproducible: always Steps to Reproduce: 1. Create scalable app with multiple web gears on devenv-stage_496 2. Upgrade the server and migrate the datastore 3. Upgrade gears with oo-admin-upgrade #oo-admin-upgrade upgrade-node --version 2.0.35 --ignore-cartridge-version Actual results: Upgrade of the scaled up gears will fail due to error: "undefined local variable or method `uuid_and_namespace' for #<OpenShift::GearUpgradeExtension:0x00000003274388>" Expected results: Should upgrade the gears successfully. Additional info: Full log attached
Commits pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/87abb75d413f567bc53f8554183e201ef606c931 Fix bug 1020200: upgrade gear registry for scaled-up apps https://github.com/openshift/li/commit/d979377ca1b99454f4bce18471df0eba452eb2e3 Merge pull request #2009 from pmorie/bugs/1020200 Fix bug 1020200: upgrade gear registry for scaled-up apps
Verified this on devenv_3912, the error is gone when a scalable app is being migrated.