Skip to content

MCAD doesn't take into account the node tainting #512

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

Open
kpouget opened this issue Jul 26, 2023 · 1 comment
Open

MCAD doesn't take into account the node tainting #512

kpouget opened this issue Jul 26, 2023 · 1 comment

Comments

@kpouget
Copy link

kpouget commented Jul 26, 2023

As part of my Codeflare/MCAD test automation, I observed the following behavior:

mnisttest-user1-head-v9hbd                                        0/1     Pending     0              8m4s    <none>         <none>                         <none>           <none>
nisttest-user1-worker-small-group-mnisttest-user1-hmt8p           0/1     Pending     0              8m4s    <none>         <none>                         <none>           <none>
nisttest-user1-worker-small-group-mnisttest-user1-jhqkm           0/1     Pending     0              8m4s    <none>         <none>                         <none>           <none>
  • a RayCluster, part of an AppWrapper, has been instantiated in the cluster, although there's not enough resources to schedule them:
"message": "0/8 nodes are available: 1 Insufficient cpu, 1 node(s) had untolerated taint {only-test-pods: yes}, 
3 node(s) didn't match Pod's node affinity/selector, 
3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. 
preemption: 0/8 nodes are available: 1 No preemption victims found for incoming pod, 
7 Preemption is not helpful for scheduling.",

My understanding is that MCAD did not take into account the taint in one of the nodes (1 node(s) had untolerated taint {only-test-pods: yes}) when it decided that the AppWrapper would fit in the cluster. Unfortunately, the only node available for this workload did not have enough CPU to host the RayCluster 1 Insufficient cpu.


@kpouget
Copy link
Author

kpouget commented Jul 26, 2023

AppWrapper state when the RayCluster is pending: appwrapper.yaml.log (from another identical test run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant