Wednesday, 2017-01-25

*** yolanda has quit IRC00:45
*** yolanda has joined #openstack-shade00:51
*** yolanda has quit IRC00:53
*** yolanda has joined #openstack-shade01:00
*** yolanda has quit IRC01:04
*** jamielennox is now known as jamielennox|away05:06
*** yfried has joined #openstack-shade05:27
*** yfried has quit IRC05:31
*** abregman has joined #openstack-shade05:55
*** yfried has joined #openstack-shade06:27
*** yolanda has joined #openstack-shade06:51
*** yfried has quit IRC07:00
*** yfried has joined #openstack-shade07:04
*** yfried has quit IRC07:22
*** yfried has joined #openstack-shade07:30
*** yfried has quit IRC07:46
*** abregman has quit IRC08:32
*** Matias has quit IRC08:33
*** Matias has joined #openstack-shade08:36
*** Matias has quit IRC08:41
*** abregman has joined #openstack-shade08:47
*** Matias has joined #openstack-shade08:55
*** Matias has joined #openstack-shade08:55
*** abregman has quit IRC08:58
*** abregman has joined #openstack-shade09:00
*** abregman has quit IRC09:53
*** openstackgerrit has quit IRC10:17
*** abregman has joined #openstack-shade10:34
*** yfried has joined #openstack-shade10:50
*** dfflanders has quit IRC10:59
*** yfried has quit IRC11:06
*** yfried has joined #openstack-shade11:08
*** yfried has quit IRC11:32
*** yfried has joined #openstack-shade11:42
*** openstackgerrit has joined #openstack-shade12:07
openstackgerritMonty Taylor proposed openstack-infra/shade: Use port list to find missing floating ips  https://review.openstack.org/42408712:07
*** yfried has quit IRC12:38
-openstackstatus- NOTICE: Gerrit is going to be restarted due to slow performance12:47
-openstackstatus- NOTICE: Gerrit has been successfully restarted12:50
*** yfried has joined #openstack-shade12:52
openstackgerritMonty Taylor proposed openstack-infra/shade: Use port list to find missing floating ips  https://review.openstack.org/42408713:00
*** yfried has quit IRC13:04
mordredShrews: I has added test (and yes, the test fails when I don't fix that bug you found)13:07
Shrewsmordred: yeah. just left you a comment13:08
mordredooh, look, you're awake!13:08
mordredShrews: yah - SO not needed that it was also not working :)13:09
Shrewsnot sure "awake" is the correct word, but i am present, at least13:10
mordredShrews: dude. I woke up at 5am europe time to get on a 7am flight and am currently over the atlantic. I don't know that I even exist13:11
Shrewsyou're still in the future, so technically you DON'T exist yet13:12
Shrewsat least not in my timeline13:13
*** yfried has joined #openstack-shade13:13
Shrewsmordred: so, i guess we should remove that comment now since it doesn't make sense, yeah?13:13
mordreddid I not?13:14
mordredgah13:14
Shrewsnope13:14
Shrewsthat's why i commented  :)13:14
openstackgerritMonty Taylor proposed openstack-infra/shade: Use port list to find missing floating ips  https://review.openstack.org/42408713:14
Shrewsmordred: but i think roberto also had a valid point in PS213:15
Shrewsmordred: you raise a new exception that gets ignored13:15
mordredoh - right. thanks for reminding me13:15
openstackgerritMonty Taylor proposed openstack-infra/shade: Use port list to find missing floating ips  https://review.openstack.org/42408713:16
mordredShrews: I've never seen that scenario, so it was a sort of crazy exception anyway13:17
mordredShrews: changed it to a debug log13:17
mordredif anybody complains about their logs being filled with tha tmessage, we can handle it :)13:17
*** yfried has quit IRC14:08
*** flvszch50 has quit IRC14:18
*** gouthamr has joined #openstack-shade14:31
*** abregman has quit IRC15:59
*** abregman has joined #openstack-shade16:01
morganmordred: ++ good plan16:08
mordredShrews: my change to change the exception into a log statement sucked16:29
*** abregman has quit IRC16:40
morganmordred: what did you do?17:09
morganor why did it suck?17:09
morganmordred: also FTR, .format is *way* slower than %17:09
morganand log doesn't need .format or %, the logger will process: log.debug('blah %s', <string>)17:10
sigmavirusmordred: str.format is getting better in newer versions of Python fwiw17:11
sigmavirusshould be better even in Py3517:11
morgansigmavirus: it is.17:12
morgansigmavirus: it still isn't *great*17:12
morgansigmavirus: i expect it to be on par somewhere in py36 or 3717:12
morgan;)17:12
sigmavirusI doubt it'll ever get equal performance17:12
morgansigmavirus: but there is no reason to .format when passing to a logger17:12
sigmavirusthe implementations are a bit too diffrent17:13
sigmavirusmorgan: oh absolutely17:13
morgan"on par" = not orders of magnitude difference17:13
sigmavirusWasn't disagreeing with that :)17:13
morganlike it is in 27/pre-3517:13
morgan^_^17:13
morgansigmavirus: also Hey! :)17:13
morganlongtime no see/chat17:13
sigmavirusHi!17:13
sigmavirusYeah I've been head's down elsewhere17:13
morganwell, welcome back!17:14
sigmavirusThanks :)17:15
sigmavirusNot quite back, so much as peeking into channels17:15
*** yolanda has quit IRC17:18
*** yolanda has joined #openstack-shade17:41
*** yolanda has quit IRC18:06
*** cdent has joined #openstack-shade18:21
*** yolanda has joined #openstack-shade18:40
*** Shrews has quit IRC18:46
*** Shrews has joined #openstack-shade18:47
*** cdent has quit IRC19:03
*** abregman has joined #openstack-shade19:32
*** abregman has quit IRC20:13
*** abregman has joined #openstack-shade20:13
*** abregman has quit IRC20:28
*** jamielennox|away has quit IRC20:46
*** jamielennox|away has joined #openstack-shade20:56
*** jamielennox|away is now known as jamielennox20:56
mordredmorgan: so ... I find {foo} more readable than %s personally - and would rather readable where we can have it ... if we hit places where we're having performance issues, I'd rather we profile and prove out that there are issues before optimizing away readablity22:07
mordredI mean, not that the code is the world's cleanest :)22:07
morgani use %(foo)s22:08
morganand then {'foo': <value>{22:08
morganin the substitution22:08
morgani wasn't implying we should use %s %s %s %s and hope it made sense ;)22:09
mordredsure, that's an option - but it still reads mor3 clunky to me - and the other things we;re doing are bazillions of external HTTP calls which I imagine are going to be where all th ecost is22:09
mordredmorgan: :)22:09
mordredreplace all with %s !!! :)22:09
morganiirc you can do: log.debug('%(foo)s %(bar)s', foo=value, bar=value)22:09
mordredyah - and I actually should do that for log calls - the format call to log _is_ a mistake22:10
morgan:)22:11
* morgan shrugs22:11
morganwas mostly a nit22:11
morgani wouldn't -1 or anything based on that22:11
morgan(in keystone... I'd be more "dude... follow the other style we use everywhere else") but22:11
mordredwe actually landed a patch about a month ago to not do formats to log calls ... so it's a good catch :)22:11
morganin shade, as long as the info is there and the code is managable/readable, win22:11
mordredso it's both good, _and_ in keeping with the prevailing style for log calls22:12
* morgan nods.22:12
mordredmorgan: btw - downside of travelling to europe with a european cable for laptop rather than an adapter - when your transatlantic flight power doens't work - you don't have any way to plug in at the airport22:13
morganouch22:13
morganyeah.22:13
morganmordred: time to connect the android phone to the wifi in flight/airport and then code from it! :P22:13
mordred:)22:14
openstackgerritMonty Taylor proposed openstack-infra/shade: Use port list to find missing floating ips  https://review.openstack.org/42408722:14
clarkbmordred: I once fixed a bug and pushed a patch into production from a MAX train ssh'd into a server with connectbot editing files with vim22:18
clarkbdo not recommend :P22:18
mordredclarkb: I  assume that's your normal work environment22:23
clarkbmordred: I actually have a proper office with a desk and keyboard (two actually because i am weird) and monitor22:24
*** gouthamr has quit IRC22:24
clarkbI have been told that my das keyboard and model M are too noisy when twins are napping so I have an hhkb plugged in that I switch to during their naps22:24
mordredhah. nice22:25
mordredmorgan: does that look better?22:25
morganmordred: looks way better!22:45
morganhhkb is cherry brown or similar "quiet clicky" vs blue (das ?)22:45
morganclarkb: ^22:45
clarkbmorgan: no its a 20 year old membrane switch keyboard22:46
clarkbbut its tiny with programmable dip switch meta keys so has quite a following (I never really got into it)22:46
clarkbbut found one for cheap22:47
morganhehe nice22:47
morganand clearly "quiet" compared to the mechanicals22:47
clarkboh hhkb does put control in the right location though :)22:55
*** thingee has quit IRC23:31

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