Very beginner question for cephadm: config file for bootstrap and osd_crush_chooseleaf_type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

 

Early days of my venture with Ceph. I understand that one should have at least two hosts to truly appreciate the design of Ceph. But as a baby step having one playground on a single host is really unavoidable.

 

My env:

A single Azure VM

Ubuntu 20.04

Installed cephadm via apt per official doc.

ceph version 15.2.13 (c44bc49e7a57a87d84dfff2a077a2058aa2172e2) octopus (stable)

 

Issues encountered:

Following steps here: https://docs.ceph.com/en/latest/cephadm/install/

I’ve created a initial-ceph.conf to set osd crush chooseleaf type = 0.

 

1, with cmd like:

sudo cephadm bootstrap --config initial-ceph.conf --mon-ip 10.2.0.4

It seems my config line is simply ignored in the final conf.

I’ve tried “osd crush chooseleaf type = 0” (no underline symbol but rather space, I doubt if the document is correct).

I’ve also tried “osd_crush_chooseleaf_type = 0” (underline rather than space).

I’ve tried putting a tab to start the line, or without tab.

 

My line is always ignored, unless I use --no-minimize-config switch.

 

2, with above switch and seeing my value set to 0 in conf file, when I login to the dashboard, looking at Cluster -> Configuration, search this item, it shows Default value to 1, Current value empty, means it doesn’t really got set?

 

I’ve tried to search an answer for a while, but didn’t get any hint or workaround, any help would be greatly appreciated,

 

Best regards,

 

Dong Xie

CodeRobin Ltd.

 

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux