Project

General

Profile

Actions

Bug #45980

closed

cephadm: implement missing "FileStore not supported" error message and update DriveGroup docs

Added by Nathan Cutler almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
ux low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This one is easy to reproduce.

Ask cephadm to create FileStore OSDs:

master:~ # cat service_spec_osd.yml 
service_type: osd
placement:
    hosts:
        - 'master'
service_id: generic_osd_deployment
data_devices:
    all: true
objectstore: filestore
master:~ # ceph orch device ls --refresh
master:~ # ceph orch apply osd -i service_spec_osd.yml

Wait awhile. Note that OSDs do not come up. Investigate. The ceph-volume.log contains a Python Traceback:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 59, in newfunc
    return f(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 150, in main
    terminal.dispatch(self.mapper, subcommand_args)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/main.py", line 42, in main
    terminal.dispatch(self.mapper, self.argv)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/activate.py", line 341, in main
    self.activate(args)
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root
    return func(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/activate.py", line 265, in activate
    activate_bluestore(lvs, no_systemd=args.no_systemd)
  File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/activate.py", line 128, in activate_bluestore
    raise RuntimeError('could not find a bluestore OSD to activate')
RuntimeError: could not find a bluestore OSD to activate

Hmm, I can't think of any good reason why ceph-volume should be saying that in this scenario.

The underlying physical disks I am using are 32 GB in size, yet "ceph orch device ls" complains they are too small (?):

master:~ # ceph orch device ls
HOST    PATH      TYPE   SIZE  DEVICE  AVAIL  REJECT REASONS                                          
master  /dev/vda  hdd   42.0G          False  locked                                                  
master  /dev/vdb  hdd   32.0G  615389  False  LVM detected, locked, Insufficient space (<5GB) on vgs  
master  /dev/vdc  hdd   32.0G  916054  False  LVM detected, locked, Insufficient space (<5GB) on vgs  
master  /dev/vdd  hdd   32.0G  389182  False  LVM detected, locked, Insufficient space (<5GB) on vgs  
master  /dev/vde  hdd   32.0G  389751  False  LVM detected, locked, Insufficient space (<5GB) on vgs  

Related issues 1 (0 open1 closed)

Related to Orchestrator - Feature #44874: cephadm: add Filestore supportRejected

Actions
Actions

Also available in: Atom PDF