Description of problem: I am creating a new cluster with "iscsi-gws" colocated with OSD nodes. ceph-ansible is pointed to use the CDN repositories to get the packages. "iscsi-gws" needs the packages from the "rhel-7-server-rhceph-3-Tools-rpms". So to be consistent with the MON,oSD,RGW roles, it has to enable the Tools repo before trying to install the necessary packages. failed: [navigator] (item=tcmu-runner) => {"changed": false, "failed": true, "item": "tcmu-runner", "msg": "No package matching 'tcmu-runner' found available, installed or updated", "rc": 126, "results": ["No package matching 'tcmu-runner' found available, installed or updated"]} failed: [navigator] (item=ceph-iscsi-config) => {"changed": false, "failed": true, "item": "ceph-iscsi-config", "msg": "No package matching 'ceph-iscsi-config' found available, installed or updated", "rc": 126, "results": ["No package matching 'ceph-iscsi-config' found available, installed or updated"]} Version-Release number of selected component (if applicable): ceph-ansible-3.0.14-1.el7cp.noarch How reproducible: Always Additional info: Options in all.yml: ceph_rhcs_cdn_install: True ceph_origin: repository ceph_repository: rhcs ceph_rhcs_version: 3 . . Hosts file: [mgrs] mustang [iscsi-gws] lightning navigator [mons] havoc mustang buckeye [osds] navigator lightning nighthawk dmcrypt=True [rgws] skymaster skytrain thunderbolt
Hello, I'm witnessing the same issue on CentOS 7.4, using : ceph_origin: repository ceph_repository: community ceph_stable_release: luminous Is there a workaround? Thank you. (Merci Seb)
Sorry for the wait, fix is upstream. Nicolas, what's your issue? If you run on community there is no rhel repo.
(In reply to leseb from comment #5) > Sorry for the wait, fix is upstream. > > Nicolas, what's your issue? If you run on community there is no rhel repo. Seb, with the help of the same related Github thread (you took part of), I ended up understanding that the missing packages were available only : - from the official Redhat subscription channel or - using the "dev" repository. I tried to use the "dev" setting in the all.yml settings file, and indeed it allowed the playbook to run nicely and install the required packages. Using the "community" repo, for the time being, there's no way to setup an iSCSI gateway. Not a serious issue, but something to warn about.
Oh now I understand better Nicolas, so no issue here :).
Verified with the following parameters set in all.yml.Issue No longer reproducible. ceph-ansible enables the Tools repo on iscsi-gw nodes before installing the necessary packages. all.yml variables for cdn installation fetch_directory: ~/ceph-ansible-keys cluster: 'remote' ceph_repository_type: cdn # "{{ 'cdn' if ceph_rhcs_cdn_install else 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 ceph_origin: repository ceph_repository: rhcs ceph_rhcs_version: 3 # "{{ ceph_stable_rh_storage_version | default(2) }}" monitor_interface: eno1 public_network: x.x.x.x/x radosgw_interface: eno1 Version-Release number of selected component (if applicable): ceph-ansible-3.0.33-1.el7cp.noarch ansible-2.4.2.0-2.el7.noarch
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-2018:1563