Bug 1354464
| Summary: | [Ubuntu] installation of ceph-* packages fails because of old / not-synchronized package index | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Storage Console | Reporter: | Daniel Horák <dahorak> | ||||
| Component: | ceph-installer | Assignee: | Christina Meno <gmeno> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2 | CC: | adeza, aschoen, ceph-eng-bugs, dahorak, nthomas, sankarshan, vsarmila | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-07-12 14:08:24 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1344195 | ||||||
| Attachments: |
|
||||||
It is not clear where in ceph-ansible this is failing. The ceph-installer captures most information from requests (in this case from USM) and it is important we get this to get details and determine what is missing. This is documented here: http://docs.ceph.com/ceph-installer/docs/#tasks Could you create an attachment with the output of the failed task? Created attachment 1178768 [details]
Failed ceph-installer tasks /api/mon/install and /api/osd/install
Please find the log from failed tasks in attachment.
When I run `apt-get update` on each node and launch this tasks again, it works correctly.
You mention that you are doing this step:
> 2. Add appropriate repos to the Ubuntu nodes (correspondingly to the roles of > the node - MON, OSD) and configure rhscon-agent accordingly to the documentation.
But ceph-ansible is in charge of setting up repositories for you. Can you point out what documentation is telling you to add repositories manually?
The task will do `apt-get update` for you as long as the cache hasn't been updated in the past hour.
With the explanation about cache expiration in previous comment and after check of documentation, where is `apt-get update` mentioned after adding any new repository, I'm closing this as NOTABUG. |
Description of problem: Cluster creation fails on Ubuntu nodes with following error for each node: Package installation failed on HOSTNAME From skyring.log it is obvious that the problem is with installation of ceph-mon, ceph-osd and other related packages: msg: No package matching 'ceph-mon' is available The problem is, that appropriate repos are properly added to the nodes, but the package index is not refreshed by `apt-get update`. When I manually refresh the package index on each Ubuntu node by execution of `apt-get update` command, second try for cluster creation including package installation pass correctly. Version-Release number of selected component (if applicable): USM server (RHEL 7.2): # rpm -qa | grep -e rhscon -e ceph rhscon-ui-0.0.46-1.el7scon.noarch ceph-installer-1.0.12-4.el7scon.noarch rhscon-core-selinux-0.0.32-1.el7scon.noarch rhscon-core-0.0.32-1.el7scon.x86_64 rhscon-ceph-0.0.31-1.el7scon.x86_64 ceph-ansible-1.0.5-25.el7scon.noarch How reproducible: 100% Steps to Reproduce: 1. Prepare bunch of Ubuntu nodes and RHEL USM server. 2. Add appropriate repos to the Ubuntu nodes (correspondingly to the roles of the node - MON, OSD) and configure rhscon-agent accordingly to the documentation. 3. Try to create Ceph cluster. 4. Manually refresh the package index on all Ubuntu nodes (`apt-get update`). 5. Try to create Ceph cluster. Actual results: Firstly cluster creation fails on all *Package installation* tasks on Ubuntu nodes. Second try of cluster creation pass, all packages are properly installed. Expected results: It should refresh package index on Ubuntu index before installation any new package. Additional info: Maybe it is bug for ceph-installer/ceph-ansible or just documentation issue, fell free to move this Bug to the appropriate component.