Wednesday, 2015-09-30

*** openstackgerrit has quit IRC00:01
*** openstackgerrit has joined #swift300:02
*** openstack has joined #swift300:04
*** chsc has quit IRC00:33
*** kota_ has joined #swift300:39
*** lyrrad has quit IRC00:43
*** kota_ has quit IRC01:00
*** bill_az has quit IRC01:33
*** kota_ has joined #swift302:19
*** chsc has joined #swift303:37
*** kota_ has quit IRC04:11
*** chsc has quit IRC04:31
*** hrou has quit IRC05:40
*** kota_ has joined #swift308:36
*** kota_ has quit IRC12:57
*** hrou has joined #swift313:12
*** chsc has joined #swift314:12
*** chsc has quit IRC15:19
*** chsc has joined #swift315:24
*** lyrrad has joined #swift315:42
*** DjamOlsky has joined #swift315:49
*** DjamOlsky has left #swift315:49
*** chsc has quit IRC16:31
*** chsc has joined #swift317:15
*** openstackgerrit has quit IRC18:16
*** openstackgerrit has joined #swift318:17
*** openstackgerrit has quit IRC18:46
*** openstackgerrit has joined #swift318:46
*** kota_ has joined #swift320:53
*** hrou has quit IRC20:53
*** kota_ has quit IRC22:00
*** hrou has joined #swift322:17
*** chsc has quit IRC22:23
*** hrou has quit IRC22:42
*** lyrrad has quit IRC22:47
*** lyrrad has joined #swift322:47
*** kota_ has joined #swift322:56
*** chsc has joined #swift322:59
kota_hello23:01
lyrradHi.23:01
chschi23:01
alpha_orihello!23:02
kota_Could we start?23:03
alpha_oriDo we have an agenda?23:04
*** bill_az has joined #swift323:04
kota_yup23:04
kota_#link https://wiki.openstack.org/wiki/Meetings/swift323:05
bill_azHi - sorry I'm late!23:05
kota_bill_az: no worries23:05
kota_just started now23:05
chscI also have looked into some of the s3 acl test failures. Either we could touch on that now, or discuss that separately.23:05
kota_chsc: ok23:06
kota_chsc: you get a room.23:06
chscOk. Should we start with that or put it towards the end?23:07
kota_chsc: I'd like to hear that at first :)23:07
kota_please23:08
chscok. First is bug 1488623. swift3 does not validate a grantee, you can just put arbitrary names.23:08
openstackbug 1488623 in Swift3 "swift3 fails to validate grantee in acl" [Undecided,New] https://launchpad.net/bugs/148862323:08
chscI opened the bug since i thought that this could be addressed, but could not find an easy way.23:08
chscWould be be possible to query auth if a certain user name exists?23:09
chscIf not, i can cancel the bug again.23:09
chscSecond is 1488646. swift3 seems to implicitly grant FULL_CONTROL to the owner, instead of WRITE_ACP.23:10
chscI tried a simple patch to fix that, but that broke unit tests. I can look closer at that, but in the end it is also a minor issue.23:10
chsc(WRITE_ACP means you can grant yourself FULL_CONTROL anyway)23:10
chscThen there are some test failures due to s3-tests using unauthenticated requests.23:11
chsce.g. in s3tests.functional.test_s3:test_object_copy_canned_acl23:11
chscchanging that to authenticated requests makes the test pass23:11
chscLast item is that s3tests.functional.test_s3:test_bucket_header_acl_grants and s3tests.functional.test_s3:test_object_header_acl_grants fail for me and could be fixed with a simple patch:23:12
chsc--- a/s3tests/functional/test_s3.py23:12
chsc+++ b/s3tests/functional/test_s3.py23:12
chsc@@ -73,8 +73,8 @@ def check_grants(got, want):23:12
chsc     in any order.23:12
chsc     """23:12
chsc     eq(len(got), len(want))23:12
chsc-    got = sorted(got, key=operator.attrgetter('id'))23:12
chsc-    want = sorted(want, key=operator.itemgetter('id'))23:12
chsc+    got = sorted(got, key=operator.attrgetter('id', 'permission'))23:12
chsc+    want = sorted(want, key=operator.itemgetter('id', 'permission'))23:12
chsc     for g, w in zip(got, want):23:12
chsc         w = dict(w)23:12
chsc         eq(g.permission, w.pop('permission'))23:12
chscIt would be useful if someone could verify that.23:12
timburkeon bug 1488646 (and patch 227035), i think we need to differentiate between the default ACL set on bucket creation, and the implicit permissions present even if you attempt to remove all ACLs23:13
patchbottimburke: https://review.openstack.org/#/c/227035/ - Grant correct implicit permissions to owner23:13
openstackbug 1488646 in Swift3 "swift3 does not enforce missing write permission for owner on bucket" [Undecided,New] https://launchpad.net/bugs/148864623:13
chscyes23:13
chscI can take another look at that.23:14
kota_thanks, tim23:15
chscOther thoughts on these acl tests? If not, then we can probably move on.23:15
kota_the first one might be possible to solve I think.23:15
kota_currently we have a way to collect the user is there or not by authentication.23:16
kota_i.e. send backend swift auth request23:16
kota_i guess, it absolutely fail because no roles but23:17
kota_if there is the user, we could get the account name from swift.23:17
chscOk. Would that be similar to the auth requests sent with the information from the Authorization header?23:18
kota_for implemetaition, use pure swift request format from swift323:18
kota_like...wait23:19
kota_https://github.com/stackforge/swift3/blob/master/swift3/request.py#L488-L48923:20
kota_I cannot point out the implementaion immediately23:20
chscOk. I can also take a closer look there.23:21
kota_you should look at the auth mechanism also tempauth or auth_token23:21
chscok23:22
kota_that will translate account name in the path like s/account:account/AUTH_acccount/23:22
chscok23:22
kota_And I'll take a look at the last thing in next 2 week.23:23
chscthank you23:23
timburkewhat if you have multiple auth systems (say, both keystone and tempauth), and you want to allow users of either to use swift3? we might be able to change the auth systems so that whoever is first adds some flag to the wsgi environment to say "hey, i know someone by that name, but the creds don't seem right" (and let the last one still send up the decisive 401)23:23
kota_chsc: thanks for bringing up them, here.23:23
kota_timbuke: nice thought23:24
chscI am not sure what to about the unauthenticated request failures.23:25
chscWe could patch a fork of s3-tests to avoid these, but then we have to maintain that fork.23:25
lyrradI thought we were planning on using a known failures file to keep track of tests that we know won’t pass.23:26
kota_yeah, that is one of today's agenda i suppose.23:26
lyrradThat’s a feature of the s3compat script.23:27
kota_ok, let's move on to that.23:27
lyrradSo, I released the scripts last week though I haven't received any feedback yet.  Let me know if anyone else needs access.23:27
kota_lyrrad invited me to contribute s3compat team, thanks.23:27
chscAccess works, i just have not had the time to test the scripts.23:28
kota_but sorry I didn't take a time to look at because I was crazy busy for Swift and Prep for tokyo summit :\23:28
timburkei figured you were a bit busy. thanks for approving those two patches despite the craziness!23:29
kota_timburke: :)23:30
kota_lyrrad: could you paste the s3compat link?23:30
lyrradI’ve also been working on classifying the tests manually for the report, but I haven’t released that patch yet.23:31
lyrradhttps://github.com/swiftstack/s3compat23:31
kota_ok23:31
kota_nice, thanks23:31
lyrradI think you need to be invited to access it.23:31
kota_oh, yeah, I belong to the team, already.23:31
lyrradLet me know your Git username if you need an invitation.23:32
lyrradKota: Did you get a chance to look at the security patch I sent you?23:34
kota_ah23:34
kota_I still don't have the permittion to look at23:34
kota_even though I logged in launchpad23:34
lyrradWeird.  I sent you all the details in an email.23:35
kota_which organization the seculity issue is open?23:36
kota_in lp23:37
kota_yup, I already got your E-mail, anyways, I'll look at the E-mail.23:37
lyrradI just tried adding you to it.  Maybe you can see it now.23:38
kota_timburke: How do you think of that? I guess you got same E-mail in c.c.23:38
*** hrou has joined #swift323:38
timburkeseems legit. replay attacks are possible23:40
timburke(though only if the client was doing dumb things originally)23:40
kota_ok, feel like to set priority high or critical even though I cannot access lp :/23:42
lyrradI thought I just added you to the bug as a subscriber. Tim is able to see it now.23:42
lyrradThis could happen with valid client requests, as described at the end of the second to last paragraph of the bug description23:44
kota_I got! thanks23:44
kota_for seccurity issue, we should discuss in lp private page in detail.23:45
kota_I'll ack in today's work.23:45
kota_ok, let's move on... which?23:46
kota_I guess we still have a couple of items23:47
kota_versioining and packaging.23:47
kota_timburke, alpha_ori: is there some updates for versioning stuff?23:48
alpha_orikota_: not at the present time.  We're looking at how to move symlink forward.23:49
kota_k23:50
kota_thanks for the information, alpha_ori23:50
kota_and last item is packaging.23:50
kota_this one is brought from me.23:51
kota_so currently swift3 doesn't follow the openstack release cycle23:51
kota_but someone want to follow to support that.23:52
kota_tbh, I don't mind we don't bump the version so frequently.23:53
bill_azswift doesn't follow openstack release cycle either :-)23:53
kota_bill_az: exactly :-)23:53
bill_azI think it is better to not be locked in to 2 times / year - make a release when it makes the most sense23:54
notmynamethat's not fair ;-)23:54
notmynamewe do. we just also release more often23:54
kota_notmyname!23:54
timburkedoesn't matter too much for us (swiftstack); we tend to build our own packages off of master anyway23:54
notmynamemany other openstack projects are also moving to be more swift-like in their releases23:54
kota_make sense23:55
bill_azkota:  is someone asking that we move to openstack release cycle?23:55
kota_no, just my question23:56
bill_azbetter to stay flexible IMO23:56
kota_but originaly it brings up to me by request for bumping to v1.8 2 monthes ago.23:56
kota_someone wants to version tag for making distribution.23:57
bill_azit makes sense to bump version when there is new features - like your acl enhancements23:58
kota_If possible, I want to bring up again to consider bumping after solving the recent security issue we have.23:58
kota_bill_az: yup, but we still have a tons of works for acls, maybe :/23:59

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