Private registry creation failed

Symptom

The creation of a private registry using the ansible-playbook create_registry_server.yaml failed. The offline-registry.log is created in the /var/log/ directory.

Cause
Likely caused by user specific reasons.
  • proxy and no_proxy are not set in the environment variables.

  • FQDN of the registry host is not resolvable.

Action
  1. Analyze log files to identify the issue.
  2. Resolve the issue using the reasons or cause mentioned in log file.
  3. Rerun the playbook after fixing the issue.