Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1160526 - deleting capsule from GUI
Summary: deleting capsule from GUI
Keywords:
Status: CLOSED DUPLICATE of bug 1207972
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Proxy
Version: 6.0.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-05 05:37 UTC by Dhaval
Modified: 2017-02-23 20:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-09 15:13:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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