Re: [cephadm] ceph config as yaml

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

 



Hi,

We are interested in the exact same feature. I was able to test it.

I have a question regarding the removal of some configuration. If I add some config, I can see it using ceph config dump. But if I remove it from my spec file, it stays on the ceph config db.

Is there a way to remove some configuration from the ceph db? Or do we need to do the removal manually?

Best,

Luis Domingues
Proton AG


------- Original Message -------
On Friday, July 15th, 2022 at 17:06, Redouane Kachach Elhichou <rkachach@xxxxxxxxxx> wrote:


> This section could be added to any service spec. cephadm will parse it and
> apply all the values included in the same.
>
> There's no documentation because this wasn't documented so far. I've just
> created a PR for that purpose:
>
> https://github.com/ceph/ceph/pull/46926
>
> Best,
> Redo.
>
>
>
> On Fri, Jul 15, 2022 at 4:47 PM Ali Akil ali-akil@xxxxxx wrote:
>
> > Where to this add this section exactly. In the osd service specification
> > section https://docs.ceph.com/en/latest/cephadm/services/osd/#examples
> > there is not mention for config.
> > Also cephadm doesn't seem to apply changes added to ceph.conf.
> >
> > Best Regards,
> > Ali
> > On 15.07.22 15:21, Redouane Kachach Elhichou wrote:
> >
> > Hello Ali,
> >
> > You can set configuration by including a config section in our yaml as
> > following:
> >
> > config:
> > param_1: val_1
> > ...
> > param_N: val_N
> >
> > this is equivalent to call the following ceph cmd:
> >
> > > ceph config set <service-name> <param> <value>
> >
> > Best Regards,
> > Redo.
> >
> > On Fri, Jul 15, 2022 at 2:45 PM Ali Akil ali-akil@xxxxxx wrote:
> >
> > > Hallo,
> > >
> > > i used to set the configuration for Ceph using the cli aka `ceph config set global osd_deep_scrub_interval <value>`. I would like though to
> > > store these configuration in my git repository. Is there a way to apply
> > > these configurations as yaml file?
> > >
> > > I am using Quincy ceph cluster provisioned by cephadm.
> > >
> > > Best Regards,
> > > Ali Akil
> > >
> > > _______________________________________________
> > > ceph-users mailing list -- ceph-users@xxxxxxx
> > > To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
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