Red Hat Bugzilla – Bug 844276
Destroying an old existing application will hit "Could not destroy all gears of application." error after server upgrade
Last modified: 2015-05-14 22:02:06 EDT
Created attachment 601140 [details]
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):
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
4.git clone firstname.lastname@example.org:openshift/li.git
5.rhc-admin-migrate --version 2.0.15
6.On client, try to destroy an application
rhc app destroy -a php1s
Could not destroy all gears of application.
application should be destroyed without errors.
I have added /var/www/stickshift/broker/log/development.log as attachment.
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
Verified on devevn_1922
1.Launch a old instance, currently devenv-stage_226
2.Create applications before upprade
3.Upgrade and migrate
git clone email@example.com:openshift/li.git
rhc-admin-migrate --version 2.0.15
4.Destroy an old existing application
rhc app destroy -a php1
Old existing application is destroyed successfully.