Wednesday, 2018-12-12

*** edmondsw has joined #openstack-placement00:13
edmondswtrying to stack devstack and the wait_for_service is failing for placement00:16
edmondswI'm getting a 503 for http://localhost/placement even though I see no errors with journalctl -xea -u devstack@placement-api.service and systemctl status shows it's active00:16
edmondswsomewhere else I should look?00:17
edmondswI did notice that /var/log/apache2/horizon_error log says "AH02454: uwsgi: attempt to connect to Unix domain socket /var/run/uwsgi/nova-placement-api.socket (uwsgi-uds-nova-placement-api) failed" repeatedly00:23
edmondswthere is no such thing in /var/run/uwsgi, though... it has placement-api.socket, not nova-placement-api.socket00:23
edmondswI had devstack installed on this system earlier, but today unstacked and cleaned, blew away /opt/stack, and then cloned again to start over... so I'm wondering if something didn't cleaned up in that process00:33
*** mriedem has quit IRC01:23
*** e0ne has joined #openstack-placement07:13
*** openstackgerrit has quit IRC07:29
*** helenafm has joined #openstack-placement08:24
*** e0ne has quit IRC08:31
*** tssurya has joined #openstack-placement08:59
*** dtantsur|afk is now known as dtantsur09:19
*** e0ne has joined #openstack-placement10:08
*** cdent has joined #openstack-placement10:20
gibicdent: I've added some analysis to https://review.openstack.org/#/c/624055/4 about the notification test failure. no solution yet10:21
cdentthanks10:21
cdentgibi: yeah, this looks like yest another thing we can blame on eventlet :)10:22
gibicdent: I'm happy to blame eventlet for everything :)10:23
cdent10:23
gibiI'm continue looking at this problem but if you have ideas what to try then I'm happy to try it10:25
cdentI don't have any immediate ideas other than the usual eventlet hack: stick a time.sleep(0) in there somewhere.10:26
cdentthe "where" is the question10:26
gibicdent: thanks. I can try putting it here and there to see if it helps10:28
* cdent crosses fingers10:29
gibisometimes I see failin nova.tests.functional.test_servers.ServerMovingTests.test_live_migrate_rollback_cleans_dest_node_allocations and nova.tests.functional.test_servers.ServerLiveMigrateForceAndAbortWithNestedResourcesRequest.test_live_migrate_force_complete as well10:34
gibiboth live migration tests10:34
gibiso I assume it is the same root cause10:34
gibiat least the same timeout is visible10:37
gibiin the logs of those tests10:37
cdentgibi, stephenfin : easy cleanup https://review.openstack.org/#/c/624460/11:23
*** e0ne has quit IRC11:30
*** ttsiouts has joined #openstack-placement11:47
*** yikun_ has quit IRC11:51
gibicdent: +A11:52
*** dtantsur is now known as dtantsur|brb11:56
*** ttsiouts has quit IRC12:07
*** ttsiouts has joined #openstack-placement12:07
*** ttsiouts has quit IRC12:12
*** openstackgerrit has joined #openstack-placement12:12
openstackgerritChris Dent proposed openstack/os-resource-classes master: Sync STANDARDS with placement/nova rc_fields  https://review.openstack.org/62437012:12
openstackgerritChris Dent proposed openstack/os-resource-classes master: Tune up documentation to be more useful  https://review.openstack.org/62438412:13
*** ttsiouts has joined #openstack-placement12:54
openstackgerritBrin Zhang proposed openstack/nova-specs master: Specifying az when restore shelved server  https://review.openstack.org/62468912:56
openstackgerritBrin Zhang proposed openstack/nova-specs master: Specifying az when restore shelved server  https://review.openstack.org/62468912:58
*** dtantsur|brb is now known as dtantsur13:20
openstackgerritMerged openstack/placement master: Remove dead code in objects/resource_provider.py  https://review.openstack.org/62446013:25
*** dtantsur is now known as dtantsur|brb13:56
gibicdent: https://github.com/eventlet/eventlet/issues/508 this seems relevant as the livemigration code in nova uses ThreadPoolExecutor14:09
gibicdent: going to change that to GreenThreadPoolExecutor14:10
gibicdent: as the bug report suggests14:10
cdentha! good sleuthing. knew it was eventlet ;)14:10
cdentcoreycb is everywhere14:10
*** mriedem has joined #openstack-placement14:13
openstackgerritChris Dent proposed openstack/placement master: Document API error codes  https://review.openstack.org/62470514:22
cdentgibi: that ^ is in response to a bug you created a while ago. It's at least a start14:23
gibicdent: ack, reading14:32
*** irclogbot_2 has quit IRC14:32
gibicdent: it seems GreenThreadPoolExecutor helps14:32
cdent\o/14:32
cdentif you want to commit those change on my patch, that would be great14:33
cdentor before it14:33
gibicdent: I run a full test and then I will add the change into your patch14:34
gibicdent: if it become big then we can split14:34
cdent14:34
*** e0ne has joined #openstack-placement14:38
*** irclogbot_2 has joined #openstack-placement14:41
*** irclogbot_2 has quit IRC14:52
gibicdent: there are some failed unit tests after switching to GreenThreadPoolExecutor so needs more time before I can push an update14:55
cdentoh, great :(14:55
*** irclogbot_2 has joined #openstack-placement15:03
gibicdent: needs to change some unit test fixture and the requirements.txt as well so I think I will make this change a separate patch and put your's top of it15:24
cdentsounds good15:25
*** dtantsur|brb is now known as dtantsur15:25
*** tssurya has quit IRC15:57
cdentedleafe: do you have ideas (beyond what I already responded to you on the review) on how to make that test more tasty?16:09
edleafecdent: in meeting hell. Will reply soon16:10
cdentaye aye16:11
cdentedleafe: If I'm gone, feel free to change it yourself16:11
edleafeah, this meeting ended early due to holiday no-shows :)16:18
edleafecdent: Length won't cut it either16:18
edleafesince the order could have been changed.16:18
edleafeIMO, this is where humans doing review come into play16:19
cdentsure, but it is merely a sanity check, not a perfection check16:19
cdentthe idea of having the sanity check is making sure that the originator of the change is conscious of the issue16:19
cdentso the test fails, they go read it (and the improved comment that it doesn't yet have)16:19
cdentand they are enlightened16:19
edleafeOK, it will help in the lone case of someone inserting a new entry somewhere other than at the end16:20
edleafeBut since all such changes will go through review, the red/green lines in gerrit would tell us exactly what the reviewer needs to know16:21
edleafeIf anything, the test gives a false confidence16:22
* cdent has limited faith in reviews based on loads of evidence16:22
edleafeIt won't hurt anything, since reviews are still needed, hence my +116:22
cdenti'll do the length thing16:23
edleafewhat about copying the list wholesale?16:23
edleafeAnd comparing the copied list to the value in the lib?16:23
edleafeThat will take care of insertions, position changes, etc.16:23
cdentthat's even more annoying16:24
edleafeBut it still won't catch the case of the invalid change being made in both places16:24
cdentthe idea is something limited, but somewhat useful16:24
cdentall I'm really after here is someone making a change and not considering the tests16:24
mriedemcdent: some small stuff in the os-resource-classes docs patch https://review.openstack.org/#/c/624384/16:25
cdentthanks mriedem16:25
*** ttsiouts has quit IRC16:29
*** ttsiouts has joined #openstack-placement16:30
*** ttsiouts has quit IRC16:30
*** ttsiouts has joined #openstack-placement16:31
*** tssurya has joined #openstack-placement16:51
openstackgerritChris Dent proposed openstack/os-resource-classes master: Sync STANDARDS with placement/nova rc_fields  https://review.openstack.org/62437016:53
openstackgerritChris Dent proposed openstack/os-resource-classes master: Tune up documentation to be more useful  https://review.openstack.org/62438416:53
openstackgerritChris Dent proposed openstack/placement master: WIP: Use os-resource-classes in placement  https://review.openstack.org/62355617:03
*** helenafm has quit IRC17:08
*** e0ne has quit IRC17:21
*** dtantsur is now known as dtantsur|afk17:26
*** ttsiouts has quit IRC17:33
*** ttsiouts has joined #openstack-placement17:34
*** ttsiouts has quit IRC17:38
*** mriedem is now known as mriedem_lunch18:21
* cdent waves18:31
*** cdent has quit IRC18:31
*** tssurya has quit IRC18:51
*** mriedem_lunch is now known as mriedem19:11
*** e0ne has joined #openstack-placement19:20
*** e0ne_ has joined #openstack-placement19:27
*** e0ne has quit IRC19:27
*** e0ne_ has quit IRC19:30
*** e0ne has joined #openstack-placement19:34
*** e0ne_ has joined #openstack-placement19:39
*** e0ne has quit IRC19:41
*** e0ne has joined #openstack-placement19:44
*** e0ne_ has quit IRC19:45
*** e0ne has quit IRC19:45
*** e0ne has joined #openstack-placement19:46
*** e0ne has quit IRC19:54
*** e0ne has joined #openstack-placement20:15
*** e0ne has quit IRC20:16
*** takashin has joined #openstack-placement21:54
*** smcginnis has quit IRC22:29
openstackgerritMatt Riedemann proposed openstack/os-resource-classes master: Sync STANDARDS with placement/nova rc_fields  https://review.openstack.org/62437023:15
openstackgerritMatt Riedemann proposed openstack/os-resource-classes master: Tune up documentation to be more useful  https://review.openstack.org/62438423:15

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