Project

General

Profile

Actions

Bug #50163

closed

handle block.db LVM full path format

Added by Konstantin Shalygin about 3 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When operator provide not vg_name/lv_name "ideal" path, for example started with /dev - ceph-volume should work with this path's or raise error about that, e.g. "try without /dev"

I believe that with the new lvm mandate, ceph-volume should not be complaining about "missing PARTUUID".
This is stopping me from using my system.

Details on how to recreate:

1. have a system with 1 SSD and multiple HDDS
2. create a buncha OSDs with your preferred frontend, which will eventualy come down to

  ceph-volume lvm batch --bluestore /dev/ssddevice  /dev/sdA ... /dev/sdX

THIS will work great. batch mode will appropriately carve up the SSD device into multiple LVMs, and allocate one of them to be a DB device for each of the HDDs.

3. try to repair/replace an HDD

As soon as you have an HDD fail... you will need to recreate the OSD.. and you are then stuck. Because you cant use batch mode for it...
and you cant do it more granularly, with

 ceph-volume --cluster ceph lvm create --bluestore --data /dev/sdg --block.db /dev/ceph-xx-xx-xx/ceph-osd-db-this-is-the-old-lvm-for-ssd here

because ceph-volume will complain that,

 blkid could not detect a PARTUUID for device: /dev/ceph-xx-xx-xx/ceph-osd-db-this-is-the-old-lvm-for-ssd here

but the lvm IS NOT SUPPOSED TO HAVE A PARTUUID.
Which is provable first all by the fact that it isnt a partition. But secondly, that none of the other block-db LVMs it created on the SSD in batch mode, have an partuuid either!!

So kindly quit checking for something that isnt supposed to be there in the first place?!

(This is a bug all the way back in nautilus, through latest, I believe)

Original from https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/OHVSG4RNIS4L75KUDYA45J7X5M5NKHIC/

Actions #1

Updated by Konstantin Shalygin over 1 year ago

  • Status changed from New to Rejected

As I see it, it doesn’t bother anyone else and it’s quite easy to manage in scripts, so I’m closing this issue

Actions

Also available in: Atom PDF