Bug 1338548
| Summary: | [ceph-ansible] : ISO installation fails as it's looking for Directory 'Installer' which is not present | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Storage Console | Reporter: | Rachana Patel <racpatel> |
| Component: | ceph-ansible | Assignee: | Alfredo Deza <adeza> |
| Status: | CLOSED ERRATA | QA Contact: | Rachana Patel <racpatel> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2 | CC: | adeza, aschoen, ceph-eng-bugs, kdreyer, nthomas, sankarshan |
| Target Milestone: | --- | ||
| Target Release: | 2 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-ansible-1.0.5-16.el7scon | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-23 19:51:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Upstream pull request opened https://github.com/ceph/ceph-ansible/pull/806 verified with ceph-ansible-1.0.5-31.el7scon.noarch, 10.2.2-29.el7cp.x86_64 working as expected hence moving to verified 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 |
Description of problem: ======================= Ceph Installation using ISO on RHEL cluster fails in Task 'install distro or red hat storage ceph mon' as it's looking for Installer directory which is not present Version-Release number of selected component (if applicable): ============================================================= ceph-ansible-1.0.5-15.el7scon.noarch ceph - 10.2.1-6.el7cp.x86_64 How reproducible: ================= always Steps to Reproduce: =================== 1. perform prerequisite on all nodes 2. modify inventory file as below [mons] magna067 [osds] magna067 magna074 magna084 [mdss] magna100 3. copy iso on installer node and run below command from installer node 4.[root@magna051 ceph-ansible]# ansible-playbook site.yml -vv -i /etc/ansible/hosts --extra-vars '{"ceph_stable": true, "ceph_stable_rh_storage": true, "monitor_interface": "eno1", "ceph_stable_rh_storage_iso_install": true,"ceph_stable_rh_storage_iso_path": "/root/iso/Ceph-2-RHEL-7-20160520.t.0-x86_64-dvd.iso", "journal_collocation": true, "devices": ["/dev/sdb", "/dev/sdc"], "journal_size": 100, "public_network": "10.8.128.0/21", "cephx": true, Actual results: ================ TASK: [ceph.ceph-common | install distro or red hat storage ceph mon] ********* <magna067> REMOTE_MODULE yum name=ceph-mon state=present failed: [magna067] => {"failed": true} msg: Error from repoquery: ['/usr/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '-q', '--disablerepo', '', '--enablerepo', '', '--qf', '%{name}-%{version}-%{release}.%{arch}', 'ceph-mon']: failure: repodata/repomd.xml from rh_storage_installer: [Errno 256] No more mirrors to try. file:///tmp/rh-storage-repo/Installer/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /tmp/rh-storage-repo/Installer/repodata/repomd.xml" Could not match packages: failure: repodata/repomd.xml from rh_storage_installer: [Errno 256] No more mirrors to try. file:///tmp/rh-storage-repo/Installer/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /tmp/rh-storage-repo/Installer/repodata/repomd.xml" FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/root/site.retry magna067 : ok=29 changed=2 unreachable=0 failed=1 Additional info: ================ cluster node:- [root@magna067 ubuntu]# ls -l /tmp/rh-storage-repo/ total 56 -r--r--r--. 1 root root 8774 May 21 02:42 EULA -r--r--r--. 1 root root 18092 May 21 02:42 GPL dr-xr-xr-x. 3 root root 4096 May 21 02:42 MON dr-xr-xr-x. 3 root root 4096 May 21 02:42 OSD -r--r--r--. 1 root root 165 May 21 02:42 README -r--r--r--. 1 root root 3211 May 21 02:42 RPM-GPG-KEY-redhat-release dr-xr-xr-x. 3 root root 4096 May 21 02:42 Tools -r--r--r--. 1 root root 1976 May 21 02:42 TRANS.TBL