Thursday, 2024-10-17

*** finnekit7 is now known as finnekit07:44
d1nuc0mHi all, a quick question about puppet-manila: should it be possible to include at the same time manila::share and manila::share::generic or are they mutually exclusive? Including them both gives a double declaration of DEFAULT backend08:33
tkajinamd1nuc0m, hmmm I wasn't aware of that duplicate. However I wonder why you use manila::share::generic instead of manila::backend::generic .09:13
d1nuc0mtkajinam, like using a manila::backend::generic resource to configure the DEFAULT backend?09:15
tkajinamit does not configure default backend. You maybe able to configure some options commonly loaded by multiple generic backends, but I don't know how much it would be better than setting the same options in each backend09:17
tkajinamanother problem with manila::share::<generic> is that some of the options conflict between them so you can't use ::generic and ::netapp at the same time even though you have both backend in you setup09:17
tkajinamprobably the right way is to deprecate all manila::share;:* and solely use manila::backend::*09:18
d1nuc0mtkajinam I am using manila::share to configure share options in manila.conf, then I'd like to set driver_handles_share_servers for the generic share driver09:23
tkajinamd1nuc0m, if you want generic share driver then you can use manila::backend::generic defined resource type09:23
tkajinaminstead of manila::share::generic class09:23
tkajinamoh, wait09:24
tkajinamso the manila::backend::generic defined resource type has driver_handles_share_servers parameter09:25
tkajinamhttps://github.com/openstack/puppet-openstack-integration/blob/master/manifests/manila.pp#L113-L13609:25
tkajinamthis is how I expect you configure share backends09:25
tkajinamd1nuc0m, https://opendev.org/x/packstack/src/branch/master/packstack/puppet/modules/packstack/manifests/manila/backend/generic.pp#L5-L909:32
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Deprecate support for backend options in [DEFAULT] section  https://review.opendev.org/c/openstack/puppet-manila/+/93259409:33
d1nuc0mOk, thanks, so I should *not* configure backends in the DEFAULT section at all09:33
d1nuc0mtkajinam ?09:33
tkajinamyes09:33
tkajinamyou are correct09:33
tkajinamyes/no in English is sometimes quite confusing for non-native09:34
d1nuc0mThanks tkajinam 09:34
tkajinamd1nuc0m, by the way I think we discussed some problems with oidc configuration in puppet-keystone some time ago, right ?09:35
d1nuc0mYes, you're right09:35
d1nuc0mI was slowly adding some parameter such as in https://review.opendev.org/c/openstack/puppet-keystone/+/923194, then I got engaged also in other internal projects09:36
tkajinamd1nuc0m, I guess I finally understood the problem you described from the change proposed in keystone09:36
tkajinamhttps://review.opendev.org/c/openstack/keystone/+/92555309:36
tkajinamI updated master and 2024.1 according to that change, hope it does not kill you. https://review.opendev.org/c/openstack/puppet-keystone/+/92875509:37
tkajinamjusy fyi09:37
d1nuc0mThanks a lot! It does not cause problems, instead it allows me to remove a workaround I used (file_line at setup end) to have a proper URL, I have to implement it09:38
tkajinam:-)09:38
tkajinamI guess the updated configuration is what you wanted to have (and implemented by hacks)09:39
tkajinamin case you get chance to try updated version then please check it :-)09:40
d1nuc0mtkajinam, Yes, I'll check it ASAP (RN the testbed is down due to hypervisor maintenance and I don't want to directly edit production XD)09:44
tkajinamd1nuc0m, thanks and take your time09:51
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: generic: Drop redundant hard-coded defaults  https://review.opendev.org/c/openstack/puppet-manila/+/93260211:42
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Deprecate support for backend options in [DEFAULT] section  https://review.opendev.org/c/openstack/puppet-manila/+/93259412:38
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: generic: Drop redundant hard-coded defaults  https://review.opendev.org/c/openstack/puppet-manila/+/93260212:43
*** iurygregory_ is now known as iurygregory12:57
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: generic: Drop redundant hard-coded defaults  https://review.opendev.org/c/openstack/puppet-manila/+/93260214:30
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: generic: Drop redundant hard-coded defaults  https://review.opendev.org/c/openstack/puppet-manila/+/93260214:56
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: generic: Drop redundant hard-coded defaults  https://review.opendev.org/c/openstack/puppet-manila/+/93260215:07
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: generic: Drop redundant hard-coded defaults  https://review.opendev.org/c/openstack/puppet-manila/+/93260221:41

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