Public bug reported:

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)

** Affects: ceph (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic ceph

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769154

Title:
  ceph-volume fails with unable to find keyring

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1769154/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to