ceph-volume fails when trying to create an lvm osd

Bug #1769219 reported by James Seiters
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
Expired
Low
Unassigned

Bug Description

When executing the ceph-volume command I get the following error:
sudo ceph-volume lvm create --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 24493091-96b6-4649-8605-fad721385c76
--> Was unable to complete a new OSD, will rollback changes
--> OSD will be fully purged from the cluster, because the ID was generated
Running command: ceph osd purge osd.0 --yes-i-really-mean-it
 stderr: purged osd.0
--> OSError: [Errno 2] No such file or directory

The expected behavior would be the creation of an OSD. This bug was encountered after the previous one found at #1769154 ceph-volume fails with unable to find keyring.

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 12:59:19 2018
InstallationDate: Installed on 2018-04-29 (5 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)

Revision history for this message
James Seiters (cichlasoma) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ceph (Ubuntu):
status: New → Confirmed
Revision history for this message
James Page (james-page) wrote :

Not quite enough detail to actually debug this problem:

--> Was unable to complete a new OSD, will rollback changes

the final error is a side effect of not having an admin keyring on the local unit.

Please can you attach log files from /var/log/ceph to this bug report.

Changed in ceph (Ubuntu):
status: Confirmed → Incomplete
importance: Undecided → Low
Revision history for this message
James Seiters (cichlasoma) wrote :

Unfortunately, I am no longer working on the project where this bug occurred. It also seems to be something that was unique to our setup as no one else has reported this error in over a year.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ceph (Ubuntu) because there has been no activity for 60 days.]

Changed in ceph (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.