Project

General

Profile

Actions

Bug #22096

closed

Authentication failed, did you specify a mgr ID with a valid keyring?

Added by Matthew Richardson over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph-mgr
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I have a test cluster which has been running fine with jewel, which I am trying to upgrade to luminous. (12.2.1, using ceph-deploy 1.5.39)

I followed the upgrade steps given here: http://ceph.com/releases/v12-2-0-luminous-released/#upgrading and mons and osds seem ok (apart from the obvious
HEALTH_WARN no active mgr).

I then ran 'ceph-deploy mgr create $HOST' which completed without error.

However, starting ceph-mgr (either directly, or through systemd, results in the error:

"Authentication failed, did you specify a mgr ID with a valid keyring?"

Disabling cephx (auth_cluster_required=none) and everything works fine.

ceph auth list contains the following:

installed auth entries:

mds.$HOST
    key: [REDACTED]==
    caps: [mds] allow
    caps: [mgr] allow profile mds
    caps: [mon] allow profile mds
    caps: [osd] allow rwx
client.admin
    key: [REDACTED]==
    caps: [mds] allow *
    caps: [mgr] allow *
    caps: [mon] allow *
    caps: [osd] allow *
client.bootstrap-mds
    key: [REDACTED]==
    caps: [mgr] allow r
    caps: [mon] allow profile bootstrap-mds
client.bootstrap-mgr
    key: [REDACTED]==
    caps: [mds] allow *
    caps: [mgr] allow *
    caps: [mon] allow profile mgr
    caps: [osd] allow *
client.bootstrap-osd
    key: [REDACTED]==
    caps: [mgr] allow r
    caps: [mon] allow profile bootstrap-osd
client.bootstrap-rgw
    key: [REDACTED]==
    caps: [mgr] allow r
    caps: [mon] allow profile bootstrap-rgw
mgr.$HOST
    key: [REDACTED]==
    caps: [mds] allow *
    caps: [mon] allow profile mgr
    caps: [osd] allow *

Additionally, the keyrings (owned and readable by ceph user) contain keys which match those given above:
/var/lib/ceph/bootstrap-mgr/ceph.keyring

[client.bootstrap-mgr]
        key = [REDACTED]==

/var/lib/ceph/mgr/ceph-$HOST/keyring

<code class="text">
[mgr.$HOST]
        key = [REDACTED]==
</pre>

Please let me know if there is any other debugging information I can provide?


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #22811: luminous: Authentication failed, did you specify a mgr ID with a valid keyring?ResolvedPrashant DActions
Actions

Also available in: Atom PDF