*** dct360 has quit IRC | 02:46 | |
morgan | mordred: lol | 02:52 |
---|---|---|
morgan | i think i'm gonna sit back and drink sparkling water before I make the last few "unpack things cause I moved" issues go away | 02:53 |
morgan | just in time to unpack more things when Brie gets her stuff here :P | 02:53 |
*** gouthamr has quit IRC | 03:44 | |
*** yfried has joined #openstack-shade | 06:08 | |
*** yfried has quit IRC | 06:13 | |
*** abregman has joined #openstack-shade | 06:55 | |
*** yfried has joined #openstack-shade | 07:43 | |
*** iogg has joined #openstack-shade | 07:58 | |
*** yfried has quit IRC | 08:25 | |
*** yfried has joined #openstack-shade | 08:26 | |
*** abregman has quit IRC | 09:10 | |
*** abregman has joined #openstack-shade | 09:16 | |
*** openstackgerrit has quit IRC | 09:32 | |
*** yfried has quit IRC | 10:25 | |
*** cdent has joined #openstack-shade | 10:42 | |
*** iogg has quit IRC | 11:29 | |
*** cdent has quit IRC | 11:48 | |
mordred | \o/ | 12:05 |
*** cdent has joined #openstack-shade | 12:16 | |
*** iogg has joined #openstack-shade | 12:59 | |
*** gouthamr has joined #openstack-shade | 13:15 | |
*** iogg has quit IRC | 13:15 | |
*** abregman is now known as abregman|mtg | 13:34 | |
*** abregman|mtg has quit IRC | 13:34 | |
*** gouthamr has quit IRC | 13:42 | |
*** gouthamr has joined #openstack-shade | 13:43 | |
*** openstackgerrit has joined #openstack-shade | 13:44 | |
openstackgerrit | Monty Taylor proposed openstack-infra/shade master: Change request_id logging to match nova format https://review.openstack.org/434916 | 13:44 |
*** iogg has joined #openstack-shade | 13:47 | |
openstackgerrit | Monty Taylor proposed openstack-infra/shade master: Change request_id logging to match nova format https://review.openstack.org/434916 | 13:48 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade master: Actually normalize nova usage data https://review.openstack.org/434481 | 13:48 |
*** jordanP has joined #openstack-shade | 13:48 | |
*** abregman has joined #openstack-shade | 14:09 | |
*** dct360 has joined #openstack-shade | 14:20 | |
openstackgerrit | Merged openstack-infra/shade master: Fix several concurrent shade gate issues https://review.openstack.org/434428 | 15:14 |
openstackgerrit | Jordan Pittier proposed openstack-infra/shade master: attach_volume should always return a vol attachment. https://review.openstack.org/434964 | 15:16 |
jordanP | btw mordred I wanted to say that both removing dependencies on python-*client and the usage of requests_mock is awesome. It's going to pay big times soon | 15:17 |
mordred | jordanP: ++ I can't wait for both to be done | 15:18 |
mordred | jordanP: it turns out the client libs make things way harder than they need to be :) | 15:18 |
jordanP | yeah, I can imagine that's not the most sexy refactoring ever, but much needed | 15:18 |
mordred | also - patch looks great - looking forward to seeing how many of the functional tests fail because of the volume detach thing | 15:18 |
jordanP | I ran them locally already | 15:19 |
mordred | I mean the terrible race bug thing | 15:19 |
* mordred crosses fingers it just magically goes away | 15:19 | |
jordanP | ah right.... I was trying to reproduce it but I had to fight with attach_volume and detach_volume first :) | 15:19 |
openstackgerrit | Jordan Pittier proposed openstack-infra/shade master: attach_volume should always return a vol attachment. https://review.openstack.org/434964 | 16:10 |
*** abregman has quit IRC | 16:13 | |
*** jordanP has quit IRC | 16:57 | |
*** cdent has quit IRC | 17:54 | |
*** iogg has quit IRC | 17:55 | |
*** cdent has joined #openstack-shade | 18:32 | |
*** cdent has quit IRC | 18:50 | |
*** cdent has joined #openstack-shade | 18:50 | |
openstackgerrit | Monty Taylor proposed openstack-infra/shade master: Change request_id logging to match nova format https://review.openstack.org/434916 | 18:54 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade master: Actually normalize nova usage data https://review.openstack.org/434481 | 18:54 |
morgan | mordred: how are we looking at fixing gate awkwardness stuff? | 19:12 |
morgan | mordred: i ask because i want to poke at things but happy to look if you need eyes at something | 19:12 |
clarkb | morgan: I ended up reviewing a change to fix the cirros image finding and nova microversions | 19:15 |
clarkb | morgan: if it hasn't merged yet that could probably use review | 19:15 |
mordred | morgan: gate awkwardness should be fixed/merged | 19:23 |
mordred | morgan: but the race-condition bug of "sometimes volumes don't detach all the way and the test fails when we try to delete the volume" in the functional test is still sometimes happening | 19:24 |
mordred | morgan: I added a wait loop - but that didn't fix it | 19:24 |
morgan | mordred: huh | 19:26 |
morgan | mordred: weeeeiiiiirrrrdddd | 19:26 |
mordred | yah | 19:27 |
mordred | morgan: oh! | 19:28 |
mordred | morgan: I did not actually land that patch | 19:28 |
mordred | morgan: https://review.openstack.org/#/c/432770/ | 19:28 |
mordred | clarkb: ^^ if you have a sec | 19:28 |
morgan | LOL | 19:28 |
morgan | LGTM. | 19:29 |
morgan | pretty straight forward and has cinder folks support | 19:29 |
mordred | yah | 19:30 |
mordred | if we see the problem after this lands, then further investigation may be warranted | 19:30 |
morgan | mordred: ftr: i can only +1 in shade (so can't push that patch through for you) | 19:49 |
mordred | morgan: :) that's ok - I can | 19:50 |
morgan | mordred: hhee i know, just letting you know not to wait for me to +2/+A it | 19:50 |
morgan | :P | 19:50 |
*** gouthamr has quit IRC | 20:24 | |
openstackgerrit | Merged openstack-infra/shade master: Wait for volumes to detach before deleting them https://review.openstack.org/432770 | 20:31 |
* morgan rechecks some patches | 20:33 | |
mordred | \o/ | 20:34 |
mordred | morgan: one of your patches I think has a legitimate fail | 20:34 |
mordred | morgan: like, py35 failed | 20:34 |
morgan | mordred: hm. | 20:39 |
mordred | morgan: btw - requests_mock has helped me find places where unicode handling in python 3 makes me want to die | 20:40 |
morgan | mordred: oomkiller | 20:40 |
morgan | 2017-02-16 17:42:57.720329 | [ 643.686268] Out of memory: Kill process 1446 (python) score 967 or sacrifice child | 20:40 |
morgan | 2017-02-16 17:42:57.720393 | [ 643.689871] Killed process 1446 (python) total-vm:7796916kB, anon-rss:7699784kB, file-rss:1636kB | 20:40 |
mordred | woot! | 20:40 |
morgan | lets see if it is happier with the recheck. might be transient oom issue | 20:40 |
morgan | since the subsequent patch didn't fail | 20:40 |
*** gouthamr has joined #openstack-shade | 20:41 | |
morgan | oh it did | 20:41 |
morgan | well. crap on a stick | 20:41 |
morgan | hmmmmmmmmm | 20:41 |
morgan | am i reading that right... 8GB of data? | 20:41 |
morgan | in total-vm? | 20:42 |
morgan | *blink* | 20:42 |
morgan | oh. uh | 20:42 |
morgan | hmmm.. | 20:42 |
morgan | mordred: i bet we're leaking memory in requests_mock | 20:43 |
morgan | there is no way ptyhon should be consuming ~7GB of total-vm there | 20:43 |
mordred | morgan: WOW | 20:43 |
morgan | LOL and it doesn't tell me which test caused the failure. | 20:45 |
morgan | *facepalm* | 20:45 |
morgan | https://www.irccloud.com/pastebin/m0d95Ot7/ | 20:45 |
morgan | I think i want to implement the pretty_tox wrapper for shade | 20:46 |
morgan | so we can see tests as they are ebing run | 20:46 |
mordred | morgan: mtreinish pointed me at stestr recently - have you seen it? | 20:50 |
mordred | morgan: (it's a side project he's been hacking on) | 20:50 |
morgan | ostestr? or stestr? | 20:51 |
mordred | https://github.com/mtreinish/stestr | 20:51 |
morgan | oh interesting | 20:51 |
openstackgerrit | Morgan Fainberg proposed openstack-infra/shade master: DNM- Pretty Tox addition to debug memory issues in py35 https://review.openstack.org/435107 | 20:52 |
morgan | mordred: ftr, zuul passed py35 on the recheck, but the shade coverage failed and py27 failed on the other one | 20:54 |
morgan | something is definitely leaking memory | 20:54 |
morgan | and bad | 20:54 |
mordred | morgan: _excellent_ | 20:54 |
morgan | lets see what pretty tox comes up with so i know what test it is | 20:54 |
morgan | i guess i could run a trimmed down VM limit locally too | 20:55 |
morgan | oooh think i found it | 20:56 |
mordred | morgan: yeah? | 20:56 |
* mordred excited | 20:57 | |
morgan | yeah waiting for a timeout | 20:57 |
morgan | but a test is spinning | 20:57 |
morgan | mordred: test_list_images_paginated | 21:00 |
morgan | mordred: spins on things like this for ever | 21:00 |
morgan | https://www.irccloud.com/pastebin/i1swPbO9/ | 21:00 |
morgan | but not always | 21:01 |
mordred | morgan: ooh - so like something in the registraiton isn't registering a new response for the pagination calls maybe? so it's just always matching and sending back the call which says that there is more pagination to be fetched? | 21:01 |
morgan | maybe | 21:02 |
mordred | yah - check it ... | 21:02 |
mordred | the payload returned for that | 21:02 |
mordred | lists a next url | 21:02 |
mordred | which is the same as the url that was fetched in that call | 21:02 |
morgan | this was likely to fail regardless. | 21:03 |
mordred | GET /v2/images?marker=91315d6c-a11a-4978-8309-31521bcf4ec6 ... next: /v2/images?marker=91315d6c-a11a-4978-8309-31521bcf4ec6 | 21:03 |
morgan | afaict | 21:03 |
morgan | it *sometimes* passes | 21:03 |
morgan | which is weird... | 21:03 |
morgan | because requests_mock should be super consistent | 21:03 |
morgan | sometimes it timesout | 21:04 |
mordred | yah ... that's worrying | 21:05 |
mordred | also - requests_mock is one of those things that oh-man if there's a bug finding it will be _funnnnnnnn_ | 21:05 |
morgan | yeah. | 21:05 |
morgan | well at least i know how the matchers work now =/ | 21:05 |
morgan | :P | 21:05 |
morgan | are we missing a mock that says we hit the end? | 21:07 |
morgan | it's like "next" is still showing up over and over and over | 21:09 |
morgan | *blink* | 21:09 |
morgan | wtf... | 21:09 |
morgan | oooooh | 21:09 |
morgan | mordred: i think that is missing complete_qs=True | 21:09 |
mordred | morgan: I agree with your assessment | 21:11 |
mordred | morgan: I am confused how this ever worked | 21:11 |
morgan | right?> | 21:11 |
morgan | i'm looking at the diff | 21:11 |
morgan | can't see how it ever worked | 21:11 |
morgan | yeah w/o complete_qs=True it spins | 21:11 |
morgan | and timesout | 21:11 |
morgan | wtf. | 21:12 |
morgan | ooh | 21:12 |
morgan | register_uri was much much simpler | 21:12 |
morgan | register_uris leverages a lot more of the power of request_mock | 21:12 |
morgan | and does bundled response_lists | 21:12 |
morgan | etc | 21:12 |
mordred | ah - yah | 21:12 |
mordred | that makes sense | 21:12 |
morgan | previously you just overwrite it | 21:12 |
morgan | i actually encode the QS as part of the key | 21:12 |
morgan | so we don't overwrite it | 21:13 |
morgan | it gets far far pickier about matching | 21:13 |
morgan | ok easy to fix, but anywhere we use QS and we care, we need complete_qs=True now | 21:13 |
mordred | also - let's be honest - that's a LOT of conversions without any bugs in request_uris showing up | 21:13 |
morgan | vs a bit slopier | 21:13 |
mordred | ++ | 21:13 |
mordred | also - still doesn't explain how this test could sometimes pass | 21:13 |
morgan | i think the matchers are a bit sloppy | 21:13 |
mordred | but maybe the answer to that is *shrug* | 21:14 |
morgan | it's likely a bug in requests_mock | 21:14 |
* morgan fixes | 21:14 | |
openstackgerrit | Morgan Fainberg proposed openstack-infra/shade master: Convert use of .register_uri to .register_uris https://review.openstack.org/434516 | 21:15 |
morgan | ^ | 21:15 |
morgan | that should fix it | 21:15 |
openstackgerrit | Morgan Fainberg proposed openstack-infra/shade master: Convert test_object to use .register_uris https://review.openstack.org/434532 | 21:16 |
morgan | mordred: i think register_uris should look for '?' in the URI and error if complete_qs is not explicitly passed | 21:16 |
*** cdent has quit IRC | 21:16 | |
mordred | morgan: ++ | 21:16 |
mordred | morgan: btw - I updated tests to include rest call logging for novaclient (they pass in the novaclient logger to the Session so you have to configure logging for novaclient to get the ksa Session logging) | 21:16 |
morgan | so someone has to either say complete_qs=False (and damn near know wtf they are doing) | 21:16 |
morgan | or complete_qs=True | 21:16 |
mordred | yup | 21:16 |
morgan | i'll get a patch up for register_uris that does that | 21:17 |
*** iogg has joined #openstack-shade | 21:23 | |
morgan | mordred: tbh, i'm fairly pleased that we hit exactly 1 error in register_uris. | 21:26 |
openstackgerrit | Morgan Fainberg proposed openstack-infra/shade master: Require `complete_qs` if a query_string is in the mocked uri https://review.openstack.org/435127 | 21:36 |
morgan | mordred: ^ | 21:36 |
morgan | mordred: though i think there is an edge case in register_uris, if you register a URI with complete_qs=False after you register a uri (same one) with complete_qs=True... i'm thinking it might result in weird behavior | 21:39 |
morgan | mordred: but we can cross that bridge if it happens, i don't expect it to tbh | 21:39 |
morgan | we could also just default to complete_qs=True unless specifically set to false | 21:40 |
morgan | [might be the most correct behavior for our use] | 21:40 |
mordred | morgan: yah - honestly, that's not a terrible idea | 21:43 |
mordred | morgan: I find it hard to imagine us needing to set it to False ever | 21:43 |
mordred | morgan: heya - sdague has a question in #openstack-dev I think you might be a good human to answer | 21:57 |
mordred | morgan: 21:56:00 sdague | stevemar / mordred / lbragstad is there some existing classes to easily fake out keystoneauth1 for testing it in other projects? | 21:57 |
mordred | morgan: nm - I got jamielennox in on it | 21:59 |
morgan | mordred: hehe, stopped lurking in -dev because it never really had any conversation in it | 22:01 |
mordred | morgan: amazingly enough it's been chatty like the last week or so | 22:01 |
*** gouthamr has quit IRC | 22:15 | |
*** iogg has quit IRC | 22:42 | |
*** jamielennox is now known as jamielennox|away | 23:02 | |
*** cdent has joined #openstack-shade | 23:04 | |
*** jamielennox|away is now known as jamielennox | 23:14 | |
openstackgerrit | Merged openstack-infra/shade master: Actually normalize nova usage data https://review.openstack.org/434481 | 23:20 |
*** cdent has quit IRC | 23:47 | |
openstackgerrit | Merged openstack-infra/shade master: Change request_id logging to match nova format https://review.openstack.org/434916 | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!