Description of problem: ISO installation on RHEL is failing withe the below error: TASK: [ceph.ceph-common | install distro or red hat storage ceph mon] ********* failed: [magna077] => {"changed": false, "failed": true, "rc": 0, "results": []} msg: No Package matching 'ceph-mon' found available, installed or updated Version-Release number of selected component (if applicable): ceph-ansible: 1.0.5-15.el7scon.noarch How reproducible: Always Steps to Reproduce: 1. Perform the necessay prerequisites on the nodes (firewall settings etc) 2. configure the installer node 3. start the installation Actual results: install fails in install of ceph-mon Expected results: Install should go through Additional info: TASK: [ceph.ceph-common | add ceph stable repository] ************************* skipping: [magna077] TASK: [ceph.ceph-common | add ceph stable repository] ************************* skipping: [magna077] TASK: [ceph.ceph-common | add ceph development repository] ******************** skipping: [magna077] TASK: [ceph.ceph-common | add ceph development repository] ******************** skipping: [magna077] TASK: [ceph.ceph-common | add inktank ceph enterprise repository] ************* skipping: [magna077] TASK: [ceph.ceph-common | add red hat storage repository] ********************* skipping: [magna077] TASK: [ceph.ceph-common | install ceph] *************************************** skipping: [magna077] TASK: [ceph.ceph-common | set_fact ceph_stable_rel_pkg="{{ ceph_stable_releases | union([ 'infernalis' ]) }}" ] *** ok: [magna077] TASK: [ceph.ceph-common | install distro or red hat storage ceph mon] ********* failed: [magna077] => {"changed": false, "failed": true, "rc": 0, "results": []} msg: No Package matching 'ceph-mon' found available, installed or updated FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/root/site.sample.retry magna077 : ok=23 changed=7 unreachable=0 failed=1 the repo on the remote node: [root@magna077 ~]# ll /tmp/rh-storage-mount/ total 0 [root@magna077 ~]# [root@magna077 ~]# [root@magna077 ~]# ll /tmp/rh-storage-repo/ total 56 -r--r--r--. 1 root root 8774 May 24 06:51 EULA -r--r--r--. 1 root root 18092 May 24 06:51 GPL dr-xr-xr-x. 3 root root 4096 May 24 06:51 MON dr-xr-xr-x. 3 root root 4096 May 24 06:51 OSD -r--r--r--. 1 root root 165 May 24 06:51 README -r--r--r--. 1 root root 3211 May 24 06:51 RPM-GPG-KEY-redhat-release dr-xr-xr-x. 3 root root 4096 May 24 06:51 Tools -r--r--r--. 1 root root 1976 May 24 06:51 TRANS.TBL ceph_stable_rh_storage: true #ceph_stable_rh_storage_cdn_install: true # assumes all the nodes can connect to cdn.redhat.com ceph_stable_rh_storage_iso_install: true # usually used when nodes don't have access to cdn.redhat.com #ceph_stable_rh_storage_iso_path: /tmp/Ceph-2-Ubuntu-x86_64-20160519.t.0-dvd.iso ceph_stable_rh_storage_iso_path: /tmp/Ceph-2-RHEL-7-20160520.t.0-x86_64-dvd.iso #ceph_stable_rh_storage_mount_path: /tmp/rh-storage-mount #ceph_stable_rh_storage_repository_path: /tmp/rh-storage-repo # where to copy iso's content the group_vars files and the playbook log are located at : magna006:/root/bz/monfail
Please include in this BZ the full output of the ansible run (and default to this for all ceph-ansible/ceph-installer tickets please). It seems that the playbook is not including the part where repos need to be setup for ISO.
Pull request opened https://github.com/ceph/ceph-ansible/pull/810
hi Alfredo, I have included the full ansible run in the file: magna006:/root/bz/monfail/playbooklog
I've had no luck with this issue today. No progress to report.
Pull request opened https://github.com/ceph/ceph-ansible/pull/823
Verified on build: ceph-ansible-1.0.5-19.el7scon.noarch ceph version 10.2.1-13.el7cp (f15ca93643fee5f7d32e62c3e8a7016c1fc1e6f4) Moving to verified state.
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