Bug 806838

Summary: Caught "ActiveResource::ServerError in ApplicationsController#destroy" error when deleting an application after adding all the cartridges to it.
Product: OKD Reporter: Yujie Zhang <yujzhang>
Component: PodAssignee: Ravi Sankar <rpenta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: ccoleman, rmillner, szhou, xtian
Target Milestone: ---Keywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:34:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Yujie Zhang 2012-03-26 10:39:08 UTC
Description of problem:

After adding all the cartridges(except for postsql) to an application,I tried to delete this application,but caught "ActiveResource::ServerError in ApplicationsController#destroy" error.

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

devenv_1672

How reproducible:always


Steps to Reproduce:
1.Go to openshift website and login
2.Create an application and add all the cartridges(except for postsql) to this applciation
3.Try to delete this application
  
Actual results:

Cautht "ActiveResource::ServerError in ApplicationsController#destroy" error when deleting this application,detail error message is as following:

ActiveResource::ServerError in ApplicationsController#destroy

Failed.  Response code = 500.  Response message = Internal Server Error.
Rails.root: /var/www/stickshift/site

Application Trace | Framework Trace | Full Trace
app/controllers/applications_controller.rb:86:in `destroy'
Request

Parameters:

{"utf8"=>"✓",
 "id"=>"app1",
 "_method"=>"delete",
 "authenticity_token"=>"FbD8wljdW0rgjrjrN0UpVijNhonjNJWLz6urQb0kxZ4="}

Expected results:

The application should be deleted without error.

Additional info:

Comment 1 Yujie Zhang 2012-03-26 10:40:01 UTC
This issue did not exist on devenv_1670.

Comment 2 Clayton Coleman 2012-03-26 13:36:25 UTC
500 error from server

Comment 3 Ravi Sankar 2012-03-30 00:36:48 UTC
Can't reproduce the issue on devenv_1679

Comment 4 Xiaoli Tian 2012-03-30 11:31:36 UTC
Verified it on devenv-stage_155,it's fixed now.