-
Notifications
You must be signed in to change notification settings - Fork 63
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
fix for some AWs that do not complete #658
Conversation
Signed-off-by: James Busche <[email protected]>
I'm hoping I did my PR onto your PR right, but I made a few small adjustments to the perf.sh script that seems to be working well. I rebuilt the mcad image based on PR 658 and it's running very well, not seeing any hanging appwrappers - I've run up to 300 so far. As a control, I also ran the same perf.sh against the I think this PR is a big improvement, if we can just get the small perf.sh tweaks in there. |
changing jobstatus from jobs to appwrappers
It's looking really good @asm582, I've built the image and then done:
and then running your newly modified perf.sh and it's looking really good:
I'm also watching the appwrappers and it's cleanly finishing even the long runs, which was NOT the case in the regular rc.1 image.
|
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.
LGTM, tested great - performs well and the perf script is greatly improved, looking at appwrapper status instead of job status.
test/perf-test/perf.sh
Outdated
@@ -114,7 +114,7 @@ done | |||
esac | |||
|
|||
# Check for all jobs to report complete | |||
jobstatus=`kubectl get jobs -n default --no-headers --field-selector status.successful=1 |wc -l` | |||
jobstatus=`kubectl get appwrappers -n default --no-headers --field-selector status.successful=1 |wc -l` |
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.
Shoot - this change isn't working right - getting the error message:
Error from server (BadRequest): Unable to find "workload.codeflare.dev/v1beta1, Resource=appwrappers" that match label selector "", field selector "status.successful=1": field label not supported: status.successful
But since the jobstatus later in the while loop uses jobs
the perf.sh script still completes.
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.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jbusche, metalcycling 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 |
Issue link
#657
What changes have been made
Changes to addqueue method which exists only after informer and etcd has status.
Verification steps
I have manually run scale tests and confirmed all AWs complete
Checks