Red Hat Bugzilla – Bug 1018671
[deploy]Migration 2.0.35 failed for all gears due to undefined method `add_env_var' for OpenShift::GearUpgradeExtension
Last modified: 2015-05-14 19:30:10 EDT
Created attachment 811879 [details]
Description of problem:
Create apps on devenv-stage_496, upgrade the server and run datastore migration. Try to upgrade the gears via oo-admin-upgrade, all gears will fail with following error:
"Caught an exception during upgrade: undefined method `add_env_var' for #<OpenShift::GearUpgradeExtension:0x000000034864a0>"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create test data on devenv-stage_496
2.Upgrade the server and run compatible migration for datastore
3.Upgrade the gears via oo-admin-upgrade
# oo-admin-upgrade upgrade-node --version 2.0.35 --ignore-cartridge-version
Migration failed with following error in the log:
"message": "undefined method `add_env_var' for #<OpenShift::GearUpgradeExtension:0x00000003403960>"
Gears should be upgraded successfully.
Full gear error log attached.
Issue fixed on devenv_3901, move bug to verified.