Bug 1018671
Summary: | [deploy]Migration 2.0.35 failed for all gears due to undefined method `add_env_var' for OpenShift::GearUpgradeExtension | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Meng Bo <bmeng> | ||||
Component: | Containers | Assignee: | Paul Morie <pmorie> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 2.x | CC: | dmcphers, xtian | ||||
Target Milestone: | --- | Keywords: | TestBlocker | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-10-17 13:35:42 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Issue fixed on devenv_3901, move bug to verified. |
Created attachment 811879 [details] upgrade_error_for_gear 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): devenv_3893 How reproducible: always 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 Actual results: Migration failed with following error in the log: "message": "undefined method `add_env_var' for #<OpenShift::GearUpgradeExtension:0x00000003403960>" Expected results: Gears should be upgraded successfully. Additional info: Full gear error log attached.