Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude compact setup from a hci exception for get_node #11245

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fbalak
Copy link
Contributor

@fbalak fbalak commented Jan 28, 2025

Fixes #11242

@fbalak fbalak self-assigned this Jan 28, 2025
@fbalak fbalak requested a review from a team as a code owner January 28, 2025 13:16
Signed-off-by: fbalak <[email protected]>
jilju
jilju previously approved these changes Jan 28, 2025
if (
is_hci_provider_cluster()
and node_type == constants.WORKER_MACHINE
and config.ENV_DATA["worker_replicas"] == 0
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a condition in the below for loop to skip master nodes. In compact mode cluster, the worker will also have the master node role. So no nodes will be selected.

@jilju jilju self-requested a review January 29, 2025 10:20
Signed-off-by: fbalak <[email protected]>
@openshift-ci openshift-ci bot added the lgtm label Jan 29, 2025
Copy link

openshift-ci bot commented Jan 29, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fbalak, jilju

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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.

Provider mode deployment in compact mode fails
2 participants