-
Bug
-
Resolution: Done
-
Blocker
-
6.18.0
-
1
-
False
-
Critical
-
Artemis Sprint 154, Artemis Sprint 155
-
sat-artemis
-
None
-
None
-
None
-
Automated
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(s) 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.