Le 18/11/2025 à 14:35:54+0100, Redouane Kachach a écrit
Hi,

> Not sure why you need the ceph.conf in a cephadm installation (as most of
> the config is done through the config db). Anyway, If you are using a
> (modern) cephadm installation then you can just
> put the label "*_admin*" on the hosts where you would like to have the
> config and the ceph.conf and keyring will be copied to
> */var/lib/ceph/<fsid>/config/*
>
> When you start a cephadm shell normally it first checks if there's any
> running monitor, if found then it will use its config file, otherwise it
> will check for the above directory to get the fsid.

I don't need the ceph.conf for ceph himself. I «need» the ceph.conf so I
can launch

  ceph fsid

on any node.

As why I need to launch ceph fsid on any node, it's because I'm using
puppet to manage everything, and currently I need to add in the cron table
of every node something like

chown -R ceph:ceph /var/lib/ceph/FSID/crash/posted

so with the hability to launch ceph fsid on any node I can get that info
through a «facter» in puppet so I can add this line in the crontab.

Of course I can manage the fsid by putting it in some variable, but that's
less portable and less «elegant».


Regards.

--
Albert SHIH 🦫 🐸
France
Heure locale/Local time:
mer. 19 nov. 2025 13:40:18 CET
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to