-
Notifications
You must be signed in to change notification settings - Fork 90
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
Issue-562 | Added code changes to update pod scheduling error message… #566
Conversation
…s member state details
Plz add some details here about what you tested and an example of what the relevant status fields look like in one of the test cases. |
@@ -619,6 +623,9 @@ func updateStateRollup( | |||
// Count missing container as waiting, at this point. | |||
if memberStatus.StateDetail.LastKnownContainerState == containerMissing { | |||
cr.Status.MemberStateRollup.MembersWaiting = true | |||
if memberStatus.StateDetail.SchedulingErrorMessage != nil { | |||
cr.Status.MemberStateRollup.MembersNotScheduled = true |
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.
In the block of stuff at the beginning of this function we must also set MembersNotScheduled to false initially.
@@ -0,0 +1,37 @@ | |||
// Copyright 2019 Hewlett Packard Enterprise Development LP |
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.
Copyright 2022!
Just a couple of minor fixes noted above, then this will be ready to merge. |
Sorry I'm logged into my personal GitHub account rather than corporate. Lemme switch... |
OK this should make it more official. :-) Just a couple of minor fixes noted above, then this will be ready to merge. |
Details about code changes
#562
Testing
Created 5 member ubuntu cluster
Couple of pods' scheduling failed because of less resource availability in the k8s cluster.
Then untainted the master node so that some of the pods can be scheduled on master.
Change in kd node id 5 status - Configured And No Scheduling Error Message