Bug 1017719

Summary: [deploy] Failed to migrate scalable apps
Product: OpenShift Online Reporter: Meng Bo <bmeng>
Component: ContainersAssignee: Paul Morie <pmorie>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jhonce
Target Milestone: ---   
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:34:54 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:
Attachments:
Description Flags
upgrade_error_for_haproxy none

Description Meng Bo 2013-10-10 11:38:10 UTC
Description of problem:
Create apps on devenv-stage_491, upgrade the server and run datastore migration. Try to upgrade the gears via oo-admin-upgrade, all scalable app will fail and found following error in the upgrade_error log:

"Unhandled exception performing step: undefined method `[]' for nil:NilClass"


Version-Release number of selected component (if applicable):
devenv-stage_491 to devenv_3881

How reproducible:
always

Steps to Reproduce:
1.Create test data on devenv-stage_491
2.Upgrade the server and run compatible migration for datastore
3.Upgrade the gears via oo-admin-upgrade
# oo-admin-upgrade upgrade-node --version 3.0.35 --ignore-cartridge-version

Actual results:
All the scalable app upgrade will failed.

Expected results:
Scalable app should be upgraded successfully.

Additional info:
The full log for the gear upgrade in attachment.

Comment 1 Meng Bo 2013-10-10 11:39:02 UTC
Created attachment 810473 [details]
upgrade_error_for_haproxy

Comment 2 openshift-github-bot 2013-10-11 04:17:21 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/1268d5a9635bcffb434c5474591b1171c144ff78
Fix bug 1017719: run all stages of gear upgrade extension

Comment 3 Paul Morie 2013-10-15 16:35:43 UTC
https://github.com/openshift/li/pull/1994 should resolve this bug.

Comment 4 Meng Bo 2013-10-16 10:01:41 UTC
Scalable app can be upgraded on devenv_3901, move bug to verified.