Bug 1498180
| Summary: | [Ceph-Ansible]:- Addition of nodes to the cluster fails in the build 3.0.0~rc14-2redhat1 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | shylesh <shmohan> |
| Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> |
| Status: | CLOSED ERRATA | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.0 | CC: | adeza, anharris, aschoen, ceph-eng-bugs, gmeno, kdreyer, nthomas, sankarshan, seb, tserlin |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | 3.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-ansible-3.0.0-0.1.rc17 Ubuntu: ceph-ansible-3.0.0~rc17-2redhat1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-05 23:46:42 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: | |||
|
Comment 2
Sébastien Han
2017-10-03 16:36:06 UTC
@Seb, I added ceph_repository_type: 'cdn' but it was looking for 'ceph_rhcs_cdn_debian_repo', hence I added value fot as well. ceph_rhcs_cdn_debian_repo: http://download-node-02.eng.bos.redhat.com/rcm-guest/ceph-drops/3.0/latest-RHCEPH-3.0-Ubuntu/. Now its failing with following error. Let me know anything else need to be done TASK [ceph-common : include prerequisite_rhcs_cdn_install_debian.yml] ***************************************************************************** included: /usr/share/ceph-ansible/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install_debian.yml for magna023 TASK [ceph-common : install red hat storage repository key for debian systems] ******************************************************************** changed: [magna023] TASK [ceph-common : enable red hat storage monitor repository for debian systems] ***************************************************************** fatal: [magna023]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to magna023 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_drmEX7/ansible_module_apt_repository.py\", line 565, in <module>\r\n main()\r\n File \"/tmp/ansible_drmEX7/ansible_module_apt_repository.py\", line 553, in main\r\n cache.update()\r\n File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 454, in update\r\n raise FetchFailedException(e)\r\napt.cache.FetchFailedException: W:The repository 'http://download-node-02.eng.bos.redhat.com/rcm-guest/ceph-drops/3.0/latest-RHCEPH-3.0-Ubuntu//2-updates/MON xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://download-node-02.eng.bos.redhat.com/rcm-guest/ceph-drops/3.0/latest-RHCEPH-3.0-Ubuntu//2-updates/MON/dists/xenial/main/binary-amd64/Packages 404 Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.\r\n", "msg": "MODULE FAILURE", "rc": 0} PLAY RECAP **************************************************************************************************************************************** magna023 : ok=24 changed=1 unreachable=0 failed=1 magna036 : ok=2 changed=0 unreachable=0 failed=0 magna042 : ok=2 changed=0 unreachable=0 failed=0 magna103 : ok=2 changed=0 unreachable=0 failed=0 magna106 : ok=2 changed=0 unreachable=0 failed=0 magna112 : ok=2 changed=0 unreachable=0 failed=0 magna116 : ok=2 changed=0 unreachable=0 failed=0 magna117 : ok=2 changed=0 unreachable=0 failed=0 I'll gladly provide a fix but I need to make sure it's not breaking the customers. I have a PR here to fix this, you can test with it in the meantime, thanks: https://github.com/ceph/ceph-ansible/pull/1985 Ken, what the right URL for customers repo? I originally had: https://customername:customerpasswd@rhcs.download.redhat.com/2-updates/{MON,OSD,Tools} Also in QE's repos, I don't see the Agent. Please help us with that. Thanks! Ok so final thing, from now I'll use 3-updates/ in the URL. I hope this will be the right URL. I'm relying on you because I don't know. If you look here: https://github.com/ceph/ceph-ansible/pull/1985/files#diff-0e911955101dd0cc69aa91e67bfa3b8aR9 You will see how it's used. Thanks. We need a response ASAP since I want to merge it today :) and bring it in the next RC. Thanks guys. ceph_rhcs_cdn_debian_repo_version must be empty because your repo URL is different. Moving this back to POST. (In reply to leseb from comment #16) > ceph_rhcs_cdn_debian_repo_version must be empty because your repo URL is > different. > Moving this back to POST. Yep, it worked as per your suggestion. Shall I mark this as verified ? Yes 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 |