Ceph-Ansible site-docker.yml playbook does not login to registry.redhat.io from behind a http proxy

Solution In Progress - Updated -

Issue

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.

Environment

Red Hat Ceph Storage 4.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content