Wednesday, 2015-09-16

*** elo has joined #akanda00:17
*** drwahl has quit IRC00:21
*** drwahl__ has joined #akanda00:21
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Various fixes to get drivers functional (WIP)  https://review.openstack.org/22388400:26
adam_gdavidlenwell, ^ that might pass devstack now00:26
*** elo has quit IRC00:33
*** qi has joined #akanda02:01
*** qi has quit IRC02:02
*** puranamr has joined #akanda02:17
davidlenwellseems like its close.. thanks adam_g!02:39
*** puranamr has quit IRC02:50
*** puranamr has joined #akanda03:11
*** puranamr has quit IRC03:15
*** puranamr has joined #akanda03:34
*** puranamr has quit IRC03:51
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Various fixes to get drivers functional (WIP)  https://review.openstack.org/22388405:23
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Debug  https://review.openstack.org/22393206:17
*** adam_g has quit IRC12:44
*** sarob has quit IRC12:48
*** ryanpetrello has quit IRC12:49
*** adam_g has joined #akanda12:50
*** adam_g has quit IRC12:51
*** adam_g has joined #akanda12:51
*** sarob has joined #akanda12:54
*** ryanpetrello has joined #akanda12:56
*** sarob has quit IRC13:07
*** ryanpetrello has quit IRC13:08
*** ryanpetrello has joined #akanda13:16
*** sarob has joined #akanda13:16
*** openstackgerrit has quit IRC14:31
*** openstackgerrit has joined #akanda14:31
*** openstackgerrit has quit IRC15:01
*** openstackgerrit has joined #akanda15:01
*** elo has joined #akanda16:05
*** elo has quit IRC16:15
*** elo has joined #akanda16:20
*** elo has quit IRC16:31
*** cleverdevil has joined #akanda17:13
adam_gmarkmcclain, davidlenwell was trying to get some debug going on that patch last night at https://review.openstack.org/#/c/223932/  not sure whas up, its been working fine for me locally but i havent been starting with a fresh devststack, restacking now17:44
davidlenwelladam_g: I was looking at the console log from that patch just now.17:47
adam_gget_routers() seems to be returning nothing17:47
markmcclainyeah... was noticing that17:48
davidlenwellis it a context problem with the neutron client?17:49
davidlenwellmight ad debug info to its state before calling that function17:49
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Debug  https://review.openstack.org/22393217:50
adam_gdavidlenwell, it shouldnt be, list_routers() gets called over rpc17:50
davidlenwellSo that line you just added probably won't trigger .. because detailed defaults to true..17:51
adam_gdavidlenwell, router's pre_poopulate_hook calls /w detailed=False17:53
davidlenwelloh my bad .. I thought I left it blank17:54
adam_ghmm18:00
adam_greproducing locally too18:00
adam_goh18:04
adam_gi guess we dont ever even use pre-pop in the gate18:05
adam_gdevstack starts ak-rug then creates network things as part of post-startup, so we rely on notifications to get going. i guess notifications are still not right in the driver patch18:05
markmcclainah makes sense18:10
* markmcclain wonders how to exercise pre-pop in the gate18:10
adam_gmarkmcclain, well actually im a bit confused18:11
adam_gwe create networks in both pre_start and post_start18:11
markmcclaindon't we delete all of the routers?18:11
adam_gin pre start we scrub neutron18:11
markmcclainso the router notificaiton would not be seen until post_start18:11
adam_gand then re-create public net18:11
adam_gand mgt18:11
adam_gin post start we create 'thenet'18:11
markmcclainso the list should be empty18:12
adam_gmarkmcclain, im confused as to what we expect to be created on first start18:12
adam_gto exercise we could move creation stuff in post_start to pre_start, but then we lose exercising notifications. tho i have a patch up thats adds tests to stress that18:13
adam_gmarkmcclain, so the first/only router that ends up getting created is for thenet?18:13
markmcclainright it's for the net18:14
adam_gok18:14
adam_gmakes sense then18:14
markmcclainadam_g: so we would be able to test pre-pop18:14
adam_g... if we create thenet as part of  pre_pop18:14
adam_gderp, pre_start18:15
markmcclainsorry... forgot to send the 2nd part18:15
markmcclainwe can test pre-pop in teh gate and test running 2nd rug18:15
markmcclainbecause if we create a 2nd rug after the first is running18:15
markmcclainpre-pop would get exercised too18:15
markmcclain*after the 1st is running and we've created any nets18:15
markmcclain+routers18:15
adam_gmarkmcclain, that could work18:16
*** openstackgerrit has quit IRC18:16
adam_gor we could just move it to pre_start to test in all cases, then theres a test case here that is entirely dependent on notifications https://review.openstack.org/#/c/219952/18:16
*** openstackgerrit has joined #akanda18:16
adam_gokay this coffee shop is playing hootie and the blowfish. time to go home and look at notifications18:17
markmcclainadam_g: haha18:24
adam_gmarkmcclain, so im still confused--the router that we end up with has:18:29
adam_g| external_gateway_info | {"network_id": "d4146f68-e1ad-4efb-87d2-2b0195756ae9", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "39911e81-9063-4cab-9de8-0ce61d36ef7c", "ip_address": "172.16.77.2"}, {"subnet_id": "fba27833-a6d4-427d-b67a-b277442c40a4", "ip_address": "fdee:9f85:83be::2"}]} |18:29
adam_g| ha                    | False18:29
adam_gthose networks and subnets are the public network18:29
markmcclainright.. nothing attached to the private net18:30
adam_gmarkmcclain, so would that not be available for pre-pop, if public network is created pre-start of ak-rug?18:30
markmcclainactually that should be available18:32
markmcclainbecause we're not filtering out routers that are missing internal nets18:32
davidlenwelladam .. I believe I pointed out to you (and left in the commit message) that notifications was still wonky because of hte message format18:37
adam_gdavidlenwell,  https://review.openstack.org/#/c/223884/ attempts to finish that up18:40
adam_gmarkmcclain, i wonder if we're filtering them out by accident or via some side effect. it doesnt look like akanda reacts to anything until the demo thenet comes up with an interface on the public net18:44
markmcclainyeah... was looking to see if we're filtering too18:44
markmcclainbut from the code we're calling list_routers which does not filter on teh neutron side18:45
markmcclainand the current driver code does not filter either18:46
adam_gmarkmcclain, so i still dont fully grok neutron's internal workflows, but it looks like when a tenant creates a net + subnet, it'll automatically get a router created for it18:47
adam_gwhereas creating the public net alone wont do that18:47
markmcclainso the automated created is an old convenience hook we created for akanda deployments18:48
markmcclainbasically to address the issue raised in the big thread in neutron right now18:48
adam_gmarkmcclain, is that hook in neutron-proper or akanda-neutron?18:50
markmcclainakanda-neutron18:53
adam_gso in a world where a single rug is managing multiple drivers, we want multiple drivers to be able to act on a single notification , right?19:08
davidlenwellhmm19:22
davidlenwellI don't know about that19:22
adam_gdavidlenwell, would a port update/delete/create event not be relevant to both a router and a lbaas?19:42
davidlenwellhmm .. maybe.. depends on how fancy we want to get with lbaas19:44
davidlenwellwould come in handy if we are doing service chaining19:45
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Various fixes to get drivers functional (WIP)  https://review.openstack.org/22388420:01
*** puranamr has joined #akanda20:42
*** puranamr has quit IRC20:47
*** puranamr has joined #akanda21:16
*** puranamr has quit IRC21:28
adam_gmarkmcclain, still around?22:06
markmcclainadam_g: yes what's up22:07
adam_gmarkmcclain, thers nothing else that would be updating router state other than the synchronize_router_status() wrapper thing, right?22:08
adam_goh nvm i wasn't loading code i was actually looking at22:13
markmcclainsorry had someone stop by... glad you figured out the issue22:23
*** elo has joined #akanda23:27
*** elo has quit IRC23:47
*** elo has joined #akanda23:51
openstackgerritAdam Gandelman proposed stackforge/akanda-rug: Various fixes to get drivers functional (WIP)  https://review.openstack.org/22388423:56
adam_gcloser23:56
adam_gmarkmcclain, davidlenwell23:56
*** cleverdevil has quit IRC23:56

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