Project

General

Profile

Actions

Bug #38866

closed

Always force manage_repos to be enabled in rhsm.conf as a part of subscription_manager_setup snippet execution

Added by Sayan Das 3 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host registration
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Right now, any AMIs launched for RHEL 8.4 and later have auto_registration enabled and hence, as they are not expected to consume content directly from redhat cdn or a satellite\katello\foreman, The manage_repos option is by default set to 0 or disabled.

If someone tries to register such a cloud-based system, with their Katello+foreman instance using global registration method, the registration part works, but the system fails to see any repos coming from satellite and hence the whole curl command fails at the end.

We need to make sure that as a part of https://github.com/theforeman/foreman/blob/develop/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb#L106-L113 i.e., reconfiguring the rhsm.conf, we are also forcing manage_repos to be 1.

Actions #1

Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10740 added
Actions #2

Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.17.0 added
Actions #3

Updated by Sayan Das 3 months ago

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

Updated by Sayan Das about 1 month ago

  • Red Hat JIRA set to SAT-39803
Actions

Also available in: Atom PDF