Engine fails to deploy: out of memory
An engine instance of Cloudera Migration Assistant that does not have enough memory, node capacity, or temporary storage does not start, or it restarts. Add capacity to the cluster.
Symptoms
One or more of the following:
- On the Engine instances tab of the Apps page in the Anywhere Cloud Console, the Cloudera Migration Assistant or Cloudera Migration Assistant Agent engine instance does not reach Running.
- Pods of the instance stay in the
Pendingstate. - Pods of the instance restart repeatedly, or are displayed as
OOMKilledorEvicted.
To find the state of the pods and the reason, run these commands in the namespace of the instance:
kubectl -n [***NAMESPACE***] get pods
kubectl -n [***NAMESPACE***] describe pod [***POD-NAME***]
Look at the Events section and at Last State in the output
of kubectl describe pod.
Pods stay Pending because nodes are full
Each component of Cloudera Migration Assistant requests a fixed amount of CPU and memory. If no node has enough free CPU or memory, Kubernetes cannot schedule the pod, and the events show Insufficient memory or Insufficient cpu.
Solution
Pods stay Pending because their volumes are not bound
When you turn on Use Shared Storage, Cloudera Migration Assistant requests
its volumes from the shared-fs storage class. If the cluster has no
shared-fs storage class, the volumes stay Pending, and
the pods that use them do not start.
Solution
Agent pod is evicted during large migration
When an agent migrates large Cloudera Data Engineering files, it uses up to 26 GiB of temporary space on its node. If the node has less free ephemeral storage, Kubernetes evicts the agent pod, and the migration command fails.
