Description of problem: roles/ceph-osd/tasks/docker/pre_requisite.yml contains the following: - name: install docker-py pip: name: docker-py state: latest tags: with_pkg when: ansible_version['full'] | version_compare('2.1.0.0', '>=') Version-Release number of selected component (if applicable): ceph-ansible master How reproducible: always Steps to Reproduce: 1. Enable docker support in ceph-ansible config as documented at https://docs.google.com/document/d/1Ef5a_-Yjozy5Ue3C0M7mMQNn6zWZe0-514bhxKwFHI8/edit?ts=576a3d95 2. Run ceph-ansible Actual results: Ansible tries to install docker-py from PyPI Expected results: Ansible should use an RPM-packaged version of docker-py that Red Hat ships and GPG-signs for security and stability. Third party libraries are not installed on a customer's system. Additional info:
The "six" module is also installed from PyPI. # NOTE (jimcurtis): need at least version 1.9.0 of six or we get: # re:NameError: global name 'DEFAULT_DOCKER_API_VERSION' is not defined - name: install six pip: name: six version: 1.9.0 tags: with_pkg
Ken, just to make sure I understand, getting python package from pip is not something we allow? All python packages should come from a package with a source of trust? Like our repos, right? :)
Right. Currently we must not download anything directly from PyPI or other non-Red Hat locations on the internet for our downstream product.
This should be in the next version after the 2.1 series. Upstream PR: https://github.com/ceph/ceph-ansible/pull/1328
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/RHBA-2017:1496