Wednesday, 2018-10-31

*** lei-zh has joined #openstack-placement01:52
*** tetsuro has joined #openstack-placement02:45
*** tetsuro has quit IRC03:12
*** tetsuro has joined #openstack-placement03:16
*** Nel1x has joined #openstack-placement03:23
*** tetsuro has quit IRC03:51
*** Nel1x has quit IRC03:52
*** lei-zh has quit IRC05:03
*** lei-zh has joined #openstack-placement05:39
*** e0ne has joined #openstack-placement06:16
*** e0ne has quit IRC06:18
*** tssurya has joined #openstack-placement07:45
*** lei-zh1 has joined #openstack-placement07:59
*** lei-zh has quit IRC08:01
*** lei-zh1 has quit IRC08:08
*** e0ne has joined #openstack-placement08:12
openstackgerritTakashi NATSUME proposed openstack/placement master: Publish api-ref in the placement project  https://review.openstack.org/61443408:50
*** e0ne has quit IRC09:16
*** e0ne has joined #openstack-placement09:25
*** ttsiouts has joined #openstack-placement09:28
*** ttsiouts has quit IRC09:29
*** ttsiouts has joined #openstack-placement09:45
*** cdent has joined #openstack-placement10:38
*** ChanServ sets mode: +o cdent11:08
*** cdent changes topic to "See https://docs.openstack.org/placement/latest/ and https://developer.openstack.org/api-ref/placement/"11:08
*** ChanServ sets mode: -o cdent11:08
*** e0ne has quit IRC11:15
*** e0ne has joined #openstack-placement11:15
*** e0ne has quit IRC11:27
*** ttsiouts has quit IRC12:30
*** e0ne has joined #openstack-placement13:06
openstackgerritTakashi NATSUME proposed openstack/placement master: Remove build-openstack-api-ref jobs  https://review.openstack.org/61449713:13
*** mriedem has joined #openstack-placement13:14
*** mriedem is now known as ash_williams13:15
*** ttsiouts has joined #openstack-placement13:16
openstackgerritEd Leafe proposed openstack/placement master: Added alembic environment  https://review.openstack.org/61144113:16
openstackgerritEd Leafe proposed openstack/placement master: Delete the old migrations  https://review.openstack.org/61144013:16
openstackgerritEd Leafe proposed openstack/placement master: Rename the database files  https://review.openstack.org/61435013:16
openstackgerritEd Leafe proposed openstack/placement master: Add a document for creating DB revisions  https://review.openstack.org/61402413:16
openstackgerritEd Leafe proposed openstack/placement master: WIP - Show an alembic migration  https://review.openstack.org/61402513:16
ash_williamsedleafe: is there anything setup in tests that run the mysql/pg-specific opportunistic tests against ^?14:05
ash_williamsi'm guessing not since placement repo doesn't have https://github.com/openstack/nova/blob/master/tools/test-setup.sh14:05
ash_williamswhich is used by infra to setup the mysql/pg backends14:05
edleafeash_williams: Probably not, AFAIK. I did a local setup that added the /etc/placement/placement.conf file, that defined the connection to a local MariaDB server14:08
ash_williamsi just confirmed they aren't14:08
edleafeI'll take a look at test-setup.sh14:08
ash_williamshttp://logs.openstack.org/41/611441/9/check/openstack-tox-functional-py35/fba1eb7/job-output.txt.gz#_2018-10-31_13_53_26_45404214:08
ash_williamsi'm not sure if just throwing that file into a chnage at the bottom of the series will do the trick or not14:08
ash_williamsandreas jaeger would probably know14:09
edleafeash_williams: I'll play with it. Thanks for the pointer14:09
ash_williamsaha http://git.openstack.org/cgit/openstack-infra/zuul-jobs/tree/roles/test-setup/tasks/main.yaml14:10
ash_williamsi think just putting that file in the placement repo will do it14:10
edleafeash_williams: The extraction script to separate placement out of nova looked at the git history to see anything that touched placement files. It missed some things that we had to pull in manually, and test-setup.sh seems to be one of them14:14
cdentash_williams: are we in the chainsaw phase or the no chainsaw phase?14:14
openstackgerritChris Dent proposed openstack/placement master: Add a placement-manage CLI  https://review.openstack.org/60016114:18
ash_williamsi still have both hands14:18
*** e0ne has quit IRC14:19
openstackgerritEd Leafe proposed openstack/placement master: Added alembic environment  https://review.openstack.org/61144114:20
openstackgerritEd Leafe proposed openstack/placement master: Delete the old migrations  https://review.openstack.org/61144014:20
openstackgerritEd Leafe proposed openstack/placement master: Rename the database files  https://review.openstack.org/61435014:20
openstackgerritEd Leafe proposed openstack/placement master: Add a document for creating DB revisions  https://review.openstack.org/61402414:20
openstackgerritEd Leafe proposed openstack/placement master: WIP - Show an alembic migration  https://review.openstack.org/61402514:20
edleafeash_williams: cdent: ^^ Now with test-setup.sh!14:20
cdentedleafe: you see my comment (now twice) about the TypeError thing?14:21
edleafecdent: no, I missed that. I'll look at it now (entering meeting hell in 40 minutes)14:22
cdentedleafe: may be as simple as basing off sean-k-mooney 's change14:22
openstackgerritChris Dent proposed openstack/placement master: Add a placement-manage CLI  https://review.openstack.org/60016114:24
sean-k-mooneyi see my name :)14:26
*** e0ne has joined #openstack-placement14:26
* cdent sings destiny's child14:27
* sean-k-mooney sighs that song will be stuck in my head while i go to grab lunch14:28
cdentsuccess14:29
openstackgerritEd Leafe proposed openstack/placement master: Added alembic environment  https://review.openstack.org/61144114:38
openstackgerritEd Leafe proposed openstack/placement master: Delete the old migrations  https://review.openstack.org/61144014:38
openstackgerritEd Leafe proposed openstack/placement master: Rename the database files  https://review.openstack.org/61435014:38
openstackgerritEd Leafe proposed openstack/placement master: Add a document for creating DB revisions  https://review.openstack.org/61402414:38
openstackgerritEd Leafe proposed openstack/placement master: WIP - Show an alembic migration  https://review.openstack.org/61402514:38
edleafecdent: ^^ rebased on top of sean-k-mooney's patch14:38
cdentcool, will keep an eye on it. will be very good to see this stuff in14:40
*** e0ne has quit IRC14:41
*** e0ne has joined #openstack-placement14:44
openstackgerritChris Dent proposed openstack/placement master: Add a placement-manage CLI  https://review.openstack.org/60016114:59
openstackgerritChris Dent proposed openstack/placement master: Remove sqlalchemy-migrate from requirements.txt  https://review.openstack.org/61453915:11
openstackgerritChris Dent proposed openstack/placement master: Remove sqlalchemy-migrate from requirements.txt  https://review.openstack.org/61453915:20
*** ash_williams has left #openstack-placement15:21
*** ash_williams has joined #openstack-placement15:21
cdentthanks for the reminder ash_williams15:21
openstackgerritChris Dent proposed openstack/placement master: Remove unused packages from lower-constraints.txt  https://review.openstack.org/61455915:45
cdentefried: there's a mess of stuff starting at https://review.openstack.org/#/c/614307/  which, once in, will allow us to have a working db migration setup and a devstack. So if you've got some eyes, that would be skippy. I expect there are some details that might matter16:01
efriedcdent: Heard and understood, but don't get your hopes up.16:01
efrieda) Lots of distractions, b) material in there ^ that I don't understand (and don't have bandwidth to learn about)16:02
cdentefried: ack. I figured that might be the case, thus the "if" (which maybe I should have made all caps and *emph*)16:02
cdenti know how that can be16:02
cdentjaypipes: you too on https://review.openstack.org/#/c/614307/ and beyond, IF you've got the time/energy16:02
cdentash_williams is already on it with his chainsaw16:03
*** ttsiouts has quit IRC16:39
*** ttsiouts has joined #openstack-placement16:39
*** ttsiouts has quit IRC16:44
*** rubasov has quit IRC16:51
openstackgerritChris Dent proposed openstack/placement master: Correct lower-constraints.txt and the related tox job  https://review.openstack.org/61455916:52
cdentash_williams: that ^ is mcuh different from the original attempt at that.16:53
ash_williamscommented16:58
ash_williamsi assume this is also busted in nova16:58
*** ash_williams is now known as ash_sawing16:59
openstackgerritChris Dent proposed openstack/placement master: Correct lower-constraints.txt and the related tox job  https://review.openstack.org/61455917:02
cdentjaypipes: responded on the ensure consumer stuff. It needs to move, do you have a suggestion on where?17:04
*** e0ne has quit IRC17:08
cdentjaypipes: back at ya17:17
openstackgerritMatt Riedemann proposed openstack/placement master: Correct lower-constraints.txt and the related tox job  https://review.openstack.org/61455917:43
edleafecdent: Any suggestions on fixing the config issue here? http://logs.openstack.org/41/611441/11/check/openstack-tox-cover/1ef4b28/testr_results.html.gz17:52
cdentedleafe: have you see the comment I left already?17:53
edleafegeez. No, just resurfaced from meetings. My workflow is messed up17:53
cdentmeetings make for sad :(17:54
cdentbut yeah, lots of comments rolled through there in the past little while but with regard to those failing tests, you basically need to set up the config in the same way the existing functional tests do17:54
cdentedleafe: I'm going to fix the very bottom of that stack so we're going to have some rebasing hell for a bit. Would you prefer that I just change my thing, or more of the stack?17:55
edleafecdent: I'm going to have split attention for most of the rest of the day, so go for it if you're so inclined17:56
cdentedleafe: okay, I'll do it17:56
*** ash_sawing has quit IRC18:07
openstackgerritChris Dent proposed openstack/placement master: Correct lower-constraints.txt and the related tox job  https://review.openstack.org/61455918:10
*** mriedem has joined #openstack-placement18:11
*** mriedem is now known as ash_williams18:11
cdentash_williams: i think i managed to bring that lower-constraints around to some form of sane18:23
cdentit's probably not perfect, but I don't know if we have a way to find that18:23
ash_williamsis it possible to just drop what's unused (not in the pip freeze) and only update what is necessary to update b/c of test failures?18:26
cdentI did something very close to that18:27
cdentbasically that, plus add things that were missing18:27
ash_williamsok18:27
cdentthe missing things...I'm not sure how to determine a right version18:27
*** e0ne has joined #openstack-placement18:31
*** e0ne has quit IRC18:32
ash_williamsupper-constraints is probably fine in that case since it's what we test against18:33
ash_williamsor maybe whatever is in the pip freeze via transitive deps i suppose18:33
*** tssurya has quit IRC18:39
*** ash_williams is now known as mriedem_away19:25
*** e0ne has joined #openstack-placement19:44
*** e0ne has quit IRC19:45
openstackgerritChris Dent proposed openstack/placement master: Move ensure_consumer to a new placement.handlers.util  https://review.openstack.org/61430720:06
openstackgerritChris Dent proposed openstack/placement master: Harden placement init under wsgi  https://review.openstack.org/61244420:06
openstackgerritChris Dent proposed openstack/placement master: Added alembic environment  https://review.openstack.org/61435020:06
openstackgerritChris Dent proposed openstack/placement master: Delete the old migrations  https://review.openstack.org/61144020:06
openstackgerritChris Dent proposed openstack/placement master: Add a document for creating DB revisions  https://review.openstack.org/61402420:06
openstackgerritChris Dent proposed openstack/placement master: WIP - Show an alembic migration  https://review.openstack.org/61402520:06
cdentedleafe: I had to do some pretty extensive fiddling around to get 614350 working with the live tests, including reordering the patches and collapsing the file renames into the alembic add.20:08
cdentSome of the tests that come from oslo_db are still not working, but it is a bit closer. I'm travelling tomorrow and most of Friday so I won't be able to get back to it, but I hope that what I've done there is enough to take us a bit further20:08
edleafecdent: Thanks - I'll follow up with it as best as I can20:09
openstackgerritChris Dent proposed openstack/placement master: Add a placement-manage CLI  https://review.openstack.org/60016120:15
openstackgerritChris Dent proposed openstack/placement master: Add a placement-manage CLI  https://review.openstack.org/60016120:18
cdentedleafe: I'd tried to leave you with some leading TODOs in python20:19
cdentedleafe: some of it might be safe to remove, but the issue with consumer generation migration sync comparisons is probably a problem, but is also probably related to https://bugs.launchpad.net/oslo.db/+bug/1776527 (I've added a comment on the review about that)20:23
openstackLaunchpad bug 1776527 in oslo.db "TestNovaAPIMigrationsMySQL.test_models_sync fails with "AssertionError: Models and migration scripts aren't in sync:" due to TextClause comparisons" [Undecided,Fix released] - Assigned to Tony Breeds (o-tony)20:23
cdentmriedem_away: you might have ideas on that stuff ^20:24
*** e0ne has joined #openstack-placement20:30
cdentedleafe, efried : I'll be away tomorrow and most of friday travelling20:47
efriedack20:48
openstackgerritChris Dent proposed openstack/placement master: Remove sqlalchemy-migrate from requirements.txt  https://review.openstack.org/61453920:49
*** e0ne has quit IRC20:50
* cdent waves goodnight20:51
*** cdent has quit IRC20:51
*** mriedem_away has quit IRC22:44

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