[ceph-users] Re: [cephadm] ceph config as yaml

2022-07-19 Thread Ali Akil
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

[ceph-users] Re: [cephadm] ceph config as yaml

2022-07-19 Thread Redouane Kachach Elhichou
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 wrote: > Hi, > > Yes we tries that, and it's working. That's the way we do it when I refer > to

[ceph-users] Re: [cephadm] ceph config as yaml

2022-07-19 Thread Redouane Kachach Elhichou
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* |

[ceph-users] Re: [cephadm] ceph config as yaml

2022-07-15 Thread Redouane Kachach Elhichou
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,

[ceph-users] Re: [cephadm] ceph config as yaml

2022-07-15 Thread Ali Akil
Where to this add this section exactly. In the osd service specification section 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

[ceph-users] Re: [cephadm] ceph config as yaml

2022-07-15 Thread Redouane Kachach Elhichou
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 Best Regards, Redo. On Fri, Jul 15, 2022 at 2:45 PM Ali Akil