Bug 1160526

Summary: deleting capsule from GUI
Product: Red Hat Satellite Reporter: Dhaval <dhaval.joshi>
Component: Foreman ProxyAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-09 15:13:14 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:

Description Dhaval 2014-11-05 05:37:34 UTC
Description of problem:Delete capsule from GUI


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


How reproducible:



Steps to Reproduce:
1. try to create new capsule
2. once created assign it to ORG
3. try to delete capsule from GUI

Actual results:

Error
ERROR: update or delete on table "smart_proxies" violates foreign key constraint "hosts_puppet_ca_proxy_id_fk" on table "hosts" DETAIL: Key (id)=(2) is still referenced from table "hosts". 



Expected results:


Additional info:

PGError
ERROR: update or delete on table "smart_proxies" violates foreign key constraint "hosts_puppet_ca_proxy_id_fk" on table "hosts" DETAIL: Key (id)=(2) is still referenced from table "hosts".
app/controllers/smart_proxies_controller.rb:51:in `destroy'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Comment 1 RHEL Program Management 2014-11-05 05:52:54 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Mike McCune 2015-04-09 15:13:14 UTC

*** This bug has been marked as a duplicate of bug 1207972 ***