Bug 1008424

Summary: [fork][origin_runtime_215] Existing gears do not migrate to new structure after server upgrade to fork_ami_deploy
Product: OpenShift Online Reporter: Qiushui Zhang <qiuzhang>
Component: ContainersAssignee: Andy Goldstein <agoldste>
Status: CLOSED UPSTREAM QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: pmorie, xtian
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-09-16 22:20:29 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:
Description Flags
upgrate log none

Description Qiushui Zhang 2013-09-16 10:47:23 UTC
Description of problem:
Migrate devenv_stage_465 to fork_ami_deploy_833. The old apps will not be updated to new structure.

Version-Release number of selected component (if applicable):
from devenv_stage_465 to fork_ami_deploy_833

How reproducible:
always

Steps to Reproduce:
1. Start an instance of devenv_stage_465
2. Create apps on this instance
3. Copy /root/devenv_local and /etc/yum.repo.d from the fork_ami_deploy_833 instance to devenv_stage_465 instance.
4. Do the following steps to finish the migrate:
a).yum clean all
b).yum -y update --enablerepo devenv-local
c).Restart the services: rhc-broker mcollective activemq
d).Clean broker cache
e)./usr/bin/rhc-admin-migrate-datastore --non-compatible --version 2.0.32 (NOTE: the script is using 2.0.32 instead of 2.0.33, so I use 32 here)
f).oo-admin-upgrade upgrade-node --version 2.0.33 --ignore-cartridge-version


Actual results:
The old apps are not migrated to new structures. If SSH to the app, the dependency folder is not there.

Expected results:
Apps should be migrate to use the new structure.

Additional info:
New created apps (created after migrate) will not be impacted. They will use new structure

Comment 1 Qiushui Zhang 2013-09-16 11:02:39 UTC
Created attachment 798226 [details]
upgrate log

Comment 2 Qiushui Zhang 2013-09-16 11:05:08 UTC
The attached log is from the instance of devenv_stage_465. I packaged /tmp/oo-upgrate.

Comment 3 Paul Morie 2013-09-16 22:20:29 UTC
We have a card for the upgrades: https://trello.com/c/dghNbF5U