Friday, 2023-10-06

tkajinamhmm. can anyone help me understand the expected format of [DEFAULT] backup_protocol_access_mapping option value02:27
tkajinamit sounds like each value should be a list but I don't know how that should be defined02:27
tkajinamusually the dict option should be put like02:27
tkajinam key1:value1,key2:value202:28
tkajinamI'm unsure how value1 should look like to represent a list value02:28
tkajinamif I do something like02:31
gouthamrhey tkajinam02:32
tkajinamkey1:value11,value12:key2,value2 then this breaks parsing in oslo.config IIUC02:32
tkajinamgouthamr, hey o/02:32
gouthamrhttps://docs.openstack.org/oslo.config/latest/reference/api/oslo_config.html#oslo_config.types.Dict02:32
gouthamrI’ve never used a dictopt like this before02:32
gouthamrbut could we possibly set a “value_type” and get around that?02:33
tkajinamhmm I don't think so02:33
tkajinamoh, wait02:34
gouthamrmy phone search tells me there’s another option that this might be inspired from: “protocol_access_mapping”02:35
gouthamrhttps://opendev.org/openstack/manila/src/branch/master/manila/share/driver.py#L11302:36
tkajinamlet me check the actual behavior but that one might not be working as expected either.02:36
tkajinamhttps://github.com/openstack/oslo.config/blob/master/oslo_config/types.py#L649-L67002:37
tkajinamI guess we have to make it look like02:37
gouthamrcan you provide it like: key1:[‘value11’,’value12’], key2: [‘value2’]02:38
tkajinamyeah that's what I was thinking though we need that value_type definition to accept that format IIUC02:38
tkajinamwhich is currently missing02:38
gouthamrah because without it it’s treated as a string02:40
tkajinamyup02:40
gouthamrthanks tkajinam - looks like we never tested this with multiple values - thanks for finding this02:41
tkajinamI guess noone has tried to customize this option02:42
tkajinamhttps://github.com/openstack/manila/blob/master/manila/share/driver.py#L659-L66202:43
tkajinamI'm pretty sure the logic like this may be messed up02:43
tkajinamgouthamr, I'll create a bug report after testing some formats. I can probably try that in puppet ci.02:44
gouthamrI see what you mean; but I’m confused how the default works02:44
tkajinamthe default works. Problem is the way how it is parsed from config files02:45
gouthamryou’re right, users wouldn’t have overridden this; both these options look like nerd knobs :D “YAGNI”02:45
tkajinamyeah02:45
gouthamrbut since we have the options, we should fix this up; thanks 🙏02:45
tkajinamyeah02:48
tkajinamwe might need to fix oslo.config to customize that value_type. fun02:48
tkajinamI was writing a puppet-manila patch to support share backup/restore option. I may leave this specific option until we reach the conclusion.02:49
gouthamr++02:49
gouthamrthat’s awesome02:49
tkajinam(just watched the openinfra live recording and learned the feature. that was the nice presentation.02:49
gouthamryep :)02:50
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for share backup/restore options  https://review.opendev.org/c/openstack/puppet-manila/+/89751003:31
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for share manger options  https://review.opendev.org/c/openstack/puppet-manila/+/89751104:17
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for share backup/restore options  https://review.opendev.org/c/openstack/puppet-manila/+/89751004:31
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for share manger options  https://review.opendev.org/c/openstack/puppet-manila/+/89751105:06
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for share backup/restore options  https://review.opendev.org/c/openstack/puppet-manila/+/89751005:06
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Remove redundant order enforcement  https://review.opendev.org/c/openstack/puppet-manila/+/89751405:06
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for share backup/restore options  https://review.opendev.org/c/openstack/puppet-manila/+/89751005:20
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for share backup/restore options  https://review.opendev.org/c/openstack/puppet-manila/+/89751005:37
opendevreviewMerged openstack/manila stable/xena: NetApp ONTAP: Fix SnapMirror snapshots not being cleaned up  https://review.opendev.org/c/openstack/manila/+/89203606:04
opendevreviewTakashi Kajinami proposed openstack/manila master: Fix missing manila-data options  https://review.opendev.org/c/openstack/manila/+/89755013:29
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for NFS share backup driver  https://review.opendev.org/c/openstack/puppet-manila/+/89755813:55
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for NFS share backup driver  https://review.opendev.org/c/openstack/puppet-manila/+/89755813:58
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: PowerMax: Fix wrong nfs client package name in Ubuntu/Debian  https://review.opendev.org/c/openstack/puppet-manila/+/89756014:02
opendevreviewTakashi Kajinami proposed openstack/puppet-manila master: Add support for NFS share backup driver  https://review.opendev.org/c/openstack/puppet-manila/+/89755814:03
opendevreviewCarlos Eduardo proposed openstack/manila-tempest-plugin master: Run stable jobs on 2023.2  https://review.opendev.org/c/openstack/manila-tempest-plugin/+/89757416:39
opendevreviewCarlos Eduardo proposed openstack/manila stable/2023.2: [DNM] testing stable jobs on 2023.2  https://review.opendev.org/c/openstack/manila/+/89757516:41
opendevreviewGoutham Pacha Ravi proposed openstack/manila master: [Doc] Annotate max api microversion in Bobcat  https://review.opendev.org/c/openstack/manila/+/89760919:59

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