[Bug 1769154] Re: ceph-volume fails with unable to find keyring
James Page
james.page at ubuntu.com
Thu Jul 26 10:45:20 UTC 2018
** Package changed: ceph (Ubuntu) => ceph-deploy (Ubuntu)
** Changed in: ceph-deploy (Ubuntu)
Status: New => Incomplete
** Changed in: ceph-deploy (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1769154
Title:
ceph-volume fails with unable to find keyring
Status in ceph-deploy package in Ubuntu:
Incomplete
Bug description:
On a fresh install of Kubuntu 18.04, ceph-volume will fail with the
following errors:
sudo ceph-volume lvm create --bluestore --data /dev/sdc
Running command: ceph-authtool --gen-print-key
Running command: ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 994d129f-8c0a-4837-b25d-17425df64710
stderr: 2018-05-04 09:45:45.526375 7f5fc71a8700 -1 auth: unable to find a keyring on /var/lib/ceph/bootstrap-osd/ceph.keyring: (2) No such file or directory
stderr: 2018-05-04 09:45:45.526390 7f5fc71a8700 -1 monclient: ERROR: missing keyring, cannot use cephx for authentication
stderr: 2018-05-04 09:45:45.526393 7f5fc71a8700 0 librados: client.bootstrap-osd initialization error (2) No such file or directory
stderr: [errno 2] error connecting to the cluster
--> RuntimeError: Unable to create a new OSD id
This can be fixed by running the ceph-create-keys command and then
running ceph-volume again. This is most likely not a bug in ceph-
volume, but more likely an improper ceph-deploy script.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ceph 12.2.4-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: KDE
Date: Fri May 4 10:28:11 2018
InstallationDate: Installed on 2018-04-29 (4 days ago)
InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.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/ubuntu/+source/ceph-deploy/+bug/1769154/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list