Thursday, 2018-07-12

openstackgerritzhongjun proposed openstack/manila master: Support metadata for access rule resource  https://review.openstack.org/57070802:04
openstackgerritzhongjun proposed openstack/manila master: Add priority for access rule  https://review.openstack.org/57228302:17
*** jmlowe has quit IRC02:35
*** rishabh_ has joined #openstack-manila03:38
*** rishabh__ has joined #openstack-manila03:55
*** rishabh_ has quit IRC03:58
*** rishabh_ has joined #openstack-manila04:01
*** rishabh__ has quit IRC04:03
*** vivsoni_ has joined #openstack-manila04:38
*** vivsoni has quit IRC04:38
*** vivsoni has joined #openstack-manila04:41
*** vivsoni_ has quit IRC04:43
openstackgerritzhongjun proposed openstack/manila master: Add priority for access rule  https://review.openstack.org/57228305:15
*** e0ne has joined #openstack-manila05:16
*** e0ne has quit IRC05:18
*** arnewiebalck___ is now known as arnewiebalck_05:31
*** arnewiebalck_ has quit IRC05:33
*** markstur has joined #openstack-manila05:59
*** markstur has quit IRC06:04
*** belmoreira has joined #openstack-manila06:19
*** belmorei_ has joined #openstack-manila06:24
*** belmore__ has joined #openstack-manila06:26
*** belmoreira has quit IRC06:28
*** belmorei_ has quit IRC06:29
*** vivsoni_ has joined #openstack-manila06:58
*** vivsoni has quit IRC06:59
*** markstur has joined #openstack-manila07:02
*** vivsoni has joined #openstack-manila07:02
*** belmoreira has joined #openstack-manila07:04
*** vivsoni_ has quit IRC07:04
*** belmore__ has quit IRC07:05
*** markstur has quit IRC07:06
*** dsariel has joined #openstack-manila07:23
*** peereb has joined #openstack-manila07:25
*** e0ne has joined #openstack-manila07:27
*** belmoreira has quit IRC07:40
*** belmoreira has joined #openstack-manila07:56
openstackgerritzhongjun proposed openstack/manila master: Support metadata for access rule resource  https://review.openstack.org/57070808:04
*** dsariel has quit IRC08:04
*** rraja has joined #openstack-manila08:06
*** dsariel has joined #openstack-manila08:19
*** dsariel has quit IRC08:51
*** dsariel has joined #openstack-manila08:51
*** dsariel has quit IRC09:02
*** hoonetorg has quit IRC09:27
*** belmoreira has quit IRC09:31
openstackgerritzhongjun proposed openstack/manila-tempest-plugin master: Add tempest test for share access metadata  https://review.openstack.org/57953409:38
*** hoonetorg has joined #openstack-manila09:40
*** belmoreira has joined #openstack-manila10:19
openstackgerritzhongjun proposed openstack/manila-tempest-plugin master: Add tempest test for share access metadata  https://review.openstack.org/57953410:49
*** erlon has joined #openstack-manila10:51
*** ganso has joined #openstack-manila10:53
openstackgerritzhongjun proposed openstack/manila-tempest-plugin master: Add tempest test for share access metadata  https://review.openstack.org/57953410:53
*** dsariel has joined #openstack-manila11:04
openstackgerritTommyLike proposed openstack/python-manilaclient master: Add "start_version" and "end_version" support to  argparse  https://review.openstack.org/58216011:46
openstackgerritTommyLike proposed openstack/python-manilaclient master: Add "start_version" and "end_version" support to  argparse  https://review.openstack.org/58216011:48
*** belmorei_ has joined #openstack-manila11:53
*** belmoreira has quit IRC11:55
*** tpsilva has joined #openstack-manila12:03
*** belmorei_ has quit IRC12:09
*** dustins has joined #openstack-manila12:10
*** belmorei_ has joined #openstack-manila12:10
*** vgreen has joined #openstack-manila12:16
*** belmorei_ has quit IRC12:32
*** assassin has joined #openstack-manila12:46
openstackgerritTommyLike proposed openstack/python-manilaclient master: Add "start_version" and "end_version" support to  argparse  https://review.openstack.org/58216013:03
*** belmoreira has joined #openstack-manila13:08
*** rishabh_ has quit IRC13:49
openstackgerritzhongjun proposed openstack/manila-tempest-plugin master: Add tempest test for share access metadata  https://review.openstack.org/57953413:50
*** belmorei_ has joined #openstack-manila13:56
*** belmore__ has joined #openstack-manila13:58
*** belmoreira has quit IRC14:00
*** belmorei_ has quit IRC14:01
openstackgerritRodrigo Barbieri proposed openstack/manila master: [NetApp driver] Control snapshot folder visibility  https://review.openstack.org/58106814:09
*** eharney has joined #openstack-manila14:12
*** belmore__ has quit IRC14:36
openstackgerritzhongjun proposed openstack/python-manilaclient master: Support metadata for access rule resource  https://review.openstack.org/57136614:37
openstackgerritzhongjun proposed openstack/python-manilaclient master: Support metadata for access rule resource  https://review.openstack.org/57136614:41
*** e0ne has quit IRC14:59
tbarronmeeting time15:00
*** jmlowe has joined #openstack-manila15:02
*** erlon_ has joined #openstack-manila15:02
*** markstur has joined #openstack-manila15:18
*** rraja has quit IRC15:30
*** e0ne has joined #openstack-manila15:40
*** dustins_ has joined #openstack-manila15:43
*** peereb has quit IRC15:45
*** dustins has quit IRC15:47
*** markstur has quit IRC15:47
*** jmlowe has quit IRC15:47
*** markstur has joined #openstack-manila15:49
*** markstur has quit IRC15:49
*** markstur has joined #openstack-manila15:50
bswartz(12:00:07 PM) bswartz: So the challenge is that the schema isn't written down anywhere, and writing it is a lot of work?16:00
gouthamrbswartz: yep, we've not written the schema outside of the api-ref16:01
bswartzIt's sad state of affairs if we can't get someone to write the whole schema in 1 release16:01
bswartzThat seems like a pretty basic thing16:01
bswartzI realize the final document will be 1000 lines probably16:01
tbarronbswartz: well we just started reviewing their submission very recently16:02
bswartzOr more16:02
tbarronbswartz: and these NEC folks know the infra for json query validation very well but are16:02
bswartzBut it's something we really need, and in fact have needed for a lont time16:02
tbarronlikely just studying manila api as they go along16:02
bswartzI suppose the versioning complicates the effort16:02
bswartzBecause you need a slightly different schema at each version16:02
tbarronyeah16:03
zhongjun__Do we have to finish all schema work in this cycle16:03
gouthamrbswartz: true, they've "simplified" this in the implementation proposed, and it looks a lot like writing out our API-ref with os-api-ref16:03
gouthamrhttps://review.openstack.org/#/c/563429/9/manila/api/schemas/share_types.py as an example16:04
tbarrongetting the schema validation infra in and a good example for an api or two (at all microversions) would be a good beach head position though16:04
bswartzI suppose so16:04
gouthamryes, i had a compromise for zhongjun__'s APIs16:04
bswartzIf it must be done incrementally, then getting starting is better than not getting started16:05
gouthamr+116:05
*** dustins_ has quit IRC16:06
gouthamri think zhongjun__ can implement strict validation in the APIs she's modifying from the new microversion she's bumping them to16:06
gouthamrshe doesn't need the json validation code16:06
tbarrongouthamr: so does this patch do the right thing from your POV w.r.t. 'description' at v 26 vs 27?16:06
tbarronI mean at 241?16:07
gouthamrit'd be a simple check-keys-in-body from 2.46, raise 400 error if extra-keys16:07
gouthamrdon't do anything with those keys if less than 2.4616:07
gouthamrtbarron: as far as i understand it does, i need to test it to confirm16:07
tbarrongouthamr: when I was testing it threw and error at the lower microversion16:08
tbarrongouthamr: but I lost a week and a half context, will set it up again soon16:08
gouthamrif zhongjun__ implements this simple validation, we can layer the JSON schema validation on top of that16:08
tbarrongouthamr: but if I'm right about what it does it shouldn't be a big deal to change the action to ignore at the lower microversion in these schema16:09
gouthamrtbarron: oh.. yep, let's confirm16:09
* tbarron also wonders whether, api philosophy aside, it's worth checking what nova and cinder do in this circumstance16:10
gouthamr+116:11
tbarronit's true that we want manila to *be able* to stand alone, but we may not want it to *stand out* anomalous w.r.t. operator microversion expectations16:12
tbarronand gophercloud, etc :D16:12
* tbarron heads off to lunch16:13
tbarronand recommends that gouthamr get breakfast and zhongjun__ a nightcap16:13
gouthamrtbarron++16:18
*** e0ne has quit IRC16:20
*** e0ne has joined #openstack-manila16:23
*** e0ne has quit IRC16:23
*** assassin has quit IRC16:25
openstackgerritzhongjun proposed openstack/manila master: Support metadata for access rule resource  https://review.openstack.org/57070816:26
zhongjun__tbarron: :P16:27
*** e0ne has joined #openstack-manila16:41
*** e0ne has quit IRC16:43
*** dsariel has quit IRC16:52
*** rraja has joined #openstack-manila18:19
*** jmlowe has joined #openstack-manila18:24
*** harlowja has joined #openstack-manila18:24
*** e0ne has joined #openstack-manila18:42
*** e0ne_ has joined #openstack-manila18:47
*** e0ne has quit IRC18:47
*** e0ne has joined #openstack-manila18:51
*** e0ne_ has quit IRC18:52
*** e0ne has quit IRC18:54
*** e0ne_ has joined #openstack-manila18:54
*** e0ne_ has quit IRC18:56
*** erlon_ has quit IRC19:11
*** e0ne has joined #openstack-manila19:12
*** e0ne has quit IRC19:23
*** vgreen has quit IRC19:28
*** e0ne has joined #openstack-manila19:31
*** e0ne_ has joined #openstack-manila19:34
*** e0ne has quit IRC19:36
*** dustins has joined #openstack-manila19:37
*** e0ne_ has quit IRC19:41
*** eharney has quit IRC19:46
*** markstur_ has joined #openstack-manila19:50
*** markstur has quit IRC19:54
*** e0ne has joined #openstack-manila19:55
*** e0ne has quit IRC19:59
*** e0ne has joined #openstack-manila20:03
*** erlon has quit IRC20:07
*** e0ne has quit IRC20:07
*** e0ne has joined #openstack-manila20:13
*** e0ne has quit IRC20:18
*** e0ne has joined #openstack-manila20:21
*** e0ne_ has joined #openstack-manila20:27
*** e0ne has quit IRC20:28
*** belmoreira has joined #openstack-manila20:30
*** e0ne_ has quit IRC20:31
*** e0ne has joined #openstack-manila20:35
*** belmoreira has quit IRC20:36
*** e0ne has quit IRC20:42
*** e0ne has joined #openstack-manila20:48
*** e0ne has quit IRC20:50
*** rraja has quit IRC20:56
*** rraja has joined #openstack-manila20:56
*** dustins has quit IRC21:02
*** e0ne has joined #openstack-manila21:27
*** e0ne has quit IRC21:39
*** e0ne has joined #openstack-manila21:59
*** boris_42_ has joined #openstack-manila22:08
*** rraja has quit IRC22:17
*** rraja has joined #openstack-manila22:21
*** ganso has quit IRC22:27
*** e0ne has quit IRC22:32
*** rraja has quit IRC22:33
gouthamrtbarron: you're right about the schema validation patch22:39
gouthamrit doesn't ignore unknown keys, it returns 400 even for older microversions22:40
*** tpsilva has quit IRC23:01
tbarrongouthamr: yeah, good comment in the review23:03
tbarrongouthamr: json schema validation is already in cinder and nova, dyk what they do in this circumstance?23:03
gouthamrtbarron: i pointed to a patch in cinder from the set that seem to be worked on this release: https://review.openstack.org/#/q/message:%255Ejsonschema+project:openstack/cinder23:04
tbarrongouthamr: and do they raise 400 for earlier microversions?23:07
gouthamrinconsistently as it appears from code-reading23:07
tbarrons/raise/return/400/23:07
tbarrongouthamr: so maybe this needs to be a cross-project issue?23:07
tbarronI'd like manila to do the right thing but I also want us to be drivers of uniform user experience in openstack rather than being an anomaly23:08
gouthamrtbarron: agreed, i'll check out what's the pattern here, i don't see an API sig spec in flight23:10
tbarrongouthamr++23:12
*** erlon has joined #openstack-manila23:53

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!