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
OCPBUGS-26025: Do not apply master label to make sure SNO jobs pass #28499
Conversation
Signed-off-by: Harshal Patil <harpatil@redhat.com>
@harche: This pull request references Jira Issue OCPBUGS-26025, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
1 similar comment
/jira refresh |
@harche: This pull request references Jira Issue OCPBUGS-26025, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@harche: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, harche The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
aa50925
into
openshift:master
@harche: Jira Issue OCPBUGS-26025: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-26025 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Fix included in accepted release 4.16.0-0.nightly-2024-01-14-231715 |
The logic behind the
TestOpenshiftNodeLabeling
test was to pick up a worker node and apply the labels that the worker nodes is not allowed to have. While on a normal cluster the test worked fine, it started failing on the SNO clusters. This is because, on the SNO clusters the only available node is labelled with bothworker
andmaster
labels. This would make this test pick up the (only available) node and apply themaster
label. However, since a node in SNO cluster already hasmaster
label, kubelet will fail that operation during the validation.Since the original intention of the test is to just apply labels that aren't allowed for the given node. IMO, even if we drop the
master
label from the test, it will still hold good as a test for forbidden labels.