Thursday, 2022-01-27

opendevreviewEduardo Santos proposed openstack/python-manilaclient master: Fix typo in subnet delete description  https://review.opendev.org/c/openstack/python-manilaclient/+/82654701:13
opendevreviewMerged openstack/python-manilaclient master: Fix typo in subnet delete description  https://review.opendev.org/c/openstack/python-manilaclient/+/82654703:46
opendevreviewFernando Ferraz proposed openstack/manila master: NetApp ONTAP: Add support to multiple subnets per AZ  https://review.opendev.org/c/openstack/manila/+/82515503:55
*** dviroel|afk is now known as dviroel11:20
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648413:21
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648413:45
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648414:06
opendevreviewCarlos Eduardo proposed openstack/manila master: [WIP] Change manila generated key type to ecsda  https://review.opendev.org/c/openstack/manila/+/82668614:32
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648415:19
ashrodrio/ anyone around for a riveting discussion on tempest tests? :)16:03
vkmco/16:03
ashrodri\o/ yay 16:05
gouthamrthat's a very clever test case16:06
* gouthamr misses zhongjun16:06
ashrodrireading through the original bug that lead to this test: https://bugs.launchpad.net/manila/+bug/177435316:08
ashrodribasically we want to strip .xml/.json from keys, allowing whatever text comes before that to be set as the key16:10
ashrodrimy failure arises from my router changes, im using mapper.connect to identify each method16:11
*** dviroel is now known as dviroel|lunch16:13
ashrodrihmmm still thinking about how to address this sorry16:13
gouthamrhmm, one thing we could do here is to preserve the behavior for show/delete16:17
gouthamrif there is a “.xml|.json” suffix, respond with 40416:17
gouthamror not - this would be incorrect if “foo.xml” and “foo” are both present in the metadata16:18
gouthamrBut that’s going to be incorrect even today16:19
ashrodriwhen i tested this yesterday, i could set a metadata key value pair with foo.xml=bar and it would show up when i did manila show16:20
ashrodribut i couldnt delete it with unset foo.xml16:20
gouthamrHmm, did you test with the client or did you use cURL ?16:21
ashrodribut with a key like foo.bar i can set and unset normally16:21
ashrodriclient16:22
ashrodrii can try again with a curl16:22
ashrodriah wait, i mightve been testing on my changes not on master haha let me try again16:22
gouthamrYep; do confirm - because this seems to be behavior associated with the URL ending with .xml|.json16:23
gouthamrWhich should happen with GET, PUT or DELETE against a specific metadata item16:23
ashrodriah okay just tested again. i set key foo=bar and foo.xml=value when i try metadata unset foo.xml, foo is deleted16:27
ashrodriwhich means, foo.xml is there to stay. theres no way to me to delete that with the client16:29
gouthamryes16:29
gouthamrthis is a bug16:30
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648416:30
gouthamrso i'm okay deleting that tempest test 16:30
ashrodricurling with the correct url also doesnt delete the foo.xml btw16:30
gouthamryes16:30
gouthamrbecause .xml (and .json) are stripped before the API method sees the key16:31
ashrodriokay so what behavior do we actually want when it comes to these types of keys16:31
gouthamrthe behavior must be that we don't mess with them16:31
gouthamri.e., the URL for share metadata is /shares/{share_id}/metadata/{key}16:32
gouthamrwe're deconstructing the {key} the user has and stripping .xml or .json - which isn't correct16:32
gouthamryour change is fixing this behavior to do the right thing, in turn causing the tempest test to fail16:33
ashrodrithat deconstructing is from zhongjun's changes? so do i revert it?16:33
gouthamrmost of our API resources are going to be words (e.g.: "shares", "share-replicas", "servers", ...) or UUIDs (e.g.: /shares/d1e7af20-a412-46d9-a406-d43075fe0073, ...) 16:35
gouthamrs/to be/to end with16:35
gouthamrthe only place this differs is metadata and extra-specs16:35
gouthamrwhere the resource locator is allowed to be ascii text upto 255 characters because these are key=value structures16:36
gouthamrin the latter, we've allowed users to use any legal keys, and "something.json" seems legal enough to me16:37
ashrodrime too16:37
gouthamrhttps://bugs.launchpad.net/manila/+bug/177435316:38
gouthamr^ the bug says the spec allows ".xml" and ".json" are accepted16:38
gouthamri wonder where that language is16:38
ashrodrii cant find that in the original spec16:41
gouthamrdunno i wonder if it is just copy-pasta :)16:41
gouthamrhttps://review.opendev.org/c/openstack/cinder/+/23166316:41
gouthamr^ i don't recall there being an xml api with manila16:42
gouthamrthat's tangential16:42
gouthamrashrodri: without reverting that change, removing the metadata tempest test should also help your case?16:43
ashrodriyes, but i figured fixing the bug regarding deleting these keys would also help. could also be done in a separate patch16:44
gouthamrhmmm, how would you do that?16:45
ashrodrinot sure, id have to look to see where the stripping is happening and why it only happens on DELETE not PUT/POST16:46
ashrodriremoving the test can be one patch, then have my api changes depend on it would let it pass zuul. but then ive just entangled my patch in a chain a week away from FF so...16:47
gouthamryes, not a fan of patch chains - but this should hopefully be a short one16:48
gouthamryou're hitting this with GET too, correct? i'd expect the same behavior with PUT/POST -- that16:48
gouthamrunless we're not allowing PUT/POST against a specific metadata ite16:48
gouthamritem*16:48
ashrodrithe router only identifies the route for update_all which is a PUT with no key at the end of the URL16:51
ashrodrithe api does have a get item but not the client, let me try curling16:51
ashrodrinope, curling with foo.xml doesnt work16:52
ashrodricurling with PUT and foo.xml gives me a URI mismatch so its also stripping there16:54
opendevreviewMerged openstack/manila master: Force disk wipe when running lvcreate  https://review.opendev.org/c/openstack/manila/+/81720616:54
ashrodriPOST is the only place that could allow foo.xml since its in the body not URL GET PUT and DELETE all strip which causes an error16:55
ashrodriremoving the strip completely would probably fix the behavior, and we can either remove or alter the tempest test to check it but i think itll be fine since without stripping foo.xml would be treated the same as foo.foo and i know that works16:56
ashrodriboth with client and curling16:57
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648416:58
opendevreviewCarlos Eduardo proposed openstack/manila master: WIP Add FIPS testing jobs  https://review.opendev.org/c/openstack/manila/+/81095317:11
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648417:24
*** dviroel|lunch is now known as dviroel17:26
opendevreviewAshley Rodriguez proposed openstack/manila-tempest-plugin master: remove share metadata test  https://review.opendev.org/c/openstack/manila-tempest-plugin/+/82674717:59
opendevreviewAshley Rodriguez proposed openstack/manila master: WIP: Metadata for Share Resource  https://review.opendev.org/c/openstack/manila/+/82464818:21
opendevreviewMerged openstack/manila stable/victoria: early return for _share_replica_update() if there is no active replica  https://review.opendev.org/c/openstack/manila/+/82506619:02
*** dviroel is now known as dviroel|out20:20
opendevreviewCarlos Eduardo proposed openstack/manila master: [WIP] Change manila generated key type to ecsda  https://review.opendev.org/c/openstack/manila/+/82668620:48
opendevreviewCarlos Eduardo proposed openstack/manila stable/victoria: Modify docker instalation for fedora systems  https://review.opendev.org/c/openstack/manila/+/82662120:50
opendevreviewCarlos Eduardo proposed openstack/manila stable/victoria: Adapt CephFS driver to do not try to escape export ip  https://review.opendev.org/c/openstack/manila/+/82662220:51
opendevreviewMerged openstack/manila master: Fix note in the share manager  https://review.opendev.org/c/openstack/manila/+/82465221:10
opendevreviewMerged openstack/manila stable/xena: [doc] Fix config and install guide for the generic driver  https://review.opendev.org/c/openstack/manila/+/81709221:31
opendevreviewMerged openstack/manila stable/wallaby: [doc] Fix config and install guide for the generic driver  https://review.opendev.org/c/openstack/manila/+/81709321:52

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