Friday, 2020-11-20

*** gyee has quit IRC01:01
openstackgerritMerged openstack/swift master: xlo: 5xx while validating first segment is a server error  https://review.opendev.org/76273801:13
openstackgerritPete Zaitcev proposed openstack/swift master: proxy: stop sending frags to PyECLib with a Queue  https://review.opendev.org/70489203:14
*** rcernin has quit IRC03:22
*** rcernin has joined #openstack-swift03:23
*** tkajinam has quit IRC04:40
*** tkajinam has joined #openstack-swift04:40
openstackgerritPete Zaitcev proposed openstack/swift master: proxy: stop sending frags to PyECLib with a Queue  https://review.opendev.org/70489204:58
*** evrardjp has joined #openstack-swift05:33
*** rpittau|afk is now known as rpittau06:52
*** rcernin has quit IRC06:55
*** rcernin has joined #openstack-swift07:04
*** dsariel has joined #openstack-swift07:34
*** rcernin has quit IRC07:53
*** baojg has quit IRC08:06
*** baojg has joined #openstack-swift08:07
*** rcernin has joined #openstack-swift09:33
openstackgerritzhufl proposed openstack/swift master: Fix invalid argument formatting in exception messages  https://review.opendev.org/76353609:34
*** rcernin has quit IRC09:49
*** openstackgerrit has quit IRC10:25
*** rcernin has joined #openstack-swift10:51
*** rcernin has quit IRC10:56
*** dsariel has quit IRC11:38
*** dsariel has joined #openstack-swift11:38
*** dsariel has quit IRC12:31
*** dsariel has joined #openstack-swift12:31
-openstackstatus- NOTICE: The Gerrit service at review.opendev.org will be offline starting at 15:00 UTC (roughly two hours from now) for a weekend upgrade maintenance: http://lists.opendev.org/pipermail/service-announce/2020-October/000012.html13:03
-openstackstatus- NOTICE: The Gerrit service at review.opendev.org will be offline starting at 15:00 UTC (roughly one hour from now) for a weekend upgrade maintenance: http://lists.opendev.org/pipermail/service-announce/2020-October/000012.html14:02
*** rpittau is now known as rpittau|afk14:53
-openstackstatus- NOTICE: The Gerrit service at review.opendev.org is offline for a weekend upgrade maintenance, updates will be provided once it's available again: http://lists.opendev.org/pipermail/service-announce/2020-October/000012.html15:05
zaitcev> Friday in U.S.15:39
zaitcev> Weekend Upgrade Maintenance15:39
zaitcev> Must be Israel and better be up on Sunday15:39
*** dsariel has quit IRC15:42
*** baojg has quit IRC15:46
*** gyee has joined #openstack-swift16:32
acolestimburke: I was just typing comments on https://review.opendev.org/#/c/744270/4 ... but apparently it is the weekend already!17:04
patchbotNo data found for patch 74427017:04
timburke🎉17:04
acolesHowever, in summary, I think the exception you're catching can be caused in 'normal' ssync operation17:05
acolesI wrote a patch to fix that, which I just pushed to gerr....17:05
timburkeyeah, it caught me by surprise, too. i guess i wasn't subscribed to http://lists.opendev.org/cgi-bin/mailman/listinfo/service-announce ?17:05
*** klamath_atx has quit IRC17:24
zaitcevI think I see what Romain's patch to get rid of Queue is doing differently, and it makes it fail in the gate.19:03
timburkeoh, zaitcev: i just found http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018800.html -- might interest you wrt RBAC stuff in case you missed it, too19:11
zaitcevtimburke: thanks19:12
*** klamath_atx has joined #openstack-swift20:22
*** klamath_atx has quit IRC20:48
*** klamath_atx has joined #openstack-swift21:08
*** klamath_atx has quit IRC21:14
*** klamath_atx has joined #openstack-swift21:16
*** klamath_atx has quit IRC21:20
*** klamath_atx has joined #openstack-swift21:21
*** klamath_atx has quit IRC21:27
*** klamath_atx has joined #openstack-swift21:42
*** klamath_atx has quit IRC21:51
*** klamath_atx has joined #openstack-swift21:54
claygwait... TypeError: sendall() argument 1 must be string or buffer, not generator - how do you tell swiftclient to upload a generator?  🤔22:06
zaitcevis this a difference between an iterator and generator22:08
timburkeeh? seems to be working for me: `conn.put_object('c', 'o', contents=gen())` where gen just yields out b'1', b'2', b'3'22:11
zaitcevsee22:11
zaitcevgen() is incocation22:11
zaitcevgen is just naked generator, don't try to pass it22:12
timburkegen is just a function -- type(gen()) is <class 'generator'>22:12
claygcontent_length was messing it up - in my case I knew how much my generator was going to yield so I was hoping it wouldn't do a chunked PUT22:13
zaitcevoh22:14
timburkeah -- i feel like timur has had similar complaints before...22:14
claygyes!  I thought about asking him!  😁22:14
claygI don't see where our code is making the distinction - i think it must actually be down in requests somewhere 🤔22:15
*** ab-a has quit IRC22:17
timburkehttps://github.com/kennethreitz/requests/issues/1648 akes it seem like it might get fixed in requests 3 -- but the last update indicating that was more than 3 years ago and pypi says 2.25.0 is the current version, so...22:23
timburkei suppose i wouldn't mind updating https://github.com/openstack/python-swiftclient/blob/master/swiftclient/utils.py#L319 to be able to take iterables (in addition to the file-likes it expects now), but there's always the issue of discoverability22:25
*** ab-a has joined #openstack-swift22:28
*** klamath_atx has quit IRC23:34
*** klamath_atx has joined #openstack-swift23:35

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