Bug 1357292
Summary: | [ceph-ansible] : unable to add mon after upgrade from ceph 1.3 to ceph 2.0 as it generates different keyring | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Rachana Patel <racpatel> |
Component: | Ceph-Ansible | Assignee: | Andrew Schoen <aschoen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> |
Severity: | urgent | Docs Contact: | Bara Ancincova <bancinco> |
Priority: | unspecified | ||
Version: | 3.0 | CC: | adeza, anharris, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, racpatel, sankarshan |
Target Milestone: | rc | ||
Target Release: | 3.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ceph-ansible-1.0.5-30.el7scon | Doc Type: | Known Issue |
Doc Text: |
.Ansible fails to add a monitor to an upgraded cluster
An attempt to add a monitor to a cluster by using the Ansible automation application after upgrading the cluster from Red Hat Ceph Storage 1.3 to 2 fails on the following task:
----
TASK: [ceph-mon | collect admin and bootstrap keys]
----
This happens because the original monitor keyring was created with the `mds "allow"` capability while the newly added monitor requires a keyring with the `mds "allow *"` capability.
To work around this issue, after installing the `ceph-mon` package, manually copy the administration keyring from an already existing monitor node to the new monitor node:
----
scp /etc/ceph/<cluster_name>.client.admin.keyring <target_host_name>:/etc/ceph
----
For example:
----
# scp /etc/ceph/ceph.client.admin.keyring node4:/etc/ceph
----
Then use Ansible to add the monitor as described in the https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/single/administration-guide#adding_a_monitor_with_ansible[Adding a Monitor with Ansible] section of the https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/single/administration-guide[Administration Guide] for Red Hat Ceph Storage 2.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-29 13:52:50 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: | 1322504, 1383917, 1412948 |
Description
Rachana Patel
2016-07-17 21:26:46 UTC
*** Bug 1357291 has been marked as a duplicate of this bug. *** PR opened upstream: https://github.com/ceph/ceph-ansible/pull/887 Moving out of 2.0 because this only affects adding mons to an upgraded cluster and we have a set of steps to work around it. The upstream ticket at http://tracker.ceph.com/issues/16255 says the Ceph bug was fixed in Ceph v10.2.4. Would you please retest with the latest ceph-ansible and ceph packages? |