Description of problem: When testing RHCS 3.0 latest packages, yum.repos.d must have a file with the following: [download-node-02.eng.bos.redhat.com_composes_auto_ceph-3.0-rhel-7_latest-RHCEPH-3-RHEL-7_compose_MON_x86_64_os_] name=added from: http://download-node-02.eng.bos.redhat.com/composes/auto/ceph-3.0-rhel-7/latest-RHCEPH-3-RHEL-7/compose/MON/x86_64/os/ baseurl=http://download-node-02.eng.bos.redhat.com/composes/auto/ceph-3.0-rhel-7/latest-RHCEPH-3-RHEL-7/compose/MON/x86_64/os/ enabled=1 Then, set all.yml with the following: ceph_origin: repository ceph_repository: rhcs ceph_repository_type: cdn When executing: # ansible-playbook site.yml The installation fails. It will find the packages if the ceph_origin setting must be set to distro, even though the packages are getting downloaded from Red Hat. Per Andrew Schoen, this shouldn't happen. How reproducible: Every time. Actual results: Install fails. Expected results: Ansible will install Ceph, pulling the packages from Red Hat engineering using the same settings that an end user would execute. Additional info: Making this change, even though it may behave like a local iso install, will make it easier for QE and docs to test the procedure end users will follown.
If you want to install RHCS packages from repos that you've manually put on your nodes you need to set the following config options. ceph_origin: distro ceph_repository: rhcs John, the bug I remember seeing when helping you out was that with the config you mentioned above there was the following check failure. TASK [ceph-common : verify that a repository type was chosen for ceph rhcs version] ********************************************************************************************************************************************************** fatal: [rhel-mon]: FAILED! => {"changed": false, "failed": true, "msg": "choose between 'cdn' or 'iso' installation, e.g: ceph_repository_type: cdn.\nValid ceph_repository_type are: [u'cdn', u'iso']"} Which I think is wrong because this config looks correct to me if you did mean to install RHCS packages from the cdn: ceph_origin: repository ceph_repository: rhcs ceph_repository_type: cdn
I think I actually fixed that here: https://github.com/ceph/ceph-ansible/pull/1918 John, do you mind verifying this, please?
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:3387