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
Version-Release number of selected component (if applicable):
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.
The cluster node will be unable to add https://www.redhat.com/security/fd431d51.txt to the list of apt keys.
The install should succeed without internet access to redhat.com.
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.