Project

General

Profile

Actions

Bug #36505

closed

Failed to update host: undefined method `custom_content_labels' for #<Katello::ProductContentFinder> when turning on SCA

Added by Jeremy Lenz over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

A few lines of code were left out when backporting https://github.com/Katello/katello/pull/10515 into Katello 4.8 and 4.7. Because of this the task succeeds, but does not add any overrides. You'll see errors like above in production.log, and errors in the Dynflow console like

Actions::Katello::Organization::SimpleContentAccess::PrepareContentOverrides (success) [ 0.07s / 0.07s ]
---
migrator_result:
result: Finished creating overrides in non-SCA orgs; 2 errors
errors: 2
host_errors: Hosts - 1 error creating disabled overrides for unsubscribed content;
see log messages above
ak_errors: Activation keys - 1 error creating disabled overrides for unsubscribed
content; see log messages above

Actions

Also available in: Atom PDF