Skip to content

Conversation

@evgeni
Copy link
Member

@evgeni evgeni commented Jan 5, 2026

No description provided.

@evgeni evgeni force-pushed the subman-release-check branch from 2d403c9 to cd25d8c Compare January 5, 2026 11:24
@evgeni evgeni force-pushed the subman-release-check branch from 32e1f92 to 5f03685 Compare January 5, 2026 12:28
Copy link

@stejskalleos stejskalleos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍏 LGTM

Code is covered by tests & packit verification passed as well:

foreman-maintain health list | grep release
[check-subscription-manager-release] Check if subscription-manager release is not set to a minor version

Release not set

subscription-manager release --show
Release not set

foreman-maintain health check --label check-subscription-manager-release
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check if subscription-manager release is not set to a minor version:  [OK]
--------------------------------------------------------------------------------

Release set to 9

subscription-manager release --set 9
Release set to: 9

foreman-maintain health check --label check-subscription-manager-release
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check if subscription-manager release is not set to a minor version:  [OK]
--------------------------------------------------------------------------------

Release set to 9.6

subscription-manager release --set 9.6
Release set to: 9.6

foreman-maintain health check --label check-subscription-manager-release
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check if subscription-manager release is not set to a minor version:  [FAIL]
Your system is configured to use RHEL 9.6, but Satellite is only supported on the latest RHEL. Please unset the release in subscription-manager by calling `subscription-manager release --unset`.
--------------------------------------------------------------------------------
Scenario [ForemanMaintain::Scenario::FilteredScenario] failed.

The following steps ended up in failing state:

  [check-subscription-manager-release]

Resolve the failed steps and rerun the command.

If the situation persists and, you are unclear what to do next,
contact Red Hat Technical Support.

In case the failures are false positives, use
--whitelist="check-subscription-manager-release"

@stejskalleos stejskalleos merged commit 5c22487 into master Jan 6, 2026
8 checks passed
@stejskalleos stejskalleos deleted the subman-release-check branch January 6, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants