[Bug 1840283] Re: Ceph request to get keyring / ceph status fails on Nautilus
Chris MacNaughton
1840283 at bugs.launchpad.net
Fri Aug 23 13:08:48 UTC 2019
This is resolved in ceph-mon via https://github.com/openstack/charm-
ceph-mon/commit/62155d10a8b00a07459f0b2ceff7b264ffdd551c
** Changed in: charm-ceph-mon
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1840283
Title:
Ceph request to get keyring / ceph status fails on Nautilus
Status in OpenStack ceph-mon charm:
Fix Committed
Status in Ubuntu Cloud Archive:
Invalid
Bug description:
root at juju-64b09e-ceph-autotune-0:~# ceph -v
ceph version 14.2.1 (d555a9489eb35f84f2e1ef49b77e19da9d113972) nautilus (stable)
# What's in /var/lib/ceph/mon/ ?
root at juju-64b09e-ceph-autotune-0:~# ls /var/lib/ceph/mon/
ceph-juju-64b09e-ceph-autotune-0
# Ask Ceph for the client.osd-upgrade key:
root at juju-64b09e-ceph-autotune-0:~# sudo -u ceph ceph --name mon. --keyring /var/lib/ceph/mon/ceph-juju-64b09e-ceph-autotune-0/keyring auth get client.osd-upgrade
2019-08-15 14:59:33.511 7f6f93b95700 -1 auth: unable to find a keyring on /var/lib/ceph/mon/ceph-/keyring: (2) No such file or directory
2019-08-15 14:59:33.511 7f6f93b95700 -1 AuthRegistry(0x7f6f8c07fc28) no keyring found at /var/lib/ceph/mon/ceph-/keyring, disabling cephx
exported keyring for client.osd-upgrade
[client.osd-upgrade]
key = AQDJb1VduEKkIhAAe9HREe7yL2w0pzQZ5GbnOQ==
caps mon = "allow command "config-key"; allow command "osd tree"; allow command "config-key list"; allow command "config-key put"; allow command "config-key get"; allow command "config-key exists"; allow command "osd out"; allow command "osd in"; allow command "osd rm"; allow command "auth del""
# Ask for ceph status:
root at juju-64b09e-ceph-autotune-0:~# ceph -s
[errno 2] error connecting to the cluster
# Specify keyring details:
root at juju-64b09e-ceph-autotune-0:~# sudo -u ceph ceph --name mon. --keyring /var/lib/ceph/mon/ceph-juju-64b09e-ceph-autotune-0/keyring status
2019-08-15 15:20:43.606 7f0593520700 -1 auth: unable to find a keyring on /var/lib/ceph/mon/ceph-/keyring: (2) No such file or directory
2019-08-15 15:20:43.606 7f0593520700 -1 AuthRegistry(0x7f058c07fc28) no keyring found at /var/lib/ceph/mon/ceph-/keyring, disabling cephx
cluster:
id: c6e2d994-bf6a-11e9-ae54-fa163e703d27
health: HEALTH_WARN
no active mgr
3 monitors have not enabled msgr2
services:
mon: 3 daemons, quorum juju-64b09e-ceph-autotune-1,juju-64b09e-ceph-autotune-0,juju-64b09e-ceph-autotune-2 (age 35m)
mgr: no daemons active
osd: 3 osds: 3 up (since 35m), 3 in (since 35m)
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0 B
usage: 0 B used, 0 B / 0 B avail
pgs:
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ceph 14.2.1-0ubuntu3~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 4.15.0-58.64-generic 4.15.18
Uname: Linux 4.15.0-58-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CrashDB:
{
"impl": "launchpad",
"project": "cloud-archive",
"bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
}
Date: Thu Aug 15 15:18:58 2019
Ec2AMI: ami-00000734
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.blue
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=screen-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: ceph
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-mon/+bug/1840283/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list