Sunday, 2026-02-01

*** mhen_ is now known as mhen02:34
tkajinamgmaan, I hope my reply could be clear enough, by my point is that we don't want that logic to assume that "oslo_config_glue.register does exactly same as what we are doing here "self.conf.register_opts(_options.service_opts)"03:25
tkajinams/we don't/I don't/03:25
tkajinamit might be true now, but can be broken anytime03:25
gmaantkajinam: if that is broken then that is valid failure and we should make sure that all required config option are properly registered03:26
tkajinamwe should not heavily depend on the current implementation of an external lib, IMHO03:26
gmaantkajinam: because it is same case for any oslo lib, all openstack service register the olso lib config options by oslo libs only. 03:27
tkajinamI really don't want to force us to watch cotyledon to detect any problematic update ?03:27
tkajinamgmaan, no that's different because we use oslo's logic to register these options and use these in oslo's logic03:28
gmaantkajinam: yes, that is my point, that is not implementation but a hack which was added long back and now we should use cotyledon in proper way and register required config options in correctr way03:28
gmaanand at some point we should also remove the usage of link() also03:28
tkajinamcan't we just re-implement oslo_config_glue.link ?03:28
tkajinamthat's much clean way IMHO03:28
gmaanyes, that is good point and we should do that03:28
gmaanbut currently registering the config option by oslo.service and make sure (i think as a maintainer you can) nobody should extend the oslo_config_glue.py03:29
gmaanand at some point we can completely remove the oslo_config_glue03:30
tkajinamcotyledon is outside of oslo's governance as you know03:30
tkajinamso we don't have any control about it03:30
gmaanbut my suggestion is gradually remove the usage of oslo_config_glue which is what this change doing03:30
gmaantkajinam: i know, I saw you are one of the maintainer and once openstack does not use oslo_config_glue then it maybe good time to remvoe it but that I will leave up to you guys03:31
tkajinamno I'm just a contributor. I have no access to reject or merge things there03:32
gmaanoh, I thought i saw you approve one PR03:32
gmaanmaybe I overlooked 03:32
gmaananyways, I think if anyone adding more openstack config in oslo_config_glue and get error is right failure and ask them to do it in openstack side and not extend this glue03:33
gmaanand with things moving to threading backend will make usage in much better way03:33
gmaantkajinam: if you agree, my suggestion is to start it with this change where oslo.service will register its config options and only use link(). and that is a message for gradually removing the oslo_config_glue usage03:35
opendevreviewTakashi Kajinami proposed openstack/oslo.service master: Eliminate usage of oslo_config_glue  https://review.opendev.org/c/openstack/oslo.service/+/97535704:09
tkajinamgmaan, let's see how the others feel about ^^^04:09
tkajinamI feels like leaving it now means we never fix it until we face a problem04:10
gmaantkajinam: great, I will check this, mostly looking good at first glance. 04:11
tkajinam(I unintentionally found one possible bug in cotyledon and will see if need a fix there first ...04:12
gmaannice, feel free to ping me the link and i will be happy to review. I am seeing we will find more improvement area in cotyledon as we will be using it heavily 04:13
tkajinamgmaan, https://github.com/sileht/cotyledon/pull/8904:34
tkajinamthough I'm unsure if such reload mechanism is intensively used even in OpenStack04:35
gmaantkajinam: thanks, I will take a look. I think reload is not used much at least we do not reload Nova service on SIGHUP. but in future we may04:37
tkajinamI guess reload or mutable config mechanism is not much important these days because people more often use k8s which restart containers after config change04:38
tkajinamand graceful shutdown is much more important in that pattern04:39
gmaanyup, as long as we shutdown services gracefully then k8s restart is all good to reload the things04:39

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!