Bug 1337305
| Summary: | [ceph-ansible] : ISO based installation failed in task 'install distro or red hat storage ceph mon' as it's looking for calamari repodata 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, gmeno, kdreyer, nthomas, racpatel, sankarshan |
| Target Milestone: | --- | ||
| Target Release: | 2 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-ansible-1.0.5-15.el7scon | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-23 19:51:08 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: | |||
Pull request opened https://github.com/ceph/ceph-ansible/pull/802 verified with build ceph-ansible-1.0.5-31.el7scon.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/RHEA-2016:1754 |
Description of problem: ======================= ISO based installation failed in task 'install distro or red hat storage ceph mon' with error file:///tmp/rh-storage-repo/Calamari/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /tmp/rh-storage-repo/Calamari/repodata/repomd.xml" Version-Release number of selected component (if applicable): ============================================================= ceph-ansible-1.0.5-12.el7scon.noarch ceph - 10.2.1-3.el7cp.x86_64.rpm How reproducible: ================ always Steps to Reproduce: =================== 1. perform prerequisite on all nodes 2. modify inventory file as below [mons] magna063 [osds] magna084 magna085 magna090 [rgws] magna100 3. modify below variable in 'all' and 'osds' file. fetch_directory: ceph_stable: true ceph_stable_rh_storage: true 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: /root/iso/Ceph-2-RHEL-7-20160517.t.0-x86_64-dvd.iso public_network cephx: true monitor_interface: eno1 journal_size: 100 radosgw_civetweb_port: 8080 journal_collocation: true crush_location: false osd_crush_location: "'root={{ ceph_crush_root }} rack={{ ceph_crush_rack }} host={{ ansible_hostname }}'" devices: - /dev/sdb - /dev/sdc 4. copy ISO on installer node and update iso_path accordingly in 'all' file 5. run below command [root@magna044 ceph-ansible]# ansible-playbook site.yml Actual results: =============== <snippet> TASK: [ceph.ceph-common | add inktank ceph enterprise repository] ************* skipping: [magna063] TASK: [ceph.ceph-common | add red hat storage repository] ********************* changed: [magna063] TASK: [ceph.ceph-common | install ceph] *************************************** skipping: [magna063] TASK: [ceph.ceph-common | set_fact ceph_stable_rel_pkg="{{ ceph_stable_releases | union([ 'infernalis' ]) }}" ] *** ok: [magna063] TASK: [ceph.ceph-common | install distro or red hat storage ceph mon] ********* failed: [magna063] => {"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_calamari: [Errno 256] No more mirrors to try. file:///tmp/rh-storage-repo/Calamari/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /tmp/rh-storage-repo/Calamari/repodata/repomd.xml" Could not match packages: failure: repodata/repomd.xml from rh_storage_calamari: [Errno 256] No more mirrors to try. file:///tmp/rh-storage-repo/Calamari/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /tmp/rh-storage-repo/Calamari/repodata/repomd.xml" FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/root/site.retry magna063 : ok=24 changed=6 unreachable=0 failed=1 Additional info: ================ on MON node calamari Directory is not present. [root@magna063 ubuntu]# ls -l /tmp/rh-storage-repo/ total 56 -r--r--r--. 1 root root 8774 May 18 17:34 EULA -r--r--r--. 1 root root 18092 May 18 17:34 GPL dr-xr-xr-x. 3 root root 4096 May 18 17:34 MON dr-xr-xr-x. 3 root root 4096 May 18 17:34 OSD -r--r--r--. 1 root root 165 May 18 17:34 README -r--r--r--. 1 root root 3211 May 18 17:34 RPM-GPG-KEY-redhat-release dr-xr-xr-x. 3 root root 4096 May 18 17:34 Tools -r--r--r--. 1 root root 1976 May 18 17:34 TRANS.TBL [root@magna063 ubuntu]#