When running "ansible-playbook site-docker.yml", it fails on Task "[ceph-container-common : container registry authentication]".
The reason it fails is the connection to "registry.redhat.io" times out because the host is behind a HTTP/HTTPS proxy.
Setting HTTP/HTTPS proxies in "/etc/profile.d/http_proxy.sh" file enables login from command line manually only. However, the playbook fails to make connection and times out.
Creating "/etc/systemd/system/docker.service.d/http-proxy.conf" as required in Red Hat Ceph Storage 3 installations doesn't work in Red Hat Ceph Storage 4 environment.
Red Hat Ceph Storage 4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.