Troubleshooting common problems with distributed workloads for users
If you are experiencing errors in Alauda AI relating to distributed workloads, read this section to understand what could be causing the problem, and how to resolve the problem.
If the problem is not documented here or in the release notes, contact Alauda Support.
TOC
My Ray cluster is in a suspended stateProblemDiagnosisResolutionMy Ray cluster is in a failed stateProblemDiagnosisResolutionI see a "failed to call webhook" error message for KueueProblemDiagnosisResolutionMy Ray cluster does not startProblemDiagnosisResolutionI see a "Default Local Queue not found" error messageProblemDiagnosisResolutionI see a "local_queue provided does not exist" error messageProblemDiagnosisResolutionMy pod provisioned by Kueue is terminated before my image is pulledProblemDiagnosisResolutionMy Ray cluster is in a suspended state
Problem
The resource quota specified in the cluster queue configuration might be insufficient, or the resource flavor might not yet be created.
Diagnosis
The Ray cluster head pod or worker pods remain in a suspended state.
Resolution
-
In Administrator view, navigate to Clusters -> Resources.
-
Check the workload resource: i. Click Search, and from the Resources list, select Workload. ii. Select the workload resource that is created with the Ray cluster resource, and click the YAML tab. iii. Check the text in the
status.conditions.messagefield, which provides the reason for the suspended state, as shown in the following example: -
Check the Ray cluster resource: i. Click Search, and from the Resources list, select RayCluster. ii. Select the Ray cluster resource, and click the YAML tab. iii. Check the text in the
status.conditions.messagefield. -
Check the cluster queue resource: i. Click Search, and from the Resources list, select ClusterQueue. ii. Check your cluster queue configuration to ensure that the resources that you requested are within the limits defined for the project. iii. Either reduce your requested resources, or contact your administrator to request more resources.
My Ray cluster is in a failed state
Problem
You might have insufficient resources.
Diagnosis
The Ray cluster head pod or worker pods are not running. When a Ray cluster is created, it initially enters a failed state. This failed state usually resolves after the reconciliation process completes and the Ray cluster pods are running.
Resolution
If the failed state persists, complete the following steps:
- In Administrator view, navigate to Clusters -> Resources.
- Click Search, and from the Resources list, select Pod.
- Click your pod name to open the pod details page.
- Click the Events tab, and review the pod events to identify the cause of the problem.
- If you cannot resolve the problem, contact your administrator to request assistance.
I see a "failed to call webhook" error message for Kueue
Problem
After you run the cluster.apply() command, the following error is shown:
Diagnosis
The Kueue pod might not be running.
Resolution
Contact your administrator to request assistance.
My Ray cluster does not start
Problem
After you run the cluster.apply() command, when you run either the cluster.details() command or the cluster.status() command, the Ray Cluster remains in the Starting status instead of changing to the Ready status. No pods are created.
Diagnosis
-
In Administrator view, navigate to Clusters -> Resources.
-
Check the workload resource: i. Click Search, and from the Resources list, select Workload. ii. Select the workload resource that is created with the Ray cluster resource, and click the YAML tab. iii. Check the text in the
status.conditions.messagefield, which provides the reason for remaining in theStartingstate. -
Check the Ray cluster resource: i. Click Search, and from the Resources list, select RayCluster. ii. Select the Ray cluster resource, and click the YAML tab. iii. Check the text in the
status.conditions.messagefield.
Resolution
If you cannot resolve the problem, contact your administrator to request assistance.
I see a "Default Local Queue not found" error message
Problem
After you run the cluster.apply() command, the following error is shown:
Diagnosis
No default local queue is defined, and a local queue is not specified in the cluster configuration.
Resolution
- In Administrator view, navigate to Clusters -> Resources.
- Click Search, and from the Resources list, select LocalQueue.
- Resolve the problem in one of the following ways:
- If a local queue exists, add it to your cluster configuration as follows:
- If no local queue exists, contact your administrator to request assistance.
- If a local queue exists, add it to your cluster configuration as follows:
I see a "local_queue provided does not exist" error message
Problem
After you run the cluster.apply() command, the following error is shown:
Diagnosis
An incorrect value is specified for the local queue in the cluster configuration, or an incorrect default local queue is defined. The specified local queue either does not exist, or exists in a different namespace.
Resolution
- In Administrator view, navigate to Clusters -> Resources.
- Click Search, and from the Resources list, select LocalQueue.
- Resolve the problem in one of the following ways:
- If a local queue exists, ensure that you spelled the local queue name correctly in your cluster configuration, and that the
namespacevalue in the cluster configuration matches your project name. If you do not specify anamespacevalue in the cluster configuration, the Ray cluster is created in the current project. - If no local queue exists, contact your administrator to request assistance.
- If a local queue exists, ensure that you spelled the local queue name correctly in your cluster configuration, and that the
My pod provisioned by Kueue is terminated before my image is pulled
Problem
Kueue waits for a period of time before marking a workload as ready for all of the workload pods to become provisioned and running. By default, Kueue waits for 5 minutes. If the pod image is very large and is still being pulled after the 5-minute waiting period elapses, Kueue fails the workload and terminates the related pods.
Diagnosis
- In Administrator view, navigate to Clusters -> Resources.
- Click Search, and from the Resources list, select Pod.
- Click the Ray head pod name to open the pod details page.
- Click the Events tab, and review the pod events to check whether the image pull completed successfully.
Resolution
If the pod takes more than 5 minutes to pull the image, contact your administrator to request assistance.