Bug 844276 - Destroying an old existing application will hit "Could not destroy all gears of application." error after server upgrade
Summary: Destroying an old existing application will hit "Could not destroy all gears ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-30 07:53 UTC by Jianwei Hou
Modified: 2015-05-15 02:02 UTC (History)
0 users

Fixed In Version: devenv_1922
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 20:42:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
development.log (63.83 KB, text/x-log)
2012-07-30 07:53 UTC, Jianwei Hou
no flags Details

Description Jianwei Hou 2012-07-30 07:53:25 UTC
Created attachment 601140 [details]
development.log

Description of problem:
After upgrade and migrate, try to destroy an old existing application will hit the error "Could not destroy all gears of application."

Version-Release number of selected component (if applicable):
on devenv-stage_226

How reproducible:
always

Steps to Reproduce:
1.Launch an old instance, currently devenv-stage_226
2.Prepare user account and applications before upgrade, set vip for user
3.ssh into devenv, upgrade to latest
  yum update
4.git clone git:openshift/li.git
  cd li/misc/maintenance/bin
  ./migrate-mongo-2.0.15
5.rhc-admin-migrate --version 2.0.15
6.On client, try to destroy an application 
  rhc app destroy -a php1s
  
Actual results:
RESULT:
Could not destroy all gears of application.


Expected results:
application should be destroyed without errors.

Additional info:
I have added /var/www/stickshift/broker/log/development.log as attachment.

Comment 1 Jianwei Hou 2012-07-30 09:28:17 UTC
All applications are running, and their websites can be accessed.
Cartridges for these applications can be removed.
Even git push can be done against these applications.
But when trying to destroy them, the "Could not destroy all gears of application." error is returned

Create new applications and then destroy them, the operation was successful. This problem exists only when upgrade from an older instance

Comment 2 Jianwei Hou 2012-07-31 05:49:10 UTC
Verified on devevn_1922

Steps:
1.Launch a old instance, currently devenv-stage_226
2.Create applications before upprade
3.Upgrade and migrate
  yum update
  git clone git:openshift/li.git
  cd li/misc/maintenance/bin
  ./migrate-mongo-2.0.15
  rhc-admin-migrate --version 2.0.15
4.Destroy an old existing application
  rhc app destroy -a php1

Result:
Old existing application is destroyed successfully.


Note You need to log in before you can comment on or make changes to this bug.