Bug #38689
closedError "Katello::Resources::Candlepin::Environment: 404 Not Found" When Deleting Rolling Content View
Description
Description of problem:
When attempting to delete a Rolling Content View that contains a repository (e.g., rhel-8-for-x86_64-baseos-rpms), the task fails with an error message indicating a missing environment. This issue also prevents deletion of other repositories or content views associated with different repositories, impacting content management functionality in Satellite.
How reproducible: Always
Is this issue a regression from an earlier version: Rolling CV is a new feature in Satellite 6.18
Steps to Reproduce:
Navigate to Satellite WebUI → Content → Red Hat Repositories
Enable any repository (e.g., rhel-8-for-x86_64-baseos-rpms)
Synchronize the enabled repository
Create a Rolling Content View and add the enabled repository to the content view
Navigate to Satellite WebUI → Content → Lifecycle → Content Views
Locate the Rolling Content View, click the three vertical dots at the end of the row, and click Delete
Actual Behavior:
A task titled "Remove Versions and Associations content view 'rolling cv'; organization 'RedHat'" is initiated
The task moves into a Paused/Error state and fails with the following error message:
{{Errors:
Katello::Resources::Candlepin::Environment: 404 Not Found
{"displayMessage":"Environment with ID 26eaa4f6c8a5299815fd9f44a2b421a3 could not be found.","requestUuid":"dae2e334-ce2c-4d13-ad53-e93d2698b580"}
(GET /candlepin/environments/26eaa4f6c8a5299815fd9f44a2b421a3)}}
Expected Behavior:
The Rolling Content View should be successfully deleted without triggering errors.
Deleting other repositories or content views associated with different repositories should also succeed.
Business Impact / Additional info:
This issue impacts content management tasks on the Satellite server, especially when trying to delete or manage content views associated with repositories.
This affects all content management-related tasks, leading to a significant disruption in Satellite server administration.
Updated by The Foreman Bot 11 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11482 added
Updated by Anonymous 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|21b4d5c61d2b7e364ce9d8b0b49c07639c368205.
Updated by Jeremy Lenz 11 months ago
- Target version changed from Katello 4.18.0 to Katello 4.17.2
- Triaged changed from No to Yes
Updated by The Foreman Bot 8 months ago
- Pull request https://github.com/Katello/katello/pull/11551 added
Updated by The Foreman Bot 8 months ago
- Pull request https://github.com/Katello/katello/pull/11582 added