Project

General

Profile

Actions

Bug #38689

closed

Error "Katello::Resources::Candlepin::Environment: 404 Not Found" When Deleting Rolling Content View

Added by Pavan Soma Shekar 11 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:

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.

Actions #1

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
Actions #2

Updated by The Foreman Bot 11 months ago

  • Fixed in Releases Katello 4.19.0 added
Actions #3

Updated by Anonymous 11 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

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
Actions #5

Updated by The Foreman Bot 10 months ago

  • Fixed in Releases Katello 4.18.1 added
Actions #6

Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/Katello/katello/pull/11551 added
Actions #7

Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/Katello/katello/pull/11582 added
Actions

Also available in: Atom PDF