*** armax has quit IRC | 00:21 | |
*** gongysh has joined #openstack-lbaas | 00:31 | |
*** ducttape_ has joined #openstack-lbaas | 00:34 | |
*** harlowja has quit IRC | 00:39 | |
*** ducttape_ has quit IRC | 00:46 | |
eandersson | I managed to get the list loadbalancer down to 2s :D | 00:54 |
---|---|---|
*** ducttape_ has joined #openstack-lbaas | 00:55 | |
*** ducttape_ has quit IRC | 01:00 | |
*** ducttape_ has joined #openstack-lbaas | 01:09 | |
*** ducttape_ has quit IRC | 01:25 | |
*** harlowja has joined #openstack-lbaas | 01:26 | |
*** harlowja has quit IRC | 01:26 | |
eandersson | xgerman, johnsom so the issue is that when performing something as simple as the lbaas-loadbalancer-list it gets everything | 01:31 |
eandersson | If you reduce the data parsed to only the relevant data the list operation takes 1-2s | 01:31 |
eandersson | With all data (including unused) it takes 20-30s | 01:32 |
*** ducttape_ has joined #openstack-lbaas | 01:34 | |
*** ducttape_ has quit IRC | 01:37 | |
*** ducttape_ has joined #openstack-lbaas | 02:02 | |
*** ducttape_ has quit IRC | 02:06 | |
*** ducttape_ has joined #openstack-lbaas | 02:08 | |
eandersson | Unwanted data would include things like a list of pools and listeners | 02:17 |
eandersson | While wanted data would include https://github.com/openstack/python-neutronclient/blob/33b8a0cf0bfc66dc68d84dd0592480e5e1ae3288/neutronclient/neutron/v2_0/lb/v2/loadbalancer.py#L42 | 02:18 |
*** reedip has quit IRC | 02:25 | |
*** ducttape_ has quit IRC | 02:25 | |
*** aojea has joined #openstack-lbaas | 02:54 | |
*** fnaval has joined #openstack-lbaas | 02:58 | |
*** aojea has quit IRC | 02:59 | |
openstackgerrit | ZhaoBo proposed openstack/octavia master: Support QoS policy apply on vip port https://review.openstack.org/441912 | 03:09 |
*** reedip has joined #openstack-lbaas | 03:09 | |
*** cody-somerville has joined #openstack-lbaas | 03:10 | |
*** ducttape_ has joined #openstack-lbaas | 03:11 | |
*** csomerville has quit IRC | 03:11 | |
*** cody-somerville has quit IRC | 03:25 | |
*** cody-somerville has joined #openstack-lbaas | 03:25 | |
*** cody-somerville has quit IRC | 03:25 | |
*** cody-somerville has joined #openstack-lbaas | 03:25 | |
*** ducttape_ has quit IRC | 03:30 | |
*** reedip has quit IRC | 03:44 | |
*** reedip has joined #openstack-lbaas | 03:45 | |
*** links has joined #openstack-lbaas | 03:45 | |
*** bbzhao has quit IRC | 03:47 | |
*** bbzhao has joined #openstack-lbaas | 03:48 | |
*** fnaval_ has joined #openstack-lbaas | 04:02 | |
*** fnaval has quit IRC | 04:10 | |
*** gongysh has quit IRC | 04:17 | |
*** ducttape_ has joined #openstack-lbaas | 04:28 | |
*** ducttape_ has quit IRC | 04:33 | |
*** amotoki has joined #openstack-lbaas | 04:37 | |
openstackgerrit | Shashank Kumar Shankar proposed openstack/octavia master: Run Octavia API in a WSGI server https://review.openstack.org/440934 | 05:10 |
*** ducttape_ has joined #openstack-lbaas | 05:58 | |
*** ducttape_ has quit IRC | 06:02 | |
*** reedip has quit IRC | 06:17 | |
*** aojea has joined #openstack-lbaas | 06:30 | |
*** gcheresh_ has joined #openstack-lbaas | 06:36 | |
*** voelzmo has joined #openstack-lbaas | 06:41 | |
*** voelzmo has quit IRC | 06:47 | |
*** voelzmo has joined #openstack-lbaas | 06:47 | |
*** pcaruana has joined #openstack-lbaas | 07:02 | |
*** tesseract has joined #openstack-lbaas | 07:04 | |
*** rcernin has joined #openstack-lbaas | 07:09 | |
*** rcernin has quit IRC | 07:10 | |
*** rcernin has joined #openstack-lbaas | 07:10 | |
*** reedip has joined #openstack-lbaas | 07:10 | |
*** kobis has joined #openstack-lbaas | 07:20 | |
*** aojea has quit IRC | 07:29 | |
*** yamamoto has quit IRC | 07:33 | |
*** yamamoto has joined #openstack-lbaas | 07:34 | |
*** gongysh has joined #openstack-lbaas | 07:56 | |
*** fnaval_ has quit IRC | 08:00 | |
*** aojea has joined #openstack-lbaas | 08:46 | |
*** aojea_ has joined #openstack-lbaas | 08:47 | |
*** yamamoto has quit IRC | 08:48 | |
*** yamamoto has joined #openstack-lbaas | 08:48 | |
*** aojea has quit IRC | 08:50 | |
*** reedip has quit IRC | 09:22 | |
*** foutatoro has joined #openstack-lbaas | 09:24 | |
*** gongysh has quit IRC | 09:52 | |
*** yamamoto has quit IRC | 09:57 | |
*** yamamoto has joined #openstack-lbaas | 09:57 | |
*** fnaval has joined #openstack-lbaas | 10:01 | |
*** fnaval has quit IRC | 10:06 | |
*** ndahiwade has joined #openstack-lbaas | 10:13 | |
*** yamamoto has quit IRC | 10:13 | |
*** yamamoto has joined #openstack-lbaas | 10:15 | |
*** links has quit IRC | 10:39 | |
*** links has joined #openstack-lbaas | 10:54 | |
*** reedip has joined #openstack-lbaas | 10:58 | |
*** voelzmo has quit IRC | 11:24 | |
*** voelzmo has joined #openstack-lbaas | 11:25 | |
reedip | o/ | 11:42 |
*** ducttape_ has joined #openstack-lbaas | 12:00 | |
*** ducttape_ has quit IRC | 12:01 | |
*** ducttape_ has joined #openstack-lbaas | 12:02 | |
*** fnaval has joined #openstack-lbaas | 12:02 | |
*** fnaval has quit IRC | 12:06 | |
openstackgerrit | Nir Magnezi proposed openstack/octavia master: Auto detect haproxy user_group https://review.openstack.org/429398 | 12:07 |
*** ducttape_ has quit IRC | 12:32 | |
xgerman | o/ | 12:37 |
*** voelzmo has quit IRC | 12:38 | |
*** voelzmo has joined #openstack-lbaas | 12:38 | |
*** ducttape_ has joined #openstack-lbaas | 12:39 | |
nmagnezi | xgerman, o/ | 12:39 |
*** voelzmo has quit IRC | 12:40 | |
*** voelzmo has joined #openstack-lbaas | 12:41 | |
nmagnezi | xgerman, do you know if v2 api pools are ready? | 12:49 |
nmagnezi | xgerman, i see we still import from v1 here: https://github.com/openstack/octavia/blob/master/octavia/api/v2/types/listener.py#L19 | 12:50 |
xgerman | yes, it’s ready and merged | 12:50 |
nmagnezi | xgerman, so I'll send a patch to change that | 12:50 |
xgerman | mmh? I tested it and it worked… | 12:50 |
xgerman | maybe they are the same thpes? | 12:50 |
xgerman | k, sounds good | 12:50 |
nmagnezi | xgerman, it caught my eye when i looked at https://review.openstack.org/#/c/453721/ | 12:51 |
nmagnezi | xgerman, but since i was not involved, i imagined is is worth asking | 12:51 |
xgerman | good eye! | 12:51 |
nmagnezi | :D | 12:52 |
nmagnezi | xgerman, same case for v2 l7policy? | 12:55 |
nmagnezi | is it ready? | 12:56 |
nmagnezi | https://github.com/openstack/octavia/blob/master/octavia/api/v2/types/listener.py#L18 | 12:56 |
xgerman | yes, I think they merged as well | 12:56 |
xgerman | yep, probably needs updating, too | 12:56 |
xgerman | bit surprised they are different models since this was a late addition and I thought we made carbon copies between v1 and lbaasv2 | 12:57 |
nmagnezi | xgerman, i'll update both of them in the same patch :) | 13:00 |
xgerman | sound sgood | 13:02 |
openstackgerrit | Brent Eagles proposed openstack/neutron-lbaas master: Create header with authtoken even if no args https://review.openstack.org/454172 | 13:05 |
*** ducttape_ has quit IRC | 13:05 | |
*** catintheroof has joined #openstack-lbaas | 13:05 | |
*** gongysh has joined #openstack-lbaas | 13:08 | |
*** links has quit IRC | 13:09 | |
openstackgerrit | Nir Magnezi proposed openstack/octavia master: Fix imports in v2 listener types https://review.openstack.org/454177 | 13:09 |
nmagnezi | xgerman, ^ | 13:09 |
xgerman | ok | 13:09 |
*** bzhao has quit IRC | 13:11 | |
*** chlong has joined #openstack-lbaas | 13:31 | |
*** ducttape_ has joined #openstack-lbaas | 13:36 | |
beagles | xgerman: I've been working on adding support for octavia in tripleo and we've come across an issue with re-creating the loadbalancer listen port (o-hm0) on reboot. Is there a standard solution or set of recommendations for creating a config that survives reboot? | 13:37 |
xgerman | what are tour rebooting? The amphora? | 13:38 |
beagles | xgerman: the node hosting the octavia services (api, health manager, worker controller, etc) | 13:39 |
beagles | xgerman: we are creating the neutron port and then manually instniating an o-hm0 port on the br-int bridge - but on reboot all of this disappears (or apppears to) | 13:40 |
beagles | xgerman: so we're wondering what others do to make the o-hm0 interface survive reboot | 13:42 |
xgerman | well, I haven’t tried rebooting but the bridges I made would come up without manual intervention | 13:42 |
xgerman | I have bolted veth pairs on them | 13:43 |
xgerman | the veth pair connects to neutron as a provide rnet | 13:43 |
beagles | xgerman: ah right | 13:43 |
xgerman | then my control plane runs in a container which is again connected to the bridge | 13:43 |
xgerman | all my ips are fix (only neutron dhcp for amphora vms) | 13:44 |
xgerman | I also recommend to exlude the fix ips from the pool | 13:45 |
xgerman | (dhcp pool) | 13:45 |
beagles | xgerman: right | 13:45 |
beagles | xgerman: makes sense.. I'll try something similar for tripleo | 13:46 |
xgerman | cool | 13:46 |
beagles | xgerman: thanks! | 13:46 |
*** ducttape_ has quit IRC | 13:48 | |
*** fnaval has joined #openstack-lbaas | 14:03 | |
*** ducttape_ has joined #openstack-lbaas | 14:03 | |
*** ducttape_ has quit IRC | 14:05 | |
*** ducttape_ has joined #openstack-lbaas | 14:05 | |
*** ducttape_ has quit IRC | 14:05 | |
*** ducttape_ has joined #openstack-lbaas | 14:06 | |
*** ducttape_ has quit IRC | 14:06 | |
*** ducttape_ has joined #openstack-lbaas | 14:07 | |
*** fnaval has quit IRC | 14:07 | |
*** ducttape_ has quit IRC | 14:07 | |
*** amitry_ has joined #openstack-lbaas | 14:09 | |
*** gongysh has quit IRC | 14:10 | |
*** amitry has quit IRC | 14:11 | |
*** amitry_ is now known as amitry | 14:11 | |
*** sindhu has quit IRC | 14:11 | |
*** sindhu has joined #openstack-lbaas | 14:13 | |
openstackgerrit | Reedip proposed openstack/octavia master: Introduce Octavia v2 API for Health Monitor https://review.openstack.org/406256 | 14:14 |
reedip | xgerman , rm_work, ankur-gupta-f4, sindhu : rebased to the master, review pending ^ | 14:25 |
xgerman | thx | 14:25 |
*** ducttape_ has joined #openstack-lbaas | 14:41 | |
*** aojea_ has quit IRC | 14:43 | |
*** gcheresh_ has quit IRC | 14:44 | |
*** armax has joined #openstack-lbaas | 14:50 | |
*** voelzmo has quit IRC | 14:51 | |
*** voelzmo has joined #openstack-lbaas | 14:51 | |
*** voelzmo has quit IRC | 14:52 | |
*** voelzmo has joined #openstack-lbaas | 14:53 | |
*** fnaval has joined #openstack-lbaas | 15:01 | |
*** armax has quit IRC | 15:04 | |
*** ducttape_ has quit IRC | 15:06 | |
*** fnaval has quit IRC | 15:06 | |
*** voelzmo has quit IRC | 15:07 | |
*** cody-somerville has quit IRC | 15:08 | |
*** cody-somerville has joined #openstack-lbaas | 15:09 | |
*** cody-somerville has quit IRC | 15:09 | |
*** cody-somerville has joined #openstack-lbaas | 15:09 | |
*** fnaval has joined #openstack-lbaas | 15:09 | |
*** fnaval has quit IRC | 15:10 | |
*** fnaval has joined #openstack-lbaas | 15:11 | |
*** ducttape_ has joined #openstack-lbaas | 15:12 | |
*** ducttape_ has quit IRC | 15:13 | |
*** bzhao has joined #openstack-lbaas | 15:13 | |
*** cody-somerville has quit IRC | 15:19 | |
*** foutatoro has quit IRC | 15:22 | |
*** pcaruana has quit IRC | 15:28 | |
*** kobis has quit IRC | 15:29 | |
*** voelzmo has joined #openstack-lbaas | 15:44 | |
rm_work | k | 15:55 |
rm_work | o/ back | 15:55 |
johnsom | o/ | 15:56 |
rm_work | disappeared unexpectedly yesterday as well >_< | 15:56 |
rm_work | nmagnezi / xgerman: yeah since listeners merged first, v1 were left in as placeholders until the v2 versions made it in, and those were supposed to be changed as the next models down the line merged, but look to have been forgotten as it was a separate file :P | 15:57 |
ankur-gupta-f4 | hallo | 15:58 |
ankur-gupta-f4 | good mornings | 15:58 |
*** voelzmo has quit IRC | 16:02 | |
*** voelzmo has joined #openstack-lbaas | 16:08 | |
*** voelzmo has quit IRC | 16:16 | |
*** armax has joined #openstack-lbaas | 16:27 | |
reedip | its 0030 am ... good morning to u as well :D | 16:32 |
reedip | johnsom : regarding th DNS patch, I confirmed with Nova, they dont have any explicit reason but they have always kept the DNS Name as host-<ip address> so the same can be probably used in Octavi | 16:34 |
johnsom | Cool, I like keeping it simple | 16:34 |
reedip | agreed ! | 16:35 |
*** voelzmo has joined #openstack-lbaas | 16:39 | |
*** voelzmo has quit IRC | 16:49 | |
*** tesseract has quit IRC | 16:50 | |
rm_work | reedip / sindhu: either of you working on HM patch today? | 16:55 |
rm_work | it still needs a bit of work | 16:55 |
sindhu | rm_work: nope | 16:55 |
rm_work | k... i might have time | 16:56 |
reedip | rm_work : if you hve comments, then please let us know, I will , once I wake up in another 5-6 hours | 16:56 |
reedip | or if u have time, then do it | 16:56 |
reedip | oops u beat me to it :) | 16:56 |
rm_work | lol k | 16:56 |
rm_work | in 5-6 hours i'll probably be off | 16:57 |
rm_work | so you can take over if it isn't *ready* still by then | 16:57 |
reedip | sure thingy | 16:57 |
reedip | gotta go now... dont know whats being typed ... too drowsy now | 16:57 |
reedip | :) | 16:57 |
sindhu | rm_work: wanted to ask u abt this: https://review.openstack.org/#/c/453721/ | 16:58 |
rm_work | lol k night reedip | 16:58 |
rm_work | I commented | 16:58 |
rm_work | you mean, ask about my comment? | 16:58 |
sindhu | rm_work: yeah, can u explain a lil more what needs to be looked at. will work on it today | 16:59 |
rm_work | it is a good catch, but the catch is more than just a bad import | 16:59 |
rm_work | i think we need to remove that completely | 16:59 |
rm_work | i mean, either we need to update the controller to also create the members | 16:59 |
rm_work | or we need to not allow sending members into the POST | 16:59 |
rm_work | I think the latter is the case, as I don't believe we should be doing *partial* tree creates | 17:00 |
rm_work | leave that to the "create lb graph" stuff | 17:00 |
rm_work | johnsom: ^^ thoughts? does Neutron-lbaas allow this? | 17:00 |
sindhu | rm_work: remove only from the POST? | 17:01 |
johnsom | rm_work isn't this for single-call-create? | 17:02 |
rm_work | johnsom: i thought single-call-create goes through a different mechanism | 17:11 |
rm_work | not POST /pools/ | 17:11 |
rm_work | for example | 17:11 |
rm_work | I guess it might still use the PoolPOST type? | 17:12 |
rm_work | but, we shouldn't be accepting an array of members to create on a POST to /pools/ right? | 17:12 |
johnsom | https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/extensions/lb_graph.py | 17:12 |
johnsom | https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/extensions/lb_graph.py#L66 | 17:12 |
rm_work | Looking briefly at the controller for Pools, I don't think it'll DO anything with the members | 17:12 |
rm_work | hmm | 17:13 |
rm_work | well there's two options: remove members from pool POST, or fix the controller to actually handle them, I think | 17:13 |
johnsom | Yeah, I don't know that we have single-call wired up yet | 17:13 |
rm_work | so, should we just leave it? | 17:14 |
rm_work | fix the import but have it continue to not function? | 17:14 |
johnsom | It does seem odd to have that there. Maybe there should be separate types for that. | 17:14 |
rm_work | yeah | 17:14 |
rm_work | I think there need to be | 17:14 |
rm_work | otherwise it will also accept members on a non-single-call | 17:14 |
johnsom | Right, which could be good, could be bad | 17:15 |
*** harlowja has joined #openstack-lbaas | 17:23 | |
rm_work | erm... k | 17:27 |
rm_work | I mean if we want to allow for that, I'm not against it | 17:28 |
rm_work | partial trees would be fine | 17:28 |
rm_work | and keeping the models like that would make things simpler in a way | 17:28 |
rm_work | but we'd need to actually make sure it works | 17:28 |
johnsom | Yep | 17:28 |
rm_work | I can do a pass once we get HM going I guess... | 17:28 |
rm_work | ideally we don't have to duplicate a ton of logic | 17:28 |
rm_work | I was actually working in the background on decomposing all the controllers | 17:28 |
rm_work | to make 90% of the boilerplate go away | 17:28 |
rm_work | If i can get my personal life sorted so I'm less distracted, and then actually get all the currently pending stuff through... :/ | 17:29 |
eandersson | johnsom, is the api stuff currently in neutron-lbaas being completely re-done for Pike? | 17:29 |
johnsom | Yep | 17:30 |
johnsom | It will go deprecated | 17:30 |
eandersson | The stuff I found yesterday seem kinda crazy. | 17:30 |
eandersson | So much uncessary work happening in the background. | 17:30 |
rm_work | Yeah I want to say the octavia version of the API won't do this... | 17:31 |
rm_work | (very briefly reviewed your comments earlier in scrollback) | 17:31 |
rm_work | all our models lazy-load | 17:31 |
eandersson | Maybe I am just ignorant, but I don't understand why listing lbs would need to pull and build data for listeners and pools as well. | 17:31 |
rm_work | and I don't believe LB actually displays much | 17:32 |
rm_work | I am not sure it needs to unless we are doing a full-tree display | 17:32 |
rm_work | which is possible | 17:32 |
rm_work | but, maybe it was not properly isolated from regular display | 17:32 |
eandersson | If you want pools and listeners just perform all three calls :D | 17:32 |
rm_work | eugh | 17:32 |
rm_work | i mean by default yes | 17:32 |
rm_work | but we support graph-create | 17:32 |
rm_work | and so we need to be able to generate a full tree | 17:33 |
rm_work | but | 17:33 |
rm_work | I don't think a normal GET needs that, no | 17:33 |
rm_work | i don't know how it was implemented in n-lbaas at all though | 17:33 |
rm_work | we're black-boxing it for Octavia | 17:33 |
rm_work | the actual implementation is totally disconnected | 17:33 |
rm_work | and we use a drastically different DB-interaction model, I feel like | 17:34 |
rm_work | my hope is that you will try in Octavia and notice that it is not a problem :) | 17:34 |
eandersson | We are pretty lock in with vendors as well, so that does not help :p | 17:34 |
rm_work | if you have a solution for the neutron-lbaas side, feel free to post it, we're in feature freeze soon but I would consider that a bugfix | 17:34 |
rm_work | eandersson: Octavia will support vendor plugins very soon | 17:35 |
eandersson | I am testing a solution at the moment, but will need to do a lot of testing to make sure that there are no unforseen side-effects. | 17:35 |
rm_work | as it will be replacing neutron-lbaas completely | 17:35 |
rm_work | it is no longer just an appliance | 17:35 |
rm_work | yeah | 17:35 |
openstackgerrit | Ankur proposed openstack/python-octaviaclient master: Initialize plugin for OSC https://review.openstack.org/446223 | 17:36 |
eandersson | I am afraid to see what is going to happen once we add another 200 LBs to our environment :p | 17:37 |
eandersson | Since we are already at 62s for listening lbs. | 17:37 |
rm_work | eandersson: it is interesting that no one else is noticing this T_T | 17:37 |
rm_work | it makes me wonder if no one actually uses this, or cares, or has already just fixed it internally | 17:37 |
rm_work | or if there's something specific about your deployment that's making this manifest badly | 17:37 |
eandersson | Maybe they are using v1? | 17:38 |
rm_work | lol maybe | 17:38 |
rm_work | T_T | 17:38 |
rm_work | please don't make me depressed this early in the work day | 17:38 |
eandersson | After seeing the crazy amount of stuff happening there is no way that this can't be an issue at scale :p | 17:38 |
eandersson | Don't worry LBAAS is the best <3 | 17:38 |
eandersson | It could just be that they have smaller setups. | 17:38 |
rm_work | maybe | 17:38 |
rm_work | I know Yahoo/Paypal were working on v2 stuff... | 17:39 |
eandersson | Many regions/sites. | 17:39 |
rm_work | since they were doing the UI work for lbaasv2 many moons ago | 17:39 |
rm_work | but maybe they pivoted, or given their propensity to do stuff internal-only, maybe they fixed it and didn't say anything? lol | 17:39 |
rm_work | johnsom: or wait, was their UI thing a weird v1 hack? | 17:39 |
eandersson | I think it's pretty common to keep the number of LBs low as well. | 17:40 |
rm_work | that was so long ago | 17:40 |
rm_work | hmm maybe | 17:40 |
rm_work | yeah RAX definitely would have run into this issue if they went to v2 in their public cloud, rofl | 17:40 |
johnsom | I think they had a v2 api but never released it publicly | 17:40 |
eandersson | Although this work is spread out over tenants. | 17:41 |
*** cody-somerville has joined #openstack-lbaas | 17:41 | |
*** cody-somerville has quit IRC | 17:41 | |
*** cody-somerville has joined #openstack-lbaas | 17:41 | |
eandersson | So it's only slow if you have a lot of lbs in a tenant (or if you are an admin and list all lbs for all tenants) | 17:42 |
rm_work | ah right, it'd be per-tenant | 17:44 |
*** foutatoro has joined #openstack-lbaas | 18:01 | |
*** cody-somerville has quit IRC | 18:03 | |
*** chlong has quit IRC | 18:04 | |
*** bread has joined #openstack-lbaas | 18:08 | |
*** bread is now known as Guest10182 | 18:08 | |
*** armax has quit IRC | 18:18 | |
*** armax has joined #openstack-lbaas | 18:18 | |
*** chlong has joined #openstack-lbaas | 18:19 | |
*** armax has quit IRC | 18:22 | |
openstackgerrit | Ihar Hrachyshka proposed openstack/neutron-lbaas master: Remove subunit-trace fork https://review.openstack.org/454284 | 18:23 |
*** armax has joined #openstack-lbaas | 18:23 | |
*** aojea has joined #openstack-lbaas | 18:25 | |
*** armax has quit IRC | 18:25 | |
*** voelzmo has joined #openstack-lbaas | 18:41 | |
openstackgerrit | Alexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Monitoring IP/Port https://review.openstack.org/453001 | 18:41 |
*** gcheresh_ has joined #openstack-lbaas | 18:41 | |
openstackgerrit | Alexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Monitoring IP/Port https://review.openstack.org/453001 | 18:42 |
eandersson | rm_work: So my current fix is silly. I added a new parameter to from_sqlalchemy_model called exclude | 18:47 |
eandersson | When running the lbaas-loadbalancer-list command I simply pass listeners, pools and stats to exclude | 18:48 |
rm_work | I would maybe go the other way kinda | 18:48 |
rm_work | make it "show_tree=False" | 18:48 |
eandersson | yea | 18:48 |
rm_work | and then if show_tree, include them | 18:48 |
eandersson | good idea I'll try that out as well | 18:48 |
rm_work | and then go to the specific places we might need to actually generate the whole tree | 18:49 |
rm_work | and set it to true explicitly there | 18:49 |
rm_work | *pass it as True | 18:49 |
eandersson | with this it's down to 3s from 30s :D | 18:49 |
rm_work | cool | 18:49 |
rm_work | yeah you can feel free to push up as early as you want | 18:50 |
rm_work | we don't judge (too harshly) :P | 18:50 |
eandersson | haha | 18:50 |
rm_work | but it helps us give direction earlier in case it looks like you're going in a very different direction than we'd recommend | 18:50 |
nmagnezi | o/ | 18:50 |
rm_work | or in nmagnezi's case, he pushes up code early anyway and we don't look at it for months and then tell him he went the wrong direction >_> | 18:51 |
rm_work | sorry nmagnezi | 18:51 |
rm_work | it helps to poke us :P | 18:51 |
nmagnezi | HA | 18:51 |
rm_work | most of us are busy enough that unless people say "hey, please look at this review: <link>" we don't get around to it T_T | 18:52 |
rm_work | except very periodically | 18:52 |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Install DIB from source so depends-on will work https://review.openstack.org/444707 | 18:53 |
nmagnezi | rm_work, so it will be a good idea to poke you and johnsom about this bug that currently blocks user_group auto detect https://bugs.launchpad.net/octavia/+bug/1680435 | 18:53 |
openstack | Launchpad bug 1680435 in octavia "Amphora images based on RHEL flavors should use Python 3 interpreter same as in Ubuntu" [Undecided,New] | 18:53 |
rm_work | yeah i did actually see that nmagnezi :P | 18:53 |
rm_work | which is why i just looked at my DIB patch again | 18:53 |
rm_work | though it is unfortunately unrelated | 18:53 |
rm_work | *different* py2/3 issue | 18:53 |
rm_work | but i had to chec | 18:54 |
rm_work | *check | 18:54 |
* nmagnezi takes a note that he should add a crone job that reminds him to poke Adam once a week | 18:54 | |
rm_work | it's not a bad idea :/ | 18:54 |
rm_work | I've discovered that generally not putting a lot of effort into tracking things (which would probably make me go mad) works fine, because if stuff is important it tends to stay on my radar by itself, and if it isn't, it falls off automatically :P | 18:55 |
nmagnezi | rm_work, also see https://review.openstack.org/#/c/429398/32/octavia/amphorae/backends/agent/api_server/listener.py | 18:55 |
nmagnezi | rm_work, it actually worked :D | 18:55 |
nmagnezi | (for ubuntu..) | 18:55 |
rm_work | lol | 18:55 |
rm_work | i'd caution about the use of bytes / b.decode and such there | 18:55 |
rm_work | just because of py2/3 issues | 18:55 |
rm_work | which might be why you're running into this? | 18:56 |
rm_work | IMO we still need the agent to be 2/3 compat | 18:56 |
nmagnezi | yes, this does not work on python 2 | 18:56 |
rm_work | right | 18:56 |
rm_work | so maybe the key is | 18:56 |
rm_work | to make it work on either :P | 18:56 |
rm_work | I can help maybe | 18:56 |
rm_work | I have done a LOT of this | 18:56 |
nmagnezi | if you have an idea, please speak :) I | 18:56 |
rm_work | let me look briefly | 18:56 |
nmagnezi | I'll try to implement it | 18:56 |
rm_work | will run some tests | 18:57 |
nmagnezi | i wanted to refrain from "if python2 -> run this else (python3) run that" | 18:57 |
nmagnezi | since it's... ugly.. | 18:57 |
rm_work | yeah | 18:57 |
nmagnezi | :) | 18:57 |
rm_work | i would not | 18:57 |
rm_work | sec | 18:57 |
nmagnezi | rm_work, i will be back in ~30min | 18:58 |
rm_work | kk | 18:58 |
rm_work | gives me time :) | 18:58 |
nmagnezi | hah | 18:58 |
nmagnezi | or you can wait for me to return :D | 18:58 |
*** gcheresh_ has quit IRC | 18:59 | |
*** gcheresh has joined #openstack-lbaas | 18:59 | |
*** blogan_ has joined #openstack-lbaas | 19:03 | |
*** cody-somerville has joined #openstack-lbaas | 19:05 | |
foutatoro | hi all, did someone use lbaasv2 in ocata ? it seems that the default ha driver for lbaas in no longer working | 19:05 |
*** blogan has quit IRC | 19:06 | |
*** csomerville has joined #openstack-lbaas | 19:07 | |
rm_work | foutatoro: that being, Octavia? | 19:09 |
rm_work | default driver for neutrin-lbaas in Ocata should be Octavia | 19:09 |
rm_work | or do you mean, the haproxy_agent driver? | 19:10 |
*** cody-somerville has quit IRC | 19:10 | |
foutatoro | rm_work: I've installed openstak with openstack-ansible deployer an the default lbaas in this project in ha | 19:10 |
rm_work | can you pastebin the neutron-lbaas configuration you are using? with any passwords removed of course | 19:11 |
johnsom | xgerman I thought the default driver in OSA was octavia? | 19:13 |
xgerman | Yes | 19:14 |
xgerman | But Ocata does not have Octavia - so not sure | 19:15 |
xgerman | Ocata Andi LE | 19:15 |
xgerman | Andi LE | 19:15 |
xgerman | Hate autocorrect | 19:15 |
rm_work | hmm | 19:15 |
johnsom | Ah, so maybe it's a neutron-lbaas role that used the old haproxy namespace driver | 19:16 |
*** voelzmo has quit IRC | 19:16 | |
foutatoro | johnsom: yes the neutron-lbaas role is using the old one | 19:17 |
openstackgerrit | Ihar Hrachyshka proposed openstack/neutron-lbaas master: Configure api_extensions= in tempest.conf https://review.openstack.org/454315 | 19:19 |
johnsom | We do have a gate that tests the old driver | 19:19 |
openstackgerrit | Ihar Hrachyshka proposed openstack/neutron-lbaas master: Configure api_extensions= in tempest.conf https://review.openstack.org/454315 | 19:19 |
johnsom | But most of use don't use that driver | 19:19 |
openstackgerrit | Brent Eagles proposed openstack/neutron-lbaas master: Create header with authtoken for requests without args https://review.openstack.org/454172 | 19:21 |
johnsom | foutatoro What problem are you seeing? | 19:22 |
*** fnaval has quit IRC | 19:22 | |
foutatoro | johnsom: i get this error http://paste.openstack.org/show/605659/ | 19:24 |
foutatoro | I get that in lbaas namespace | 19:26 |
rm_work | nmagnezi: ok got a suggested course of action | 19:31 |
rm_work | that is ... when you try to connect to the VIP? | 19:31 |
rm_work | that just looks like you don't have any members in the haproxy config that was generated | 19:31 |
rm_work | i am not actually sure why the regex i posted in that comment works, but it seems to <_< | 19:36 |
rm_work | nmagnezi: http://www.regexpal.com/?fam=97343 | 19:38 |
*** mdurrant has joined #openstack-lbaas | 19:39 | |
mdurrant | I've looked all over the web and can't find a spec for how flavors will be implemented in LBaaS or Octavia. Could someone in the know please point me in the right direction? Thank you. | 19:39 |
rm_work | nmagnezi: anyway I tested that stringio thing in py2 and py3 assuming bytes as input, and it should work | 19:39 |
xgerman | mdurrant: https://review.openstack.org/#/c/392485/ | 19:42 |
xgerman | we have a spec but it needs some more ironing out | 19:42 |
rm_work | I guess the issue might be if py2 doesn't return bytes from the stream object? | 19:42 |
xgerman | so please comment | 19:42 |
johnsom | ^^^ Faster on the paste than I was | 19:42 |
xgerman | back from my coffee run… | 19:42 |
mdurrant | Thank you xgerman | 19:42 |
mdurrant | :) | 19:42 |
*** openstack has joined #openstack-lbaas | 19:48 | |
openstackgerrit | Merged openstack/neutron-lbaas master: Updated from global requirements https://review.openstack.org/453894 | 19:50 |
openstackgerrit | Merged openstack/octavia master: Updated from global requirements https://review.openstack.org/453897 | 19:52 |
foutatoro | rm_work johnsom: take a look to these outputs http://paste.openstack.org/show/605664/ | 19:52 |
foutatoro | it seems that health is working correctly | 19:53 |
openstackgerrit | Brent Eagles proposed openstack/neutron-lbaas master: Create header with authtoken for requests without args https://review.openstack.org/454172 | 19:54 |
*** armax has joined #openstack-lbaas | 19:56 | |
*** voelzmo has joined #openstack-lbaas | 19:57 | |
*** voelzmo has joined #openstack-lbaas | 19:57 | |
johnsom | foutatoro On the host with the haproxy process and the lbaas agent, do a "sudo ip netns" | 19:58 |
johnsom | There should be a netns named "lbaas-<uuid>" | 19:58 |
johnsom | Is there more than one? | 19:58 |
foutatoro | johnsom: there is only one | 20:00 |
*** voelzmo has quit IRC | 20:01 | |
*** harlowja has quit IRC | 20:03 | |
johnsom | foutatoro Ok, good. Run "ip netns exec lbaas-<uuid> curl http://192.168.74.11:8080" and see if it responds | 20:03 |
foutatoro | johnsom: yes it works I can reach both members from lbaas namespace | 20:06 |
foutatoro | but not with VIP | 20:06 |
johnsom | Ok, that is odd then. | 20:06 |
johnsom | foutatoro Can you pastebin the haproxy config file it is using? The path should be visible in the process list | 20:07 |
foutatoro | johsom: netstat -tulpn | 20:07 |
foutatoro | tcp 0 0 192.168.74.5:80 0.0.0.0:* LISTEN 13880/haproxy | 20:07 |
johnsom | Also, there should be a log file for haproxy somewhere | 20:07 |
rm_work | nmagnezi: let me know when you're back around | 20:07 |
foutatoro | johnsom: where can I finf these config because the /etc/haproxy/haproxy.cfg contains default configs | 20:09 |
johnsom | foutatoro do a "ps -ef | grep 13880" | 20:10 |
foutatoro | johnsom: nobody 13880 1 0 20:49 ? 00:00:01 haproxy -f /var/lib/neutron/lbaas/v2/6a79a66a-a383-4f54-ab92-62179948a362/haproxy.conf -p /var/lib/neutron/lbaas/v2/6a79a66a-a383-4f54-ab92-62179948a362/haproxy.pid -sf 13846 | 20:11 |
johnsom | Cool, it is this file: /var/lib/neutron/lbaas/v2/6a79a66a-a383-4f54-ab92-62179948a362/haproxy.conf | 20:11 |
foutatoro | johnsom: http://paste.openstack.org/show/605668/ | 20:13 |
johnsom | foutatoro That config file looks good to me. | 20:15 |
foutatoro | johnsom: do you have a working heat template ? | 20:16 |
johnsom | I have never used heat myself | 20:16 |
johnsom | foutatoro If you don't mind installing socat could you run this? | 20:20 |
johnsom | echo "show servers state" | socat unix-connect:/var/lib/neutron/lbaas/v2/6a79a66a-a383-4f54-ab92-62179948a362/haproxy_stats.sock stdio | 20:20 |
foutatoro | johnsom: I just delete the stack. i wil try again | 20:22 |
johnsom | foutatoro Thanks, curious what the issue is | 20:26 |
foutatoro | johnsom: I will run again using openstack cli then retry with heat | 20:27 |
*** armax has quit IRC | 20:30 | |
openstackgerrit | Alexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Monitoring IP/Port https://review.openstack.org/453001 | 20:31 |
*** rcernin has quit IRC | 20:44 | |
*** gcheresh has quit IRC | 20:46 | |
rm_work | reedip: not sure what you did with the HM patch... was that a merge? | 20:54 |
rm_work | seems like it reintroduced some old code somehow, and a few pep8 errors | 20:54 |
rm_work | i'm fixing it up now | 20:54 |
*** chlong has quit IRC | 20:57 | |
*** openstackstatus has quit IRC | 20:59 | |
*** openstackstatus has joined #openstack-lbaas | 21:01 | |
*** ChanServ sets mode: +v openstackstatus | 21:01 | |
*** harlowja has joined #openstack-lbaas | 21:03 | |
nmagnezi | rm_work, hey | 21:04 |
nmagnezi | rm_work, sorry it took longer than expected :D | 21:05 |
rm_work | np | 21:06 |
rm_work | made comments, and see my pings | 21:06 |
*** openstackgerrit has quit IRC | 21:07 | |
*** chlong has joined #openstack-lbaas | 21:10 | |
*** openstackgerrit has joined #openstack-lbaas | 21:17 | |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Introduce Octavia v2 API for Health Monitor https://review.openstack.org/406256 | 21:17 |
rm_work | ok still a few failing functional tests... still haven't had time to track down why it isn't flushing out the statuses properly sometimes O_o | 21:17 |
rm_work | I hope tomorrow I can do that, if reedip doesn't have time before me | 21:18 |
*** sputnik13 has quit IRC | 21:33 | |
*** sputnik13 has joined #openstack-lbaas | 21:34 | |
*** catintheroof has quit IRC | 21:38 | |
*** bzhao_ has joined #openstack-lbaas | 21:43 | |
rm_work | whelp, looks like my logs are outdated... | 21:50 |
rm_work | nmagnezi: let me know if you have questions, i might have missed stuff, my IRC client closed and didn't actually store logs | 21:53 |
*** fnaval has joined #openstack-lbaas | 21:54 | |
openstackgerrit | German Eichberger proposed openstack/octavia master: ACTIVE-ACTIVE Topology: Initial Distributor Noop Driver https://review.openstack.org/313006 | 21:58 |
nmagnezi | xgerman, that was a quick adoption.. | 21:59 |
nmagnezi | :) | 21:59 |
*** openstack has joined #openstack-lbaas | 22:04 | |
*** chlong has quit IRC | 22:05 | |
*** aojea has quit IRC | 22:07 | |
*** sputnik13 has quit IRC | 22:10 | |
foutatoro | johnsom: still here | 22:11 |
johnsom | Yes | 22:11 |
johnsom | Trying to figure out why my venv isn't playing nice with the openstack plugin | 22:11 |
*** sputnik13 has joined #openstack-lbaas | 22:12 | |
foutatoro | johnson: I'm lbaas ha driver by creting env with neutron. now the lbaas works when I run wget to the private ip of q-lbaas | 22:14 |
foutatoro | but not floating ip | 22:14 |
johnsom | Ah, it was the floating IP that wasn't working? | 22:15 |
foutatoro | johnsom: this is not the previous lab with heat. I buid resources using CLI | 22:18 |
johnsom | foutatoro Ok | 22:18 |
foutatoro | johnsom: I think that the official heat template has some mistakes | 22:19 |
johnsom | foutatoro Ok, can you file a bug for the heat template? https://bugs.launchpad.net/heat-templates/+filebug | 22:23 |
foutatoro | yeah | 22:24 |
johnsom | Thanks | 22:24 |
*** bzhao has quit IRC | 22:27 | |
*** bzhao has joined #openstack-lbaas | 22:27 | |
*** sputnik13 has quit IRC | 22:37 | |
*** sputnik13 has joined #openstack-lbaas | 22:38 | |
*** sputnik13 has quit IRC | 22:39 | |
*** sputnik13 has joined #openstack-lbaas | 22:40 | |
*** fnaval has quit IRC | 23:00 | |
openstackgerrit | Ankur proposed openstack/python-octaviaclient master: Initialize plugin for OSC https://review.openstack.org/446223 | 23:05 |
rm_work | ok hopefully soon py3 gates will be passing | 23:06 |
rm_work | o/ | 23:06 |
rm_work | unless there's ANOTHER bug in DIB down the line, but hopefully this is it | 23:06 |
johnsom | +1 | 23:06 |
*** netchord has quit IRC | 23:12 | |
*** gongysh has joined #openstack-lbaas | 23:18 | |
ankur-gupta-f4 | rm_work: When you get a chance. A lil love https://review.openstack.org/#/c/446223/ | 23:23 |
ankur-gupta-f4 | xgerman: Also you ^^^ please and thank you :) | 23:25 |
openstackgerrit | Alexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Monitoring IP/Port https://review.openstack.org/453001 | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!