Tuesday, 2019-06-11

*** rcernin_ has quit IRC00:41
*** rcernin has joined #openstack-swift00:41
*** threestrands_ has joined #openstack-swift01:11
hugokuogood morning!01:13
hugokuoI got a question. Is s3API list-buckets-v2  supported in Swift 2.21 or not?01:14
*** threestrands has quit IRC01:14
*** threestrands_ has quit IRC01:21
*** gkadam_ has quit IRC01:22
*** gkadam_ has joined #openstack-swift01:22
*** gyee has quit IRC01:34
*** gkadam_ has quit IRC01:38
*** gkadam_ has joined #openstack-swift01:38
*** gkadam_ has quit IRC02:11
*** itlinux has joined #openstack-swift02:18
*** sorrison has joined #openstack-swift03:06
*** psachin has joined #openstack-swift03:39
*** gkadam has joined #openstack-swift03:41
*** gkadam has quit IRC04:11
kota_hugokuo: morning04:25
kota_hugokuo: https://github.com/openstack/swift/commit/a2fb335e4b it looks like you're right04:25
kota_the commit appears since 2.21.004:25
*** gkadam has joined #openstack-swift04:28
openstackgerritKota Tsuyuzaki proposed openstack/swift master: Update mailmap for Kota Tsuyuzaki  https://review.opendev.org/66420004:28
hugokuokota_: got it. Let me run some test. It might have potential bug04:30
kota_hugokuo: ok. let me know if you find something04:31
hugokuosure.04:31
*** gkadam has quit IRC04:35
*** m75abrams has joined #openstack-swift04:52
*** e0ne has joined #openstack-swift05:15
*** e0ne has quit IRC05:42
*** threestrands has joined #openstack-swift05:52
*** threestrands has quit IRC05:53
kota_hmmm, I'm looking at the patch 664459, that is interesting because that says as "ERROR: Package 'cryptography' is constrained to 2.0 which is incompatible with the settings Requirement(package='cryptography', location='', specifiers='>=2.0.2', markers='', comment='# BSD/Apache-2.0', extras=frozenset()) from requirements.txt."06:15
patchbothttps://review.opendev.org/#/c/664459/ - swift - Bump up minimum cryptography version - 1 patch set06:15
kota_so it sounds like 2.0 is exactly not >=2.0.2 so we may need >=2.0.0?06:16
*** [diablo]8 has quit IRC06:30
*** [diablo] has joined #openstack-swift06:35
*** ccamacho has joined #openstack-swift06:36
*** pcaruana has joined #openstack-swift06:55
*** rdejoux has joined #openstack-swift07:07
*** rcernin has quit IRC07:08
*** tesseract has joined #openstack-swift07:08
*** e0ne has joined #openstack-swift07:20
*** tkajinam has quit IRC08:05
*** mikecmpbll has joined #openstack-swift08:12
zigoThere doesn't seem to be a way to tell swiftproxy to use a CA file for the S3 tokens, is there?09:03
*** rcernin has joined #openstack-swift09:03
zigotimburke: notmyname: ^09:04
kota_zigo: FWIW, it looks like s3token middleware has the option for certfile, https://opendev.org/openstack/requirements09:53
kota_no, the URL is wrong09:54
kota_wait09:54
kota_https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L599-L60209:54
zigokota_: Cert file, probably, but what I need is ca_file !09:54
kota_zigo, i see, sorry09:54
zigokota_: In my PoC, I've disabled lots of SSL stuff because of that, then I get:09:55
zigo# s3cmd ls09:55
zigoERROR: S3 error: 403 (SignatureDoesNotMatch): The request signature we calculated does not match the signature you provided. Check your key and signing method.09:55
zigoWhere can I go to look from there?09:55
zigoThere's only a 403 in the swiftproxy, nothing more that's helping ...09:55
kota_What auth are you using? keystone? or tempauth?09:56
kota_w/o ssl, s3cmd should work with swift s3api.09:57
kota_AFAIK09:57
kota_One possibility is Swift s3api is not using the Swift API token. what you need for access_key and secret_key is just "your account name" and "your password" to get the token.10:00
kota_to get the token for Swift API.10:00
zigokota_: So, it's note the access_key / secret that I should setup in the .s3cfg ?10:06
kota_zigo: i think so10:06
zigos/note/not/10:06
kota_oh, not.10:06
zigokota_: I'm using keystone.10:10
zigokota_: So, I did "openstack ec2 credentials create" and used that in my .s3cfg.10:10
zigokota_: You're saying I should replace that by my user / pass in Keystone?10:11
kota_zigo: yes, that way. IIRC.10:11
zigoOk, trying then.10:11
kota_does it work?10:17
*** pcaruana has quit IRC10:19
kota_anyway, I'm being offline to get back home. as you know, timburke, notmyname (or other swift contributors) could help you later.10:22
*** tdasilva_ has quit IRC10:25
zigoThanks.11:03
*** pcaruana has joined #openstack-swift11:09
*** rcernin has quit IRC11:43
*** baojg has joined #openstack-swift11:50
*** gkadam has joined #openstack-swift12:03
*** gkadam has quit IRC12:26
*** gkadam has joined #openstack-swift12:27
*** baojg has quit IRC12:27
*** tdasilva has joined #openstack-swift13:17
*** ChanServ sets mode: +v tdasilva13:17
*** BjoernT has joined #openstack-swift13:34
*** gkadam has quit IRC13:41
*** gkadam has joined #openstack-swift13:42
*** BjoernT_ has joined #openstack-swift13:48
*** BjoernT has quit IRC13:48
*** tdasilva has quit IRC13:54
*** tdasilva has joined #openstack-swift13:55
*** ChanServ sets mode: +v tdasilva13:55
*** pcaruana has quit IRC14:04
*** pcaruana has joined #openstack-swift14:30
*** pcaruana has quit IRC14:31
*** pcaruana has joined #openstack-swift14:31
*** itlinux has quit IRC14:55
*** pcaruana has quit IRC15:17
*** gkadam has quit IRC15:22
*** gkadam has joined #openstack-swift15:22
*** tdasilva has quit IRC15:31
*** tdasilva has joined #openstack-swift15:31
*** ChanServ sets mode: +v tdasilva15:31
*** e0ne has quit IRC15:36
*** pcaruana has joined #openstack-swift15:43
*** gkadam has quit IRC15:53
*** gkadam has joined #openstack-swift15:53
*** pcaruana has quit IRC15:55
*** tdasilva_ has joined #openstack-swift15:58
*** ChanServ sets mode: +v tdasilva_15:58
*** tdasilva has quit IRC16:00
*** tesseract has quit IRC16:18
*** tdasilva has joined #openstack-swift16:18
*** ChanServ sets mode: +v tdasilva16:18
*** tdasilva_ has quit IRC16:20
*** ccamacho has quit IRC16:36
*** mikecmpbll has quit IRC16:49
*** pcaruana has joined #openstack-swift16:49
openstackgerritTim Burke proposed openstack/swift master: Bump up minimum cryptography version  https://review.opendev.org/66445916:54
*** itlinux has joined #openstack-swift16:57
*** m75abrams has quit IRC17:05
timburkekota_, sorry about my addition to p 664200 -- i feel as bad as if i called you by the wrong name :-(17:10
patchbothttps://review.opendev.org/#/c/664200/ - swift - Update mailmap for Kota Tsuyuzaki - 3 patch sets17:10
timburkeon p 664459, that was my bad -- i started by looking at which versions had wheels on pypi, updated lower-constraints, verified that it worked, then went to update requirements and saw that we already blacklisted 2.0, so i looked at the patch versions that came after17:12
patchbothttps://review.opendev.org/#/c/664459/ - swift - Bump up minimum cryptography version - 2 patch sets17:12
timburkezigo, yep, looks like we support client certs but not CA certs :-/ we should definitely fix that17:16
timburkeand using the credentials generated by keystone is absolutely the right way to go17:16
timburkeif you add a --debug, you should get some more information17:20
timburkeit will definitely include a line like `DEBUG: SignHeaders: u'GET\n\n\n\nx-amz-date:Tue, 11 Jun 2019 17:19:15 +0000\n/'` that tells you what the client signed17:21
timburkehopefully it will include a line like `DEBUG: ErrorXML: StringToSign: 'GET\n\n\n\nx-amz-date:Tue, 11 Jun 2019 17:19:15 +0000\n/'` that will tell you what the server was expecting and we can compare the two17:21
*** rdejoux has quit IRC17:31
*** headinclouds has quit IRC18:13
*** pcaruana has quit IRC18:39
*** tdasilva has quit IRC18:45
*** psachin has quit IRC20:02
*** gkadam has quit IRC20:04
*** gkadam has joined #openstack-swift20:05
*** tdasilva has joined #openstack-swift20:08
*** ChanServ sets mode: +v tdasilva20:08
*** itlinux has quit IRC21:07
openstackgerritTim Burke proposed openstack/swift master: Ensure get_*_info keys are native strings  https://review.opendev.org/66471021:51
timburkeclayg, ^^^ seem right?21:52
claygi guess... the json.dumps() is somewhere in the memcache client?  Does it really make sense for it to be bytes in py2 and strings in py3 - isn't that just asking middleware code to have to be super smart about py2 vs. py3?21:55
timburkeclayg, yeah -- dumps at https://github.com/openstack/swift/blob/2.21.0/swift/common/memcached.py#L272, loads at https://github.com/openstack/swift/blob/2.21.0/swift/common/memcached.py#L31822:06
timburkemaybe i'm losing some pickle coverage? but that's been deprecated a while...22:06
timburkemiddleware code already has to be smart about 2/3 issues -- the question is really, should these be native strings or wsgi strings? py2 already decodes as utf8 to dumps(), so when we loads() on py3 we're native -- seemed like less work to leave it22:10
*** rcernin has joined #openstack-swift22:10
*** itlinux has joined #openstack-swift22:14
claygbut if get_*_info can return unicode ("native") on py3 - why isn't is reasonable to let it do that on py2 as well?22:34
claygI mean I get that it ... doesn't currently already ... but like why can't we?22:36
claygAlternatively let's go all in on bytes!  py2 already returns bytes - let's make py3 return bytes - strings are myth!!!22:36
*** itlinux has quit IRC22:38
timburkebecause when it was a cache-miss, we go back to resp.headers: https://github.com/openstack/swift/blob/2.21.0/swift/proxy/controllers/base.py#L510-L51322:39
timburke(though that means a wsgi string, so there's already a bug that needs fixing :-/)22:40
timburkesee https://review.opendev.org/#/c/662115/22:40
patchbotpatch 662115 - swift - Fix up how we memcache on py3 - 3 patch sets22:40
claygdoes "native strings" mean bytes on py2 and unicode on py3?22:55
timburkeyep23:00
timburkestr()s23:02
*** tkajinam has joined #openstack-swift23:04
*** BjoernT_ has quit IRC23:09
*** zaitcev has joined #openstack-swift23:41
*** ChanServ sets mode: +v zaitcev23:41
*** ianychoi has quit IRC23:48
*** ianychoi has joined #openstack-swift23:48
*** BjoernT has joined #openstack-swift23:50
*** BjoernT_ has joined #openstack-swift23:52
timburkeso, has everybody tried out storyboard? https://storyboard-dev.openstack.org/#!/project/openstack/swift23:54
*** BjoernT has quit IRC23:54
*** tdasilva_ has joined #openstack-swift23:54
*** ChanServ sets mode: +v tdasilva_23:54
timburkeplease try it out ahead of the meeting tomorrow!23:55
*** tdasilva has quit IRC23:57

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