Bug 2196085 - Publishing new version of content view after Satellite 6.12 to 6.13 upgrade fails with error "Orphaned content facets for deleted hosts exist for the content view and environment. Please run rake task : katello:clean_orphaned_facets and try again!
Summary: Publishing new version of content view after Satellite 6.12 to 6.13 upgrade f...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: 6.14.0
Assignee: Samir Jha
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-08 03:45 UTC by Jayant Bhatia
Modified: 2023-07-11 17:42 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-17600 0 None None None 2023-05-08 13:12:30 UTC
Red Hat Knowledge Base (Solution) 7011560 0 None None None 2023-05-08 06:36:27 UTC

Description Jayant Bhatia 2023-05-08 03:45:58 UTC
Description of problem:

Publishing new version of content view after Satellite upgrade from version 6.12 to 6.13 fails with below error

       Orphaned content facets for deleted hosts exist for the content view and environment. Please run rake task : katello:clean_orphaned_facets and try again!


Version-Release number of selected component (if applicable): Satellite 6.13


Steps to Reproduce:
1. Upgrade from Satellite 6.12 to 6.13.
2. Try publishing a new version of existing content view which fails with mentioned error.


Actual results: Running "foreman-rake katello:clean_orphaned_facets" did not help and issue persist even after running the same command.


Expected results: If there are orphaned content facets in Satellite 6.12, it should get fixed or atleast detected during Satellite 6.12 to 6.13 upgrade. The issue should not be observed after successful Satellite 6.13 upgrade.

Comment 18 Sam Bible 2023-07-06 18:17:20 UTC
Verified on: 6.14 - Snap 5

Steps to Reproduce:
1. Create a content view and attach a RHEL 7 repo to it. Publish the CV
2. In web UI, subscribe a content host in Organization 'A' and Location 'B' to the CV.
3. In the Web UI, set your current Organization as 'A' and current Location as 'C'.
4. Publish the content view.

Actual results:
Content View is successfully published.

Expected results:
Content View is successfully published.


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