Bug 854466

Summary: Caught "ArgumentError in BuildingController#destroy" error when trying to remove jenkins.
Product: OKD Reporter: Yujie Zhang <yujzhang>
Component: WebsiteAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: 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: 2012-09-17 21:30:09 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
Site and Broker detail logs. none

Description Yujie Zhang 2012-09-05 06:33:56 UTC
Created attachment 609877 [details]
Site and Broker detail logs.

Description of problem:

After I enabled jenkins, I tried to remove jenkins, when I clicked the "Remove Jenkins" button on /app/console/applications/cakephp/building/delete page, I caught "ArgumentError in BuildingController#destroy" error.Details log please see in attchment.

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

fork_ami_opensource_console_66

How reproducible:

always

Steps to Reproduce:
1.Create an application and enable jenkins.
2.Click the "remove the jenkins cartridge" link on app/console/applications/cakephp/building page
3.Click the "Remove Jenkins" button 
  
Actual results:

Caught "ArgumentError in BuildingController#destroy" error, details logs see in attachment.

Expected results:

The jenkins should be removed correctly.

Additional info:

Comment 1 Yujie Zhang 2012-09-06 03:06:51 UTC
Tested this issue on fork_ami_opensource_cosole_77, it has been fixed now, thanks.