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-24030: add uncordon to mcn #4065
Conversation
@cdoern: This pull request references Jira Issue OCPBUGS-24030, 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 kubernetes/test-infra repository. |
/hold for verification |
@cdoern when I try to list additional fields I cannot see Uncordoned, but I can find it in conditions $ oc get machineconfignode ip-10-0-117-1.us-east-2.compute.internal -o yaml | yq '.status.conditions[].type'
"Resumed"
"UpdatePrepared"
"UpdateExecuted"
"UpdatePostActionComplete"
"UpdateComplete"
"UpdateCompatible"
"Drained"
"AppliedFilesAndOS"
"Cordoned"
"RebootedNode"
"ReloadedCRIO"
"Updated"
"Uncordoned"
$ oc get machineconfignode ip-10-0-117-1.us-east-2.compute.internal -o wide
NAME UPDATED UPDATEPREPARED UPDATEEXECUTED UPDATEPOSTACTIONCOMPLETE UPDATECOMPLETE RESUMED UPDATECOMPATIBLE UPDATEDFILESANDOS CORDONEDNODE DRAINEDNODE REBOOTEDNODE RELOADEDCRIO
ip-10-0-117-1.us-east-2.compute.internal True False False False False False False False False False False False I can find it in https://github.com/openshift/api/blob/master/machineconfiguration/v1alpha1/0000_80_machineconfignode-TechPreviewNoUpgrade.crd.yaml, is there anything I missed? create a MC, monitor the condition, it can be updated. {"lastTransitionTime":"2023-12-08T10:31:08Z","message":"UnCordoned node. The node is reporting Unschedulable = false","reason":"UpdateCompleteUncordoned","status":"True","type":"Uncordoned"} |
@rioliu-rh I think I forgot to update the CRD in the manifests Dir. I will push changes with that now. |
we were using cordon to describe both cordon and uncordon in the MCN status Signed-off-by: Charlie Doern <cdoern@redhat.com>
948148b
to
4f000c9
Compare
verify with latest code $ mcn ip-10-0-15-42.us-east-2.compute.internal -o wide -w
NAME UPDATED UPDATEPREPARED UPDATEEXECUTED UPDATEPOSTACTIONCOMPLETE UPDATECOMPLETE RESUMED UPDATECOMPATIBLE UPDATEDFILESANDOS CORDONEDNODE DRAINEDNODE REBOOTEDNODE RELOADEDCRIO UNCORDONEDNODE
ip-10-0-15-42.us-east-2.compute.internal False True Unknown False False False True False True Unknown False False False
ip-10-0-15-42.us-east-2.compute.internal False True Unknown False False False True False True True False False False
ip-10-0-15-42.us-east-2.compute.internal False True Unknown False False False True False True True False False False
ip-10-0-15-42.us-east-2.compute.internal False True Unknown False False False True False True Unknown False False False
ip-10-0-15-42.us-east-2.compute.internal False True Unknown False False False True False True True False False False
ip-10-0-15-42.us-east-2.compute.internal False True Unknown False False False True Unknown True True False False False
ip-10-0-15-42.us-east-2.compute.internal False True True False False False True True True True False False False
ip-10-0-15-42.us-east-2.compute.internal False True True Unknown False False True True True True Unknown False False
ip-10-0-15-42.us-east-2.compute.internal False True True True False False True True True True True False False
ip-10-0-15-42.us-east-2.compute.internal False True True True False True True True True True True False False
ip-10-0-15-42.us-east-2.compute.internal False True True True True True True True True True True False True
ip-10-0-15-42.us-east-2.compute.internal False True True True True True True True True True True False True
ip-10-0-15-42.us-east-2.compute.internal True False False False False False False False False False False False False |
/label qe-approved |
@cdoern: This pull request references Jira Issue OCPBUGS-24030, which is invalid:
Comment 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 kubernetes/test-infra repository. |
/test all |
/jira refresh |
@cdoern: This pull request references Jira Issue OCPBUGS-24030, which is valid. 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 kubernetes/test-infra repository. |
@@ -31,6 +31,7 @@ contents: | |||
AzureWorkloadIdentity: true | |||
BuildCSIVolumes: true | |||
CloudDualStackNodeIPs: true | |||
DisableKubeletCloudCredentialProviders: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall lgtm from me! Just one minor thing: what does this template change do exactly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is to bring in some of the new featuregates that have been added to the default list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack, sorry didn't catch that!
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cdoern, djoshy 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 |
@cdoern: all tests passed! 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. |
@cdoern: Jira Issue OCPBUGS-24030: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-24030 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 kubernetes/test-infra repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build openshift-proxy-pull-test-container-v4.16.0-202312140031.p0.gfe00a11.assembly.stream for distgit openshift-proxy-pull-test. |
we were using cordon to describe both cordon and uncordon in the MCN status