Skip to content

Fixes #34735 - default host tools for Satellite registrations - #10937

Open
jakduch wants to merge 1 commit into
theforeman:developfrom
jakduch:fix/redhat-register-host-tools-defaults
Open

jakduch wants to merge 1 commit into
theforeman:developfrom
jakduch:fix/redhat-register-host-tools-defaults

Conversation

@jakduch

@jakduch jakduch commented Mar 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Default redhat_install_host_tools to true when subscription-manager registration uses a Satellite/Katello consumer certificate.

Plain CDN registration has no consumer certificate URL and keeps the default disabled, so it does not try to install katello-host-tools from repositories where the package is unavailable. An explicit redhat_install_host_tools parameter continues to override either default.

Testing

  • CDN registration defaults to no host tools
  • Satellite registration defaults to installing host tools
  • Both defaults can be overridden explicitly

@jakduch
jakduch force-pushed the fix/redhat-register-host-tools-defaults branch from 960a14c to a55c945 Compare March 28, 2026 20:27
@ianballou

Copy link
Copy Markdown
Contributor

My concern with this is that, without kt_activation_keys, it's no longer assumed that Katello is in the picture. For anyone using this script to register to the CDN, for example, they might not care for the Katello tooling. Plus the script I think would start failing for them if the RPM isn't in their repo.

Defaulted katello-host-tools installation only for registrations using a Satellite or Katello consumer certificate. Plain CDN registrations keep the tools disabled unless explicitly enabled.
@jakduch
jakduch force-pushed the fix/redhat-register-host-tools-defaults branch from a55c945 to eb9301c Compare September 25, 2026 08:09
@jakduch

jakduch commented Sep 25, 2026

Copy link
Copy Markdown
Contributor Author

Good point. I scoped the default to registrations that use a Satellite/Katello consumer certificate. Plain CDN registration now leaves katello-host-tools disabled unless redhat_install_host_tools=true is set explicitly.

I also added coverage for the CDN and Satellite defaults, plus both explicit overrides, and rebased the PR onto current develop.

@jakduch jakduch changed the title Fixes #34735 - Default redhat_install_host_tools to true Fixes #34735 - default host tools for Satellite registrations Sep 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants