We would need something similar to etcd to track the state of the services. The spec configuration files should always mirror the state of the Ceph cluster. On 19.07.22 14:02, Redouane Kachach Elhichou wrote:
Hi Luis, I'm not aware of any option on the specs to remove config entries. I'm afraid you'd need to do it yourself by using the rm command. Redo. On Tue, Jul 19, 2022 at 1:53 PM Luis Domingues <luis.domingues@xxxxxxxxx> wrote: Hi, Yes we tries that, and it's working. That's the way we do it when I refer to removing them manually. Sorry if my first message was not clear enough. My question is, is there a way to remove some config key from some declaration on the orch's spec file or not? Luis Domingues Proton AG ------- Original Message ------- On Tuesday, July 19th, 2022 at 13:47, Redouane Kachach Elhichou <rkachach@xxxxxxxxxx> wrote: > Did you try the *rm *option? both ceph config and ceph config-key support > removing config kyes: > > From: > https://docs.ceph.com/en/quincy/man/8/ceph/#ceph-ceph-administration-tool > > ceph config-key [ rm | exists | get | ls | dump | set ] … > ceph config [ dump | ls | help | get | show | show-with-defaults > | set | rm | log | reset | assimilate-conf | > generate-minimal-conf ] … > > Best, > Redo. > > On Tue, Jul 19, 2022 at 1:24 PM Luis Domingues luis.domingues@xxxxxxxxx > > wrote: > > > 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 > > _______________________________________________ > 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