*** openstack has joined #openstack-qa | 15:45 | |
*** akshai has joined #openstack-qa | 15:46 | |
*** asselin has quit IRC | 15:46 | |
*** ngoracke has joined #openstack-qa | 15:46 | |
*** flaper87 has joined #openstack-qa | 15:46 | |
*** rfolco has joined #openstack-qa | 15:47 | |
*** rbrndt has joined #openstack-qa | 15:48 | |
*** lezbar has joined #openstack-qa | 15:48 | |
*** e0ne has joined #openstack-qa | 15:48 | |
*** nicholasgoracke has quit IRC | 15:49 | |
*** salv-orlando has joined #openstack-qa | 15:49 | |
*** gfidente has joined #openstack-qa | 15:49 | |
*** gfidente has quit IRC | 15:49 | |
*** gfidente has joined #openstack-qa | 15:49 | |
*** dims has joined #openstack-qa | 15:49 | |
openstackgerrit | Dmitry Guryanov proposed openstack-dev/devstack: fix installing into venv https://review.openstack.org/251444 | 15:52 |
---|---|---|
*** corvus is now known as jeblair | 15:52 | |
*** amotoki has quit IRC | 15:53 | |
*** agireud has joined #openstack-qa | 15:53 | |
*** ajmiller has joined #openstack-qa | 15:56 | |
*** asselin has joined #openstack-qa | 15:58 | |
*** sdague has joined #openstack-qa | 15:59 | |
*** mriedem has joined #openstack-qa | 16:00 | |
*** artom has joined #openstack-qa | 16:00 | |
*** bkopilov has quit IRC | 16:00 | |
*** yfried_ has quit IRC | 16:01 | |
*** e0ne has quit IRC | 16:02 | |
*** sabeen1 has joined #openstack-qa | 16:02 | |
*** hop|2 has quit IRC | 16:03 | |
*** yfried_ has joined #openstack-qa | 16:03 | |
*** maht has joined #openstack-qa | 16:04 | |
*** zhangjn has quit IRC | 16:05 | |
*** kevinbenton_ has quit IRC | 16:07 | |
*** kevinbenton has joined #openstack-qa | 16:07 | |
*** markvan_ is now known as markvan | 16:10 | |
*** yfried_ has quit IRC | 16:10 | |
*** jordan_ has joined #openstack-qa | 16:11 | |
*** anshul has quit IRC | 16:12 | |
*** jdandrea has quit IRC | 16:12 | |
*** jordanP has quit IRC | 16:15 | |
*** nadya_ has quit IRC | 16:15 | |
*** openstackstatus has joined #openstack-qa | 16:16 | |
*** ChanServ sets mode: +v openstackstatus | 16:16 | |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add support to subunit2sql cli to specify a run_at time https://review.openstack.org/251456 | 16:19 |
mtreinish | SpamapS: ^^^ that would've been a good thing to catch before we stopped the subunit gearman worker :) | 16:19 |
*** jdandrea has joined #openstack-qa | 16:20 | |
*** hemnafk is now known as hemna | 16:20 | |
*** jlanoux has joined #openstack-qa | 16:20 | |
*** hop|2 has joined #openstack-qa | 16:25 | |
*** aopincar has joined #openstack-qa | 16:32 | |
*** mwagner_lap has quit IRC | 16:35 | |
*** mwagner_lap has joined #openstack-qa | 16:35 | |
openstackgerrit | Merged openstack-dev/devstack: Add discussion of LIBS_FROM_GIT https://review.openstack.org/248715 | 16:38 |
*** achanda_ has quit IRC | 16:41 | |
openstackgerrit | Daniel Mellado proposed openstack/tempest: [WIP] Split out keystone tenant client https://review.openstack.org/248170 | 16:41 |
*** malini has joined #openstack-qa | 16:43 | |
*** hop|2 has quit IRC | 16:44 | |
*** malini1 has joined #openstack-qa | 16:45 | |
openstackgerrit | Martin Hickey proposed openstack-dev/devstack: Neutron: Use generated configuration files if available https://review.openstack.org/204722 | 16:46 |
mtreinish | timothyb89: I don't think the 3rd page is working quite right: http://status.openstack.org/openstack-health/#/job/gate-tempest-dsvm-full | 16:47 |
mtreinish | I was trying to test the new db schema to see if the page is useable now | 16:47 |
mtreinish | and it doesn't look like it's even trying to load anything | 16:47 |
*** sshnaidm has quit IRC | 16:47 | |
*** malini has quit IRC | 16:47 | |
openstackgerrit | Daniel Mellado proposed openstack/tempest: Split out keystone tenant client https://review.openstack.org/248170 | 16:53 |
*** armax has joined #openstack-qa | 16:54 | |
openstackgerrit | Dmitry Ratushnyy proposed openstack/tempest: Add scenario tests for arp poisoning. https://review.openstack.org/248355 | 16:55 |
*** achanda has joined #openstack-qa | 16:59 | |
*** shardy has quit IRC | 16:59 | |
*** markvan has quit IRC | 16:59 | |
*** coolsvap has quit IRC | 17:01 | |
*** markvan has joined #openstack-qa | 17:02 | |
*** maht has quit IRC | 17:05 | |
*** coolsvap has joined #openstack-qa | 17:05 | |
*** krtaylor has joined #openstack-qa | 17:06 | |
*** maht has joined #openstack-qa | 17:08 | |
*** salv-orl_ has joined #openstack-qa | 17:08 | |
mtreinish | SpamapS: do you think we should ask to have the tuning suggestions you made last week applied now that the migration is finished? | 17:09 |
*** salv-orlando has quit IRC | 17:11 | |
*** maht has quit IRC | 17:12 | |
*** boris-42_ has quit IRC | 17:15 | |
*** Swami has joined #openstack-qa | 17:17 | |
*** malini1 has left #openstack-qa | 17:17 | |
openstackgerrit | Merged openstack-dev/devstack: Use autogenerated flavor id https://review.openstack.org/246788 | 17:25 |
*** thingee has joined #openstack-qa | 17:29 | |
*** nic has joined #openstack-qa | 17:31 | |
*** jlanoux has quit IRC | 17:36 | |
*** austin81 has joined #openstack-qa | 17:37 | |
*** ifarkas has quit IRC | 17:41 | |
openstackgerrit | Stephen Lowrie proposed openstack/qa-specs: List Plugins https://review.openstack.org/247575 | 17:44 |
*** edmondsw has joined #openstack-qa | 17:44 | |
SpamapS | mtreinish: no, I think we should start running a slow query log and optimizing queries. That tuning will pale in comparison | 17:47 |
mtreinish | SpamapS: do you know how to get the slow query log with trove? | 17:48 |
SpamapS | mtreinish: iirc you can configure mysql to write it to a table as of 5.6 | 17:49 |
*** ylobankov has quit IRC | 17:49 | |
openstackgerrit | Vasyl Saienko proposed openstack-dev/devstack: refactor ironic enroll-node code https://review.openstack.org/248048 | 17:50 |
openstackgerrit | Vasyl Saienko proposed openstack-dev/devstack: Update VM network connection https://review.openstack.org/249717 | 17:50 |
openstackgerrit | Vasyl Saienko proposed openstack-dev/devstack: Allow to build user image with DIB https://review.openstack.org/247513 | 17:50 |
openstackgerrit | Vasyl Saienko proposed openstack-dev/devstack: Add configure_provision_network function https://review.openstack.org/248074 | 17:50 |
openstackgerrit | Vasyl Saienko proposed openstack-dev/devstack: Add ironic documentation https://review.openstack.org/250906 | 17:50 |
mtreinish | SpamapS: oh, I didn't realize that. That'll make it easier to use | 17:53 |
*** achanda has quit IRC | 17:54 | |
*** dimtruck is now known as zz_dimtruck | 17:55 | |
*** salv-orl_ has quit IRC | 17:56 | |
*** salv-orlando has joined #openstack-qa | 17:57 | |
jordan_ | oomichi_, you here ? | 17:57 |
jordan_ | (humm it might be night time in japan..) | 17:57 |
*** bkopilov has joined #openstack-qa | 17:57 | |
SpamapS | mtreinish: http://dev.mysql.com/doc/refman/5.6/en/log-destinations.html | 17:59 |
SpamapS | mtreinish: I probably need to move on to not-subunit2sql things soon ;) | 17:59 |
mtreinish | SpamapS: heh, that's if I allow you to :) | 18:00 |
SpamapS | mtreinish: regarding the other-metadata thing with the subquery.. I think we can redo that query to be a lot faster. | 18:00 |
mtreinish | I do owe you counter stuff reviews at some point soon :) | 18:00 |
SpamapS | mtreinish: but.. only in mysql-specific-land ;) | 18:00 |
SpamapS | mtreinish: curse you! | 18:01 |
SpamapS | ;) | 18:01 |
mtreinish | heh, lets just case it :) | 18:01 |
mtreinish | I don't think that'll be a common query on sqlite | 18:01 |
*** salv-orlando has quit IRC | 18:01 | |
SpamapS | mtreinish: mysql has a thing called group_concat.. so you don't have to get all of those rows out, you just get one, with a comma-separated list of keys and a comma-separated list of values | 18:01 |
mtreinish | but I also don't expect people to put enough data in a local sqlite db to make any of the queries particularly slow :) | 18:01 |
*** zz_dimtruck is now known as dimtruck | 18:02 | |
SpamapS | might not be enough here though, thats a sub-second improver usually | 18:02 |
*** nadya_ has joined #openstack-qa | 18:03 | |
*** rossella_s has quit IRC | 18:03 | |
SpamapS | mtreinish: this is one where we might also gain something by flipping the subquery direction | 18:05 |
mtreinish | SpamapS: fwiw, I knew that query was bad when I wrote it, I just couldn't come up with another way to get all the data we needed in one go without the subquery | 18:05 |
*** vgridnev has joined #openstack-qa | 18:07 | |
*** ylobankov has joined #openstack-qa | 18:07 | |
openstackgerrit | Merged openstack-dev/devstack: Single call for 'nova flavor-list' https://review.openstack.org/250479 | 18:08 |
*** aix has quit IRC | 18:09 | |
*** harlowja has joined #openstack-qa | 18:10 | |
*** dtantsur is now known as dtantsur|afk | 18:11 | |
*** edmondsw has quit IRC | 18:11 | |
SpamapS | mtreinish: no, subselect reversal is far worse in this case. | 18:13 |
*** adam_g has quit IRC | 18:14 | |
*** adam_g has joined #openstack-qa | 18:15 | |
*** adam_g has quit IRC | 18:15 | |
*** adam_g has joined #openstack-qa | 18:15 | |
*** sabeen1 has quit IRC | 18:15 | |
openstackgerrit | Merged openstack/stackviz: Add summary generating functionality to stackviz-export. https://review.openstack.org/248951 | 18:16 |
*** timothyb89 has quit IRC | 18:19 | |
*** VanL_ has quit IRC | 18:19 | |
*** timothyb89 has joined #openstack-qa | 18:19 | |
*** artom has quit IRC | 18:20 | |
*** fungi has quit IRC | 18:20 | |
*** nic has quit IRC | 18:20 | |
*** nadya_ has quit IRC | 18:21 | |
*** davidlenwell has quit IRC | 18:21 | |
*** davideagnello has joined #openstack-qa | 18:22 | |
*** nic has joined #openstack-qa | 18:22 | |
*** swamireddy has quit IRC | 18:22 | |
*** davidlenwell has joined #openstack-qa | 18:23 | |
*** Guest83268 has quit IRC | 18:23 | |
*** maht has joined #openstack-qa | 18:23 | |
*** krtaylor has quit IRC | 18:23 | |
*** vaidy has quit IRC | 18:23 | |
SpamapS | mtreinish: do we absolutely need all of those key/value's? | 18:23 |
*** VanL has joined #openstack-qa | 18:25 | |
*** crinkle has quit IRC | 18:27 | |
*** yamamoto has quit IRC | 18:27 | |
*** mgagne has joined #openstack-qa | 18:28 | |
SpamapS | mtreinish: like if there were one, that could be used to derive the others... | 18:28 |
*** mgagne is now known as Guest63453 | 18:28 | |
*** artom has joined #openstack-qa | 18:29 | |
*** crinkle has joined #openstack-qa | 18:29 | |
SpamapS | mtreinish: still a nasty, nasty query. I wonder if it would be simpler to just shove all the key/values in a json blob for times when you need them all. | 18:30 |
timothyb89 | mtreinish: it looks like the api is returning nothing for 3rd page queries, e.g. http://health.openstack.org/job/gate-tempest-dsvm-full/runs?datetime_resolution=hour&start_date=2015-11-10T18:30:04.019Z&stop_date=2015-11-30T18:30:04.019Z | 18:31 |
openstackgerrit | Andrea Frittoli proposed openstack-infra/subunit2sql: Fix test attachments DB import https://review.openstack.org/251499 | 18:31 |
SpamapS | orrr... I wonder if having can save the day | 18:31 |
*** sabeen has joined #openstack-qa | 18:32 | |
*** fungi has joined #openstack-qa | 18:34 | |
*** tosky has quit IRC | 18:36 | |
*** hogepodge has joined #openstack-qa | 18:37 | |
SpamapS | mtreinish: ok, so I have a totally disgusting way to do it in 3s | 18:37 |
*** Guest63453 has quit IRC | 18:38 | |
*** Guest63453 has joined #openstack-qa | 18:38 | |
*** jordan_ has quit IRC | 18:38 | |
*** Guest63453 is now known as mgagne | 18:39 | |
SpamapS | mtreinish: http://paste.openstack.org/show/480411/ | 18:39 |
*** eil397 has joined #openstack-qa | 18:39 | |
SpamapS | mtreinish: it's a little broken but I think we could figure it out.. note the "LIKE '%openstack/tempest%'" would break for names that encompass other project names. ;) | 18:40 |
*** itsuugo has quit IRC | 18:40 | |
*** krtaylor has joined #openstack-qa | 18:41 | |
*** itsuugo has joined #openstack-qa | 18:41 | |
SpamapS | mtreinish: http://paste.openstack.org/show/480412/ <-- that fixes it.. | 18:41 |
SpamapS | 3s is still an eternity tho | 18:42 |
SpamapS | :-P | 18:42 |
SpamapS | mtreinish: so what's probably better is to run that without the HAVING into a materialized view | 18:42 |
SpamapS | mtreinish: one that has keys added for the specific queries you want there | 18:43 |
*** gszasz has quit IRC | 18:43 | |
openstackgerrit | Stephen Lowrie proposed openstack/os-testr: Change to always parsing classes from test_id https://review.openstack.org/246636 | 18:44 |
*** swamireddy has joined #openstack-qa | 18:46 | |
mtreinish | SpamapS: so for right now we want the build_name for all the runs with project = openstack/tempest. But I could potentially see that being expanded at some point in the future (but lets not worry about that case) | 18:48 |
SpamapS | mtreinish: it doesn't actually speed anything up if it is just build_name. I tried that trick ;) | 18:49 |
SpamapS | mtreinish: though it might be possible to factor it into the subselect and to remove the second join to run_metadata .. haven't tried that yet | 18:49 |
SpamapS | (by doing the same trick, group_concat) | 18:50 |
SpamapS | but I think that's probably not possible either. :) | 18:50 |
SpamapS | mtreinish: so, this query takes 3s to run whether you list all the runs or only the runs for openstack/tempest ... | 18:50 |
mtreinish | hehe, ok | 18:51 |
SpamapS | mtreinish: also another crazy idea is to add a project column to runs. | 18:51 |
*** weshay_xchat is now known as weshay | 18:52 | |
mtreinish | SpamapS: well, that is nominally an openstack-infra thing. Which is why I did it with the other run metadata | 18:52 |
*** achanda has joined #openstack-qa | 18:52 | |
mtreinish | although I agree that would make things a lot simpler :) | 18:52 |
SpamapS | mtreinish: is there any user of subunit2sql who wouldn't have a use for separating runs by "something" ? | 18:53 |
SpamapS | mtreinish: you don't have to call it "project", you could call it "group" | 18:53 |
SpamapS | mtreinish: and then have some rather straightforward way to say that a run is in a particular group (which happens to be the project) | 18:54 |
openstackgerrit | Merged openstack/stackviz: Add summary info to home page. https://review.openstack.org/241027 | 18:54 |
mtreinish | SpamapS: yeah, that's what I was thinking, is an optional group or type column | 18:54 |
andreaf | mtreinish, SpamapS: having build_name restricted to openstack/tempest is pretty bad for me :( | 18:54 |
SpamapS | andreaf: huh? | 18:55 |
mtreinish | andreaf: it's just a sample query we were using | 18:55 |
SpamapS | note that the group_concat approach I showed is crude | 18:55 |
SpamapS | I can actually get it to be very precise | 18:55 |
*** vaidy has joined #openstack-qa | 18:56 | |
*** pvaneck has joined #openstack-qa | 18:56 | |
andreaf | SpamapS, mtreinish: ok sorry I was just browsing through the chat and I though you planned to use that query in subunit2sql | 18:56 |
mtreinish | timothyb89: oh, I bet the server didn't pull in the latest subunit2sql release | 18:57 |
andreaf | SpamapS, mtreinish: I want to have all my tests (tempest and non-tempest) using subunit and so I'm pretty sensitive to any change that restricts things to tempest :P | 18:57 |
*** salv-orlando has joined #openstack-qa | 18:57 | |
SpamapS | SELECT runs.id AS runs_id, runs.passes AS runs_passes, runs.fails AS runs_fails, runs.skips AS runs_skips, runs.run_time AS runs_run_time, runs.run_at AS runs_run_at, group_concat(concat(run_metadata.`key`, "=", run_metadata.value)) AS run_metadata_keyvalue FROM runs INNER JOIN run_metadata ON runs.id = run_metadata.run_id WHERE runs.run_at >= '2015-11-10 04:40:54' AND runs.run_at <= '2015-11-30 | 18:57 |
SpamapS | 04:40:54' GROUP BY runs.id HAVING run_metadata_keyvalue LIKE '%project=openstack/tempest%'\G | 18:57 |
SpamapS | for instance | 18:57 |
*** maht has quit IRC | 18:57 | |
SpamapS | andreaf: I'm not sure you're understanding what we're doing. :) | 18:58 |
andreaf | SpamapS: yes I think I misunderstood | 18:59 |
SpamapS | http://paste.openstack.org/show/480415/ <-- with nova :) | 19:00 |
SpamapS | the two problems are a) it's mysql specific, and b) 3s is still too long if openstack's health dashboard gets even 100 concurrent users. ;) | 19:01 |
SpamapS | (a) we can deal with | 19:01 |
mtreinish | SpamapS: caching to the rescue :) | 19:01 |
SpamapS | mtreinish: say hello to my little herd | 19:01 |
SpamapS | mtreinish: if you don't have anything coalescing, caching eats itself pretty quickly. ;) | 19:02 |
SpamapS | dogpile kind of does that for you with the soft-expire thing | 19:02 |
mtreinish | heh, yeah right now all that's setup (and incorrectly too I think) is mod_cache on apache | 19:03 |
mtreinish | so nothing really too fancy | 19:03 |
SpamapS | IIRC mod_cache also coalesces (so only one thread refreshes the cache while others wait) | 19:04 |
SpamapS | also the query cache is going to eat us alive soon too | 19:04 |
mtreinish | yeah it does | 19:04 |
SpamapS | it's turned on, and it is a huge problem for concurrency. | 19:04 |
SpamapS | mtreinish: are we feeding data in again btw? | 19:05 |
mtreinish | yes we started that this morning | 19:05 |
SpamapS | cool | 19:05 |
SpamapS | so I see some more awful queries stacking up in processlist; | 19:05 |
mtreinish | you can see that working on the first graph: http://status.openstack.org/openstack-health/#/ (because of: https://review.openstack.org/251456 ) | 19:05 |
*** sileht has quit IRC | 19:05 | |
SpamapS | should run a cron job that kills any queries run as query that have taken longer than 10 minutes without something in their query like /* DONT KILL ME IM NOT FROM THE WEB */ | 19:06 |
SpamapS | actually really the web queries should be run as a different user | 19:06 |
SpamapS | but anyway | 19:06 |
mtreinish | SpamapS: sure we can create a seperate user pretty easily I think | 19:06 |
mtreinish | they also all come from a different host | 19:07 |
mtreinish | since the api server talks to trove directly instead of going through a tcp proxy | 19:07 |
*** jacky-zhang has joined #openstack-qa | 19:08 | |
SpamapS | mtreinish: a couple of the long running queries are running impossible queries with a WHERE test_run.run_id = '$uuid' | 19:08 |
mtreinish | they're coming from the tcp proxy, so it looks like someone or something running them with an old subunit2sql version | 19:09 |
SpamapS | mtreinish: oh its not the web? | 19:10 |
mtreinish | I don't think so the ip is the same as the client ip when I do a processlist | 19:10 |
mtreinish | all the sleeping connections should be the web server | 19:11 |
SpamapS | mtreinish: missing an index on test_run_metadata for test_run_id | 19:11 |
SpamapS | mtreinish: did we have one before? | 19:11 |
mtreinish | heh, I guess this is the danger with a public mysql server :) | 19:11 |
mtreinish | SpamapS: we probably did | 19:12 |
SpamapS | mtreinish: I'm looking at my backup copy | 19:12 |
*** jacky-zhang has quit IRC | 19:12 | |
SpamapS | yep | 19:12 |
SpamapS | implicit due to the FK's | 19:12 |
SpamapS | mtreinish: that one needs to be put back | 19:12 |
mtreinish | SpamapS: also we double checked and created it here: https://github.com/openstack-infra/subunit2sql/blob/master/subunit2sql/migrations/versions/1ff737bef438_add_indexes_on_common_search_fields.py#L59 | 19:13 |
SpamapS | KEY `test_run_metadata_ibfk_1` (`test_run_id`), | 19:13 |
mtreinish | oops, that was the wrong thing | 19:13 |
SpamapS | mtreinish: my FK hate has made queries worse. DOH | 19:13 |
mtreinish | haha | 19:14 |
mtreinish | SpamapS: well it's a simple fix either way :) | 19:14 |
mtreinish | and we can do it as an online migration this time | 19:14 |
SpamapS | mtreinish: errr... we can? | 19:14 |
openstackgerrit | Merged openstack/stackviz: Removed unused node dependencies. https://review.openstack.org/249416 | 19:15 |
SpamapS | mtreinish: adding indexes has worked out for you in the past? | 19:15 |
mtreinish | SpamapS: yeah, it's always been pretty straightforward | 19:15 |
SpamapS | ok | 19:15 |
*** salv-orlando has quit IRC | 19:19 | |
*** salv-orlando has joined #openstack-qa | 19:20 | |
mtreinish | SpamapS: I can push a patch for that after I go find some food. Unless you'd like to do it :) | 19:20 |
openstackgerrit | Merged openstack/stackviz: Use consistent dataset IDs in URLs. https://review.openstack.org/250063 | 19:20 |
*** safchain has quit IRC | 19:24 | |
*** mkoderer has quit IRC | 19:26 | |
*** mkoderer has joined #openstack-qa | 19:28 | |
*** yamamoto has joined #openstack-qa | 19:28 | |
*** yamamoto has quit IRC | 19:33 | |
openstackgerrit | Ramy Asselin proposed openstack-infra/elastic-recheck: Make Elastic Recheck Watch more reusable https://review.openstack.org/251515 | 19:44 |
asselin | mtreinish, could you do a quick review of https://review.openstack.org/#/c/250072/. I'd like to get some initial support on the config file changes. | 19:49 |
*** dimtruck is now known as zz_dimtruck | 19:56 | |
ianw | mtreinish: should ./prepare_tempest_testrepository.py take a long time? i'm probably doing something wrong here, just trying out your change with it | 19:58 |
*** shardy has joined #openstack-qa | 20:04 | |
asselin | mriedem, could I get some initial review on this change? would like to get support on the configuration part before I work on the related puppet changes: https://review.openstack.org/#/c/250072/ | 20:07 |
*** zz_dimtruck is now known as dimtruck | 20:11 | |
ianw | mtreinish: so it seems you added the [0] to make the return an int ... maybe you fixed subunit2sql/write_subunit.py and forgot a git add? | 20:11 |
*** austin81 has left #openstack-qa | 20:16 | |
SpamapS | ianw: we lost a couple of indexes that I think may be causing lag in things that used to be fast | 20:23 |
*** rfolco has quit IRC | 20:24 | |
mtreinish | ianw: ah, so you were the one running the queries :) | 20:28 |
*** sshnaidm has joined #openstack-qa | 20:29 | |
*** achanda has quit IRC | 20:31 | |
ianw | SpamapS: yeah, see my comment, it does seem to be trying to use a "id" as a "uuid" ... i guess it sends the query into la-la land | 20:33 |
*** stevebaker has quit IRC | 20:33 | |
*** salv-orlando has quit IRC | 20:35 | |
*** stevebaker has joined #openstack-qa | 20:35 | |
*** salv-orlando has joined #openstack-qa | 20:35 | |
*** gfidente has quit IRC | 20:39 | |
*** maht has joined #openstack-qa | 20:43 | |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add migration for missing index on id columns in metadata tables https://review.openstack.org/251536 | 20:46 |
mtreinish | SpamapS, ianw: ^^^ | 20:46 |
mtreinish | I think that should add all the missing indexes | 20:48 |
*** ngoracke has quit IRC | 20:51 | |
*** yfried_ has joined #openstack-qa | 20:51 | |
*** dims_ has joined #openstack-qa | 20:53 | |
openstackrecheck | openstack/horizon change: https://review.openstack.org/244925 failed gate-tempest-dsvm-full in the gate queue with an unrecognized error | 20:54 |
*** nadya_ has joined #openstack-qa | 20:55 | |
*** dims has quit IRC | 20:56 | |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add migration for missing index on id columns in metadata tables https://review.openstack.org/251536 | 20:56 |
*** nadya_ has quit IRC | 20:56 | |
SpamapS | mtreinish: seems like it's just as pressing to get the uuid problems fixed. ;) | 20:56 |
SpamapS | I have to run to the DMV. When I come back I'll try and re-attach to this problem space. :-P | 20:57 |
mtreinish | SpamapS: heh, yeah | 20:57 |
mtreinish | SpamapS: ok, no worries | 20:58 |
mtreinish | enjoy the dmv | 20:58 |
SpamapS | Luckily my trip only involves the self service terminal | 20:59 |
SpamapS | registration is now 30 days out of date, need to get my tags. :-P | 20:59 |
mtreinish | SpamapS: you can't do that through the mail? | 21:00 |
mtreinish | or the internet | 21:00 |
SpamapS | Yes you can | 21:02 |
SpamapS | if you want to drive with expired tags for 6 weeks | 21:02 |
*** dims_ has quit IRC | 21:03 | |
*** weshay has quit IRC | 21:10 | |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add migration for missing index on id columns in metadata tables https://review.openstack.org/251536 | 21:11 |
*** vgridnev has quit IRC | 21:13 | |
*** slowrie has joined #openstack-qa | 21:13 | |
*** dims has joined #openstack-qa | 21:14 | |
openstackgerrit | Stephen Lowrie proposed openstack/tempest: Add tempest-list-plugins https://review.openstack.org/251542 | 21:16 |
mtreinish | SpamapS: I found another missing index, we used to have an index on runs.run_at too | 21:17 |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add migration for missing index on id columns in metadata tables https://review.openstack.org/251536 | 21:23 |
*** yfried_ has quit IRC | 21:27 | |
sdague | mtreinish: so exactly what state is the tempest cli in at the moment | 21:31 |
sdague | because the microversion devstack patch, plus another terrible hack I did in devstack-gate, makes me realize we need "tempest config compute.max_microversion 2.11" sooner rather than later | 21:32 |
*** aopincar has quit IRC | 21:34 | |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add migration for missing index on id columns in metadata tables https://review.openstack.org/251536 | 21:35 |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Fix indexes in db models https://review.openstack.org/251547 | 21:35 |
mtreinish | sdague: you want to add a tempest cli command to basically do an iniset? | 21:36 |
mtreinish | sdague: that's something that we can easily add, there isn't a config command at the moment though | 21:36 |
sdague | yeh | 21:36 |
sdague | well, basically the whole ini* operational bits, but yeh | 21:37 |
mtreinish | sdague: just write up a qa spec detailing the new cli and we can go from there | 21:38 |
mtreinish | I'm not sure I see the value of that, but we can discuss that in a spec review | 21:38 |
mtreinish | sdague: there is also a tracking etherpad for cli improvements somewhere, let me dig that up | 21:39 |
mtreinish | sdague: https://etherpad.openstack.org/p/tempest-cli-improvements | 21:39 |
sdague | well, devstack-gate should be able to directly configure tempest | 21:39 |
mtreinish | sdague: there's nothing stopping it from editing the file today | 21:40 |
sdague | sure | 21:40 |
sdague | but it means that they have to implement iniset | 21:40 |
sdague | git config is really handy | 21:40 |
mtreinish | sdague: so I think if we do add this it would probably only work for the new model with the local working dir (which would make it very similar to git config) | 21:41 |
*** dims_ has joined #openstack-qa | 21:42 | |
*** dims has quit IRC | 21:43 | |
asselin | mtreinish, sdague when you get a chance I'd like to talk about elastic-recheck. in particular conf file simplification | 21:46 |
mtreinish | asselin: in a bit, I'm gonna head home in a few mins | 21:47 |
asselin | sure | 21:47 |
sdague | mtreinish: yeh, I think that would be the right way to approach it | 21:48 |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add migration for missing index on id columns in metadata tables https://review.openstack.org/251536 | 21:48 |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Fix indexes in db models https://review.openstack.org/251547 | 21:48 |
*** jasonsb has quit IRC | 21:48 | |
*** nicholasgoracke has joined #openstack-qa | 21:50 | |
mtreinish | SpamapS: http://cacti.openstack.org/cacti/graph.php?action=zoom&local_graph_id=2385&rra_id=1&view_type=&graph_start=1448833798&graph_end=1448920198 | 21:50 |
mtreinish | that's a good view of the subunit worker working through it's backlog from the migration downtime | 21:50 |
*** vgridnev has joined #openstack-qa | 21:53 | |
*** mwagner_lap has quit IRC | 21:57 | |
*** mriedem is now known as mriedem_away | 22:00 | |
SpamapS | mtreinish: hah nice | 22:01 |
SpamapS | mtreinish: it reads everything into RAM? | 22:01 |
* SpamapS is confused | 22:02 | |
*** shardy has quit IRC | 22:03 | |
*** slowrie has quit IRC | 22:04 | |
*** notmyname has quit IRC | 22:05 | |
*** dkranz has quit IRC | 22:06 | |
*** notmyname has joined #openstack-qa | 22:06 | |
*** markvoelker has joined #openstack-qa | 22:07 | |
*** dkranz has joined #openstack-qa | 22:09 | |
mtreinish | SpamapS: it pulls the events off of gearman and then puts them into a python queue | 22:14 |
mtreinish | and then pops 1 event off the queue and runs subunit2sql on it | 22:14 |
mtreinish | this way it decouples the HTTP get for the subunit file and the actually processing | 22:14 |
SpamapS | mtreinish: why not just let geraman's queue be that queue? | 22:17 |
SpamapS | geraman? Sounds like a kaiju | 22:17 |
SpamapS | "Godzilla help, Geraman is attacking the city!" | 22:17 |
openstackgerrit | Ken'ichi Ohmichi proposed openstack/tempest: Rename private methods of glance_http https://review.openstack.org/251330 | 22:19 |
openstackgerrit | Ken'ichi Ohmichi proposed openstack/tempest: Remove unused json_request() https://review.openstack.org/251332 | 22:19 |
mtreinish | SpamapS: well, its doing things concurrently. It helps with scaling a bit. There also can be multiple gearman workers so I think it's to help with worker contention | 22:23 |
mtreinish | SpamapS: I don't really remember the original rationale, it's been a while | 22:24 |
SpamapS | kk | 22:24 |
mtreinish | SpamapS: clarkb probably remembers :) | 22:24 |
SpamapS | I'll set my curiosity aside since thats how I got involved with this migration mess. ;) | 22:24 |
openstackrecheck | openstack/glance change: https://review.openstack.org/234653 failed gate-glance-python27 in the gate queue with an unrecognized error | 22:26 |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add migration for adding missing indexes https://review.openstack.org/251536 | 22:27 |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Fix indexes in db models https://review.openstack.org/251547 | 22:27 |
*** vgridnev has quit IRC | 22:27 | |
SpamapS | mtreinish: so... | 22:30 |
*** nicholasgoracke has quit IRC | 22:30 | |
SpamapS | mtreinish: we need to decide. Does the dbapi get_tests_run_dicts_from_run_id take a UUID, or an int? | 22:30 |
mtreinish | SpamapS: hmm, that's a good question. I was assuming it would be an int, but now I dunno :) | 22:31 |
SpamapS | mtreinish: well there's two ways to look at it | 22:32 |
*** regXboi has quit IRC | 22:32 | |
openstackgerrit | Ken'ichi Ohmichi proposed openstack/tempest: Remove pre-request-validation from v2 image_client https://review.openstack.org/251312 | 22:32 |
SpamapS | mtreinish: EITHER, we treat the db API as something that we encourage to use the int, or we discourage the int, and always take the uuid. | 22:32 |
SpamapS | mtreinish: it will be faster with the int. It will be less problematic to change later with the uuid. | 22:33 |
openstackgerrit | John Kasperski proposed openstack-dev/devstack: Neutron: Fix provider network example in doc https://review.openstack.org/251563 | 22:34 |
SpamapS | mtreinish: simplest answer for making things go well today is the int. | 22:34 |
SpamapS | mtreinish: hindsight: we screwed the pooch by not just keeping the uuid column named 'id', and calling the new oine 'auto_id' or something. | 22:35 |
SpamapS | altho | 22:35 |
SpamapS | that would make fk refs weird too | 22:35 |
* SpamapS ponders again and decides it should take the uuid because thats what we used to hand out to users before the migration. | 22:36 | |
*** jasonsb has joined #openstack-qa | 22:36 | |
SpamapS | if somebody has used that uuid to store their run info (say.. preseeded subunit streams), then they'll want to feed back in that uuid always | 22:36 |
*** jasonsb has quit IRC | 22:37 | |
*** jasonsb has joined #openstack-qa | 22:37 | |
mtreinish | SpamapS: ok, I'm fine with doing that | 22:38 |
mtreinish | when I originally "fixed" sql2subunit I guess I forgot the db api is part of our interface too | 22:38 |
SpamapS | mtreinish: patch incoming | 22:38 |
mtreinish | and changing it to int is backwards incompatible (although we did major version it) | 22:38 |
SpamapS | mtreinish: I actually don't like that the dbapi is public, but I guess it's what it's used for right? ;-) | 22:39 |
SpamapS | we changed a lot of things to int from uuid | 22:39 |
SpamapS | but I think this one, we consciously decided that uuid should remain stable | 22:39 |
openstackgerrit | Clint 'SpamapS' Byrum proposed openstack-infra/subunit2sql: Return Run.uuid in public methods https://review.openstack.org/251227 | 22:39 |
mtreinish | SpamapS: yeah, I think runs is the exception we decided on. The others are fine to change | 22:40 |
SpamapS | mtreinish: ^ fixes the problem ianw saw | 22:40 |
mtreinish | SpamapS: cool | 22:40 |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Add support to subunit2sql cli to specify a run_at time https://review.openstack.org/251456 | 22:40 |
*** dkranz has quit IRC | 22:41 | |
openstackgerrit | Matthew Treinish proposed openstack-infra/subunit2sql: Fix indexes in db models https://review.openstack.org/251547 | 22:43 |
clarkb | SpamapS the python queue is an implementation detail has nothing to do with gearman | 22:43 |
clarkb | its to coordinate IO between threads | 22:43 |
openstackgerrit | John Kasperski proposed openstack-dev/devstack: Neutron: Fix IPv6 provider networks https://review.openstack.org/248927 | 22:44 |
SpamapS | I was more wondering why it reads all of the work in, but if there are multiple threads for some reason, thats why. | 22:44 |
mtreinish | SpamapS: I added all of the fallout patches from the migration to: https://etherpad.openstack.org/p/the-big-subunit2sql-migration | 22:46 |
*** nicholasgoracke has joined #openstack-qa | 22:46 | |
SpamapS | mtreinish: ty | 22:46 |
SpamapS | mtreinish: we need to land them all really ASAP, and then cut a 1.0.3 | 22:47 |
mtreinish | or at least I think I got all of the patches | 22:47 |
mtreinish | well if it's a migration it'll be 1.1.0 | 22:47 |
mtreinish | or maybe not | 22:47 |
mtreinish | I guess if there no interface changes and just indexes 1.0.x is fine | 22:47 |
SpamapS | the indexes shouldn't be a 1.1.x | 22:48 |
SpamapS | and yeah, the Run.uuid bits are fixes to the documented 1.0 interface | 22:48 |
*** Guestharry has joined #openstack-qa | 22:57 | |
*** mwagner_lap has joined #openstack-qa | 22:57 | |
*** yamahata has joined #openstack-qa | 22:58 | |
mtreinish | SpamapS: yeah it's the run_at conf opt which would warrant a 1.1.0, but that's not as critical as the other 2 things | 22:58 |
*** Guestharry has left #openstack-qa | 23:01 | |
*** dims has joined #openstack-qa | 23:02 | |
*** dims_ has quit IRC | 23:03 | |
*** anshul has joined #openstack-qa | 23:03 | |
*** jecarey has quit IRC | 23:06 | |
openstackgerrit | Merged openstack-infra/subunit2sql: Return Run.uuid in public methods https://review.openstack.org/251227 | 23:06 |
openstackgerrit | Merged openstack-infra/subunit2sql: Add migration for adding missing indexes https://review.openstack.org/251536 | 23:07 |
*** jecarey has joined #openstack-qa | 23:08 | |
mtreinish | SpamapS: ^^^ ok, I'll push the release | 23:08 |
SpamapS | mtreinish: +1 | 23:11 |
*** jecarey has quit IRC | 23:13 | |
openstackgerrit | John Warren proposed openstack/tempest: Split out Neutron metering labels client https://review.openstack.org/251578 | 23:13 |
SpamapS | mtreinish: the indexes likely won't build very fast. :-P | 23:13 |
mtreinish | SpamapS: heh, yeah I imagine it'll be a few hours | 23:13 |
mtreinish | but even we miss the next nodepool build it should be done by the following one | 23:14 |
mtreinish | SpamapS: https://pypi.python.org/pypi/subunit2sql/1.0.2 | 23:15 |
SpamapS | mtreinish: yay | 23:15 |
SpamapS | mtreinish: so puppet runs will pick it up automatically right? | 23:16 |
mtreinish | yep | 23:16 |
mtreinish | it'll pick up the release on the next puppet run and trigger a migration run | 23:16 |
*** hichihara has joined #openstack-qa | 23:30 | |
*** nicholasgoracke has quit IRC | 23:32 | |
openstackgerrit | Ramy Asselin proposed openstack-infra/elastic-recheck: Make Elastic Recheck Watch more reusable https://review.openstack.org/251515 | 23:34 |
asselin | mtreinish, I'm going to run a quick errand. If you have time to take a quick look and just check the direction is good on e-r patches, that would be very helpful. | 23:35 |
openstackrecheck | openstack/cinder change: https://review.openstack.org/250608 failed gate-tempest-dsvm-postgres-full in the gate queue with an unrecognized error | 23:35 |
*** jecarey has joined #openstack-qa | 23:38 | |
*** tochi has joined #openstack-qa | 23:39 | |
openstackgerrit | Tim Buckley proposed openstack/stackviz: Allow sharing of selected item by page URL. https://review.openstack.org/248293 | 23:39 |
openstackgerrit | Tim Buckley proposed openstack/stackviz: Fix the timeline clipping path. https://review.openstack.org/248297 | 23:40 |
openstackgerrit | Tim Buckley proposed openstack/stackviz: Directly link to timeline details for failed tests. https://review.openstack.org/249422 | 23:41 |
openstackgerrit | Stephen Lowrie proposed openstack/tempest: Add tempest-list-plugins https://review.openstack.org/251542 | 23:41 |
*** jecarey has quit IRC | 23:43 | |
*** hemna is now known as hemnafk | 23:48 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!