You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should updatecluster.status() to account for this instance and keep the cluster status "pending" until it is resolved, or times out.
We should also add some error handling to _map_to_app_wrapper() so that the reason for failure is clear and the correct value is passed up to cluster.status().
Update: the issue is not resolved by the kubernetes support update, but it is changed. No longer a MissingModel issue, but some elements of status not populated yet that need to be checked for.
There is a case, when the cluster is out of capacity and MCAD fails to create a cluster, where
wait_ready()
will fail with:This appears to be caused by line 469 in
_map_to_app_wrapper()
when no state yet exists.codeflare-sdk/src/codeflare_sdk/cluster/cluster.py
Lines 465 to 472 in 0d9b23c
We should update
cluster.status()
to account for this instance and keep the cluster status "pending" until it is resolved, or times out.We should also add some error handling to
_map_to_app_wrapper()
so that the reason for failure is clear and the correct value is passed up tocluster.status()
.Orginal Request from Slack:
https://project-codeflare.slack.com/archives/C04PF8V5MB3/p1689336080924819
The text was updated successfully, but these errors were encountered: