Description of problem: ceph-ansible requires internet access when adding the Red Hat GPG key on Ubuntu systems. - name: add the red hat storage apt-key apt_key: url: "https://www.redhat.com/security/fd431d51.txt" state: present Version-Release number of selected component (if applicable): ceph-ansible-1.0.5-14.el7scon How reproducible: always Steps to Reproduce: 1. Create an Ubuntu Xenial node and make it unable to access the broader internet (specifically https://www.redhat.com in this case). 2. Use ceph-ansible to install Red Hat Ceph Storage on the node. Actual results: The cluster node will be unable to add https://www.redhat.com/security/fd431d51.txt to the list of apt keys. Expected results: The install should succeed without internet access to redhat.com. Additional info: According to http://docs.ansible.com/ansible/apt_key_module.html it is possible to embed the GPG key contents in a file within Ansible, and this is probably the best route to take here.
Upstream PR opened: https://github.com/ceph/ceph-ansible/pull/836
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2016:1754