Symptoms
When running the command dataiq start you will get an error "Failed to start DataIQ PODs, ensure DataIQ installed correctly"When running the command kubectlg get pods -A under status you will see one of these possible messages "ErrImagePull, Int:ImagePullBackOff, or ImagePullBackOff"DataIQ website could become unreachable.
Cause
Docker images have been removed from the docker configuration.
Resolution
1. Confirm that the DataIQ instance is having ImagePullBackOff by using the command below
kubectl get pods -A
2. The images are stored in two locations /opt/dataiq/app_img and /opt/dataqi/infra_img3. Get into the directory for the app_img
cd /opt/dataiq/app_img
4. Use the below command to install the missing images.
for f in $(ls -1 /opt/dataiq/app_img); do docker load -i ${f}; done
5. Once the images load get into the next image directory
cd /opt/dataiq/infra_img
6. Use the below command to install the missing images.
for f in $(ls -1 /opt/dataiq/infra_img); do docker load -i ${f}; done
7. Once the images are loaded DataIQ should be able to pull the images and heal itself. Use below command to check status of DataIQ.
kubectl get pods -A