Image registry configuration failed

Symptom
To troubleshoot configuration of storage for image-registry failures, analyze the log files to know the root cause of the issue. The log files of the installer are created in the following locations:
  • /var/nps/logs/rhocp/rhocp-cli-<date>.log

  • /var/nps/logs/rhocp/nps-rhocp-cli-ansible.log

Action
  1. Analyze log files to identify the issue.
  2. Resolve the issue.
  3. To clean up the failed deployment, log in to the NPS toolkit VM and run the following commands:
    export KUBECONFIG=/var/nps/ISO/ign_config/auth/kubeconfig
    oc delete –f /var/nps/ISO/image-registry-pvc.yaml
    oc delete –f /var/nps/ISO/image-registry-storage-class.yaml
  4. Do one of the following:
    1. If the issue is due to the individual command, rerun the following individual image registry configuration command:
      nps deploy -s rhocp -a configure-image-registry
    2. If the issue is due to the nps autodeploy command, rerun the following command:
      nps autodeploy