Wednesday, 2016-02-24

*** lyrrad has quit IRC01:54
*** openstack has joined #swift313:23
*** acoles is now known as acoles_13:47
*** acoles_ is now known as acoles14:23
*** chsc has joined #swift315:17
*** chsc has quit IRC16:40
*** lyrrad has joined #swift317:04
*** chsc has joined #swift317:10
*** chsc has quit IRC19:41
*** acoles is now known as acoles_19:52
*** chsc has joined #swift320:05
*** acoles_ is now known as acoles21:00
*** acoles is now known as acoles_22:46
*** chsc has quit IRC22:52
*** chsc has joined #swift322:57
kota_hello23:00
chschello23:01
kota_bi-weekly meeting time.23:02
kota_chsc: o/23:02
kota_anyone else?23:02
kota_chsc: looks like just you and me :)23:03
chscYes.23:03
chscI only have a small item: https://review.openstack.org/#/c/279234/23:03
patchbotchsc: patch 279234 - swift3 - Accept HTTP_ACCEPTED 202 from proxy server23:03
kota_alright, looking23:04
chscWe have seen that swift core can return 202 for a PUT, and swift3 currently turns that into a 500.23:04
timburkehello!23:04
kota_timburke: hello23:04
kota_chsc: oh, looks too good catch :)23:05
chsccool :)23:06
chscIs there anything else for me to do to get the patched integrated?23:06
kota_chsc: i thought we could make a test...23:06
kota_to prevent regressions23:07
chscHow would you setup the test? Have the 202 returned somewhere and verify that swift3 lets it go through?23:08
kota_it might be hard because we have no way to make 409 confict via swift3, right?23:08
kota_seems to trigger by difference between proxy server time.23:09
kota_ah,23:09
kota_alright, just making unit test seems enough23:09
chscI don't see an easy way. Yes, time difference between machines was the problem trigger for us.23:09
kota_wait a bit.23:10
kota_an example is here, https://github.com/openstack/swift3/blob/master/swift3/test/unit/test_obj.py#L398-L42023:11
kota_it's a basic unit test for PUT objects. In the test, we use FakeSwift app instead of actual vanilla swift.23:11
kota_so I wonder if you could try a new test method with the case swiftt returning back 202 accepted while PUT object.23:12
kota_easy way to hook to make the FakeSwift to return 202 is like as https://github.com/openstack/swift3/blob/master/swift3/test/unit/test_obj.py#L425-L42723:13
kota_register the response you intend.23:13
kota_chsc: thought?23:14
chscThat looks useful. I will try to put a test together.23:15
kota_chsc: great, thanks.23:15
chscThat is the only item i had.23:15
kota_ok, thanks.23:16
kota_timburk: do you have something?23:16
timburkejust to mention that i've been hearing more rumblings about adding v4 signature support, so i'll probably be reviewing patch 211933 soon23:16
patchbottimburke: https://review.openstack.org/#/c/211933/ - swift3 - support AWS signature v423:16
kota_oh yeah, that is in agenda added by andrew23:17
kota_looks like he is absent, though.23:17
kota_timburke: how do you think of that?23:18
timburkeit seems promising. i still have to get my saio set up for it, though, i think. looked like i'd need to use keystone auth?23:19
kota_timburke: maybe, I don't have a deeper look too.23:20
timburkeoh, also, i'll try to get the ranged-copy patch mergable. although, with the current movement on COPY requests upstream, it may require that we handle the GET/PUT ourselves instead of relying on COPY23:20
kota_that's why, I asked for Andrew to make functional to make us eas to review.23:21
kota_but23:21
kota_https://review.openstack.org/#/c/27251623:21
kota_everything broken :/23:21
timburkeyeah, i remembered seeing that patch a while ago but hadn't really looked at it yet. checking it out now...23:22
kota_timburke: alright, will see also COPY stuff.23:23
kota_in my memory, he told us we need later version of keystone to enable v4 but no dependecy forced in the patch so no way we can know the constraint in upstream.23:24
kota_s/keystone/keystone and keystone_middleware/ ??? not sure.23:25
kota_hmm... it seems we need more conversation with Andrey to progress v4 auth23:27
kota_I think we don't want to break any exisiting stuff for just adding a new authentication mechanism.23:27
timburkeon the plus side, only one test seemed to break across those gates...23:30
kota_hmmm looks related to the v4 thing.23:32
kota_Location seems to be tied up to the region and v4 using the region info in the auth.23:33
kota_not sure, need more deeper eye though.23:33
timburkehmm...and yeah, those signatures on the failed test are still v2... definitely needs a more thorough review23:34
kota_to be honest, I don't like to have many tox env though :/ he added v4xkeystone env into tox.23:34
timburkewhile i'm thinking of it, we may want to put keystonemiddleware in setup.cfg as an "extra"...then we could at least make a version recommendation (if not actually require it)23:34
kota_timburke: sounds good idea23:35
timburkeit's pretty easy to do; see patch 25434623:36
patchbottimburke: https://review.openstack.org/#/c/254346/ - python-swiftclient - Move python-keystoneclient to "extras"23:36
kota_looks suitable. to catch up quickly, what means for "extra" option?23:37
kota_extras, i mean23:38
timburkei agree we don't want too many tox envs, though. maybe there's a way we could have it switch between v2 and v4 signatures based on an environment variable? we'd still need to set up gate jobs, though23:38
timburkeso, you're used to doing `pip install swift3`, right? it will install swift3 and everything in requirements.txt (and their requirements, etc)23:39
timburkeif you do `pip install swift3[extra-name]` it will still do that, plus look up extra-name for a lit of additional packages to install23:40
kota_timburke: might be. Or if we can run both v2, v4 at the same time, running up whole tests via both auth likely making v4 test case inherits v2 test case  (the difference is just auth in self.connection)23:40
timburkei think in deb packages it might be comparable to a Recommends? something like that.23:41
kota_timburke: gotcha, sounds reasonable.23:41
timburkesee https://pythonhosted.org/setuptools/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies23:42
kota_one thing i am still wondering what's happen if the extras is insuffisient at the environment, though.23:42
kota_will take a look.23:42
kota_ok, let's move onto last part of today's meeting.23:46
kota_I didn't add anything but I would like to here opinions for23:46
kota_swift3 may back to swift core repo.23:46
kota_that item addressed in the hackathon next week.23:47
kota_not yet determined anything, just I wan to hear.23:47
timburkemy only concern is maintaining support for old clusters. but honestly, i don't mind having an extra reason for customers to upgrade, either23:49
timburkewell, that, and managing the functests, since the style is so different between swift and swift323:50
timburke(not saying one style is better or worse. just...different)23:50
kota_sure thing, we need continuous conversation, "how we can land into core repo"23:50
kota_abosolutely we need a lot of changes (e.g. namesapaces, tests, whatever) if moving to core.23:51
kota_alright, not so bad feeling but we have concerns, that fits with my thought.23:52
kota_thanks23:52
timburkeand i expect that the larger swift community will have some concerns as well. but we'll certainly start a discussion in Bristol23:53
*** chsc has quit IRC23:53
kota_timburke: :)23:54
kota_anything else for today/23:54
kota_?23:54
kota_looks nothing.23:55
kota_finish up, thanks for working swift3.23:56
timburkethanks kota_!23:56

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