Skip to content

Conversation

evallesp
Copy link
Contributor

@evallesp evallesp commented Oct 3, 2025

It seems these scenarios has master nodes and a single worker node which is tainted. This worker node is used for running tempest but nothing related with OCP.

Problematic scenarios are those which has a worker node tainted for tempest, but the workload is set in master nodes.

There's no reason to configure NNCP in master nodes when we have regular worker nodes, so we were assuming that in case of there's a worker node, then all NNCP goes to worker node, which is problematic when single worker node is tainted.

So we need to enhance the templates to:

  • Check if there's a worker node, if so, check if those are tainted.
  • If not tainted, worker takes preference.
  • If tainted, master takes preference.
  • If there's no worker node, then we go with master nodes.
  • Same for SNO CRC scenarios.

@evallesp evallesp requested a review from a team as a code owner October 3, 2025 12:49
Copy link
Contributor

openshift-ci bot commented Oct 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

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

It seems these scenarios has master nodes and a single worker node which is tainted.
This worker node is used for running tempest but nothing related with OCP.

Problematic scenarios are those which has a worker node tainted for tempest, but the workload
is set in master nodes.

There's no reason to configure NNCP in master nodes when we have regular worker nodes, so we
were assuming that in case of there's a worker node, then all NNCP goes to worker node, which is
problematic when single worker node is tainted.

So we need to enhance the templates to:
* Check if there's a worker node, if so, check if those are tainted.
* If not tainted, worker takes preference.
* If tainted, master takes preference.
* If there's no worker node, then we go with master nodes.
* Same for SNO CRC scenarios.

Adding also uni02beta that takes the template from common
@evallesp evallesp force-pushed the fix-nncp-uni02beta-uni04delta-ipv6 branch from afa0f89 to 46add10 Compare October 3, 2025 12:54
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.

1 participant