Project

General

Profile

Actions

Bug #6745

closed

ceph-deploy gatherkeys on ubuntu dumpling

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

bootstrap-osd/ceph.keyring and bootstrap-mds/ceph.keyring are not created.

Also there is a spelling error (WARNIN)

ceph-deploy gatherkeys mira101 mira106
[ceph_deploy.cli][INFO  ] Invoked (1.3.1): /home/ubuntu/ceph-deploy/ceph-deploy gatherkeys mira101 mira106
[ceph_deploy.gatherkeys][DEBUG ] Have ceph.client.admin.keyring
[ceph_deploy.gatherkeys][DEBUG ] Have ceph.mon.keyring
[ceph_deploy.gatherkeys][DEBUG ] Checking mira101 for /var/lib/ceph/bootstrap-osd/ceph.keyring
[mira101][DEBUG ] connected to host: mira101 
[mira101][DEBUG ] detect platform information from remote host
[mira101][DEBUG ] detect machine type
[mira101][DEBUG ] fetch remote file
[ceph_deploy.gatherkeys][DEBUG ] Checking mira106 for /var/lib/ceph/bootstrap-osd/ceph.keyring
[mira106][DEBUG ] connected to host: mira106 
[mira106][DEBUG ] detect platform information from remote host
[mira106][DEBUG ] detect machine type
[mira106][DEBUG ] fetch remote file
[ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['mira101', 'mira106']
[ceph_deploy.gatherkeys][DEBUG ] Checking mira101 for /var/lib/ceph/bootstrap-mds/ceph.keyring
[mira101][DEBUG ] connected to host: mira101 
[mira101][DEBUG ] detect platform information from remote host
[mira101][DEBUG ] detect machine type
[mira101][DEBUG ] fetch remote file
[ceph_deploy.gatherkeys][DEBUG ] Checking mira106 for /var/lib/ceph/bootstrap-mds/ceph.keyring
[mira106][DEBUG ] connected to host: mira106 
[mira106][DEBUG ] detect platform information from remote host
[mira106][DEBUG ] detect machine type
[mira106][DEBUG ] fetch remote file
[ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['mira101', 'mira106']


Following the Storage Cluster Quickstart Guide,
ceph-deploy osd prepare mira106:/tmp/osd0

Fails with RuntimeError: bootstrap-osd keyring not found; run 'gatherkeys'
Actions #1

Updated by Alfredo Deza over 10 years ago

  • Status changed from New to 4

I didn't see output for the monitors. How did those where deployed? did they have quorum before attempting to `gatherkeys` ?

If you don't have quorum with the monitors they will never create the keys for you.

The `mon create` and/or `mon create-initial` commands both have a lot of useful output telling you this and if there are any errors along the way.

Also worth noting, if those OSD/MDS hosts do not have monitors you will need to tell the mons directly to create the keys if they are not found.

Actions #2

Updated by Anonymous over 10 years ago

  • Status changed from 4 to Can't reproduce

It turns out that i did not have a quorum. I'll close this.

The WARNIN is still a spelling error.

Actions

Also available in: Atom PDF