Monday, 2020-04-06

mattoliveraumorning00:17
*** diablo_rojo has joined #openstack-swift01:32
*** diablo_rojo has quit IRC01:47
seongsoochomorning02:32
*** mvkr has quit IRC03:15
*** psachin has joined #openstack-swift03:19
*** mvkr has joined #openstack-swift03:28
*** evrardjp has quit IRC04:36
*** evrardjp has joined #openstack-swift04:37
*** zaitcev has quit IRC05:22
AJaegermorning, could I get a second +2 on https://review.opendev.org/717271 to update hacking for swift, please?06:20
patchbotpatch 717271 - swift - Update hacking for Python3 - 5 patch sets06:20
*** ccamacho has joined #openstack-swift06:34
*** rpittau|afk is now known as rpittau06:35
*** ccamacho has quit IRC06:46
*** ccamacho has joined #openstack-swift06:46
*** spsurya_ has joined #openstack-swift07:59
*** markguz_ has quit IRC08:40
*** rcernin has quit IRC09:03
*** camelCaser has quit IRC10:02
*** ccamel has joined #openstack-swift10:02
*** rcernin has joined #openstack-swift10:38
*** tkajinam has quit IRC10:59
*** tkajinam has joined #openstack-swift11:51
*** rcernin has quit IRC12:04
*** rcernin has joined #openstack-swift12:05
*** jv__ has quit IRC12:17
*** jv has joined #openstack-swift12:17
*** tkajinam has quit IRC12:18
mattiahi guys12:20
mattiaI guess those options are better left as they are..12:21
*** rcernin has quit IRC12:52
*** ccamacho has quit IRC13:25
*** ccamacho has joined #openstack-swift13:35
*** psachin has quit IRC14:43
*** manuvakery has joined #openstack-swift15:29
*** gyee has joined #openstack-swift15:38
*** rpittau is now known as rpittau|afk16:08
*** diablo_rojo has joined #openstack-swift16:22
*** evrardjp has quit IRC16:36
*** evrardjp has joined #openstack-swift16:37
clayg@AJaeger can you offer any clarity on W503 & W504 - they can't both be enabled by default can they?16:43
AJaegerclayg: correct, you need to choose whether you care and select one - or don't care and ignore both16:45
AJaegerclayg: I won't make that decision for you ;)16:46
claygis there a default?16:46
AJaegerno16:46
claygit looks like they're both enabled by default - ignoring both is definitely correct given the current lack of preference.16:46
AJaegerI looked at the code, and if you had a consistent style, I would have made the choice...16:47
claygso a project can't effectively use hacking without ignoring one of those rules?  Are you aware of any general preference across openstack?16:48
AJaegerclayg: that comes from flake8 which hacking uses.16:48
AJaegerclayg: no, I'm not aware of a preference across openstack16:48
claygI guess it must have something to do with the default ignore list... if I remove ignore from the config I get lots of errors - but none for W503 or W504 🤔16:57
* clayg well at least we're in good company! from flake8.defaults16:58
claygIGNORE = ("E121", "E123", "E126", "E226", "E24", "E704", "W503", "W504")16:59
AJaegerclayg: exactly, if you remove it, ignore uses  the default you cite above17:04
AJaegerclayg: so, to get all warnings, you need to set ignore to something like "ignore = _" ;)17:04
clayg@AJaeger but you can't do that!  because you HAVE to ignore W503 or W504 or both!?17:05
claygor just never have statements with operators that span lines maybe...17:05
AJaegerclayg: or write different python code that does not trigger either of them ;)17:05
claygheh17:05
AJaegeryou're slightly faster ;)17:05
claygeither way it's funny17:05
claygthanks for the help with the linting updates!17:05
AJaegerindeed17:05
AJaegeryou're welcome! Thanks for reviewing!17:05
*** zaitcev has joined #openstack-swift17:51
*** ChanServ sets mode: +v zaitcev17:51
zaitcevFrom: Tessa Plum <tessa@plum.ovh>18:03
zaitcevOVH TLD18:03
rledisez(just in case of any doubts, .ovh does not mean it comes from the company OVH. It comes from an OVH customer who bought a .ovh domain)18:08
claygrledisez: 😍18:29
zaitcevYeah, I figured the "plum." part was indicative.18:32
zaitcevBut I was very close to telling her "why don't you ask Romain" before I stopped myself.18:32
claygrledisez: how do you roll out updates to log_msg_template?18:48
claygrledisez: it seems like my proxies blow up if I add a field the current version of swift doesn't know about yet18:48
claygrledisez: you just sort of... upgrade everyone and when you're sure for sure you don't have out-of-date node you change the template to have new fields like ttfb?18:48
claygfor me it seems like it be easier to just print a warning and replace it with a `-` and maybe even update our default to include awesome new stuff like ttfb on the end?18:49
*** kukacz has quit IRC18:55
rledisezclayg: yeah, we deploy features when we know they are available. sometime we check the version we are deploying in puppet to check if we should enable a feature or not18:55
claygyeah, i'm writing code to do something similar now18:56
claygI guess it's easier to notice your proxies aren't started than a warning in logs 🤷18:56
*** kukacz has joined #openstack-swift18:57
rledisezexactly. we are able to get a nice view of exceptions occuring, but just a warning, we never check that18:58
*** ccamacho has quit IRC20:15
timburkerledisez, makes me wonder what we can do to improve the signal-to-noise ratio for warnings...20:37
rlediseztimburke: my first step would be to remove everything that are out of control for the operator. I'm mostly thinking of messages like 'Client disconnected without sending enough data'21:34
rledisezit should be an info, not a warning21:34
rledisezthere is many in the proxy-server21:34
timburkeyeah, seems reasonable21:34
*** rcernin has joined #openstack-swift22:30
*** tkajinam has joined #openstack-swift22:42
mattoliveraumorning23:10

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