Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
When trying to remove/disable a repository from the Satellite WebUI I encounter 2 different errors depending on the content view version association with a lifecycle environment:
- With the repository associated with a CV version associated with a lifecycle, the error returned is:
"Repository cannot be deleted since it has already been included in a published Content View. Please delete all Content View versions containing this repository before attempting to delete it."
- With the repository associated with a CV version that not associated to a lifecycle, the error returned is:
"Task aa1ee0da-8f40-4fd8-b60e-3b09c1a8df44: ActiveRecord::DeleteRestrictionError: Cannot delete record because of dependent library_instances_inverse"
with the following methods:
1. WebUI > Content > Red Hat Repositories > Click the blue icon to the right of the enabled repository
2. WebUI > Content > Products > Click product name > check the box for a repository
Version-Release number of selected component (if applicable):
How reproducible:
Every time
Steps to Reproduce:
1. Create, publish and promote a content view with a repository
2. Ensure the 'delete_repo_across_cv' is set to "YES"
3. Try to remove the repository from the Satellite using one of the methods:
1. WebUI > Content > Red Hat Repositories > Click the blue icon to the right of the enabled repository
2. WebUI > Content > Products > Click product name > check the box for a repository > click "Remove Repositories" > Click "Delete" in pop-up
3. WebUI > Content > Products > Click product name > click the repository name > select action > click "Remove Repository" > Check the box confirming the "Are you sure you want to remove repository <REPO NAME> from all content views?" > Click "Delete"
Version-Release number of selected component (if applicable):
Satellite 6.11 snap 26
Actual results:
Paused tasks are created showing the repository is successfully removed from Pulp3 but failing to remove from Katello
Expected results:
The repository is removed successfully
Additional info:
Description of problem: When trying to remove/disable a repository from the Satellite WebUI I encounter 2 different errors depending on the content view version association with a lifecycle environment: - With the repository associated with a CV version associated with a lifecycle, the error returned is: "Repository cannot be deleted since it has already been included in a published Content View. Please delete all Content View versions containing this repository before attempting to delete it." - With the repository associated with a CV version that not associated to a lifecycle, the error returned is: "Task aa1ee0da-8f40-4fd8-b60e-3b09c1a8df44: ActiveRecord::DeleteRestrictionError: Cannot delete record because of dependent library_instances_inverse" with the following methods: 1. WebUI > Content > Red Hat Repositories > Click the blue icon to the right of the enabled repository 2. WebUI > Content > Products > Click product name > check the box for a repository Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Create, publish and promote a content view with a repository 2. Ensure the 'delete_repo_across_cv' is set to "YES" 3. Try to remove the repository from the Satellite using one of the methods: 1. WebUI > Content > Red Hat Repositories > Click the blue icon to the right of the enabled repository 2. WebUI > Content > Products > Click product name > check the box for a repository > click "Remove Repositories" > Click "Delete" in pop-up 3. WebUI > Content > Products > Click product name > click the repository name > select action > click "Remove Repository" > Check the box confirming the "Are you sure you want to remove repository <REPO NAME> from all content views?" > Click "Delete" Version-Release number of selected component (if applicable): Satellite 6.11 snap 26 Actual results: Paused tasks are created showing the repository is successfully removed from Pulp3 but failing to remove from Katello Expected results: The repository is removed successfully Additional info: