Tuesday, 2017-04-04

rm_workjohnsom: so i am 90% sure i'm going to just take tomorrow off <_<00:02
johnsomOk, have a good one!00:02
rm_workso you should force someone else to make quick changes if L7Policies is close! :P00:03
johnsomHaha, ok00:03
rm_worki did the rules changes... HM needs a little more work00:03
rm_workthen I'll rebase sorting/paging again00:04
rm_workTBH I should probably test rules better locally though00:04
rm_worki've been in "churn through normalization as fast as possible" mode00:04
rm_workbasically getting them behaving all the same00:04
rm_workmight have missed some details :/00:04
*** reedip has joined #openstack-lbaas00:10
*** catintheroof has joined #openstack-lbaas00:25
openstackgerritGerman Eichberger proposed openstack/neutron-lbaas master: Octavia Proxy Plugin  https://review.openstack.org/41853000:37
openstackgerritAlexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Health Monitoring Port  https://review.openstack.org/45300100:52
*** catintheroof has quit IRC01:02
openstackgerritJason Niesz proposed openstack/octavia master: blueprint: l3-active-active  https://review.openstack.org/45300501:46
*** reedip has quit IRC01:47
*** harlowja has quit IRC02:06
*** aojea has joined #openstack-lbaas02:21
*** aojea has quit IRC02:25
openstackgerritAlexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Health Monitoring Port  https://review.openstack.org/45300102:36
openstackgerritAlexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Health Monitoring Port  https://review.openstack.org/45300102:37
*** reedip has joined #openstack-lbaas02:47
*** harlowja has joined #openstack-lbaas02:50
*** sanfern has joined #openstack-lbaas02:53
*** reedip has quit IRC02:53
*** reedip has joined #openstack-lbaas03:02
*** fnaval has joined #openstack-lbaas03:06
*** links has joined #openstack-lbaas03:08
reedipo\ /o03:32
*** amotoki has joined #openstack-lbaas03:34
*** csomerville has quit IRC03:45
openstackgerritAlexander Amerine proposed openstack/octavia master: blueprint LBaaS Alternative Health Monitoring Port  https://review.openstack.org/45300103:46
*** amotoki has quit IRC03:50
*** harlowja has quit IRC03:56
*** amotoki has joined #openstack-lbaas04:01
*** armax has joined #openstack-lbaas04:05
*** harlowja has joined #openstack-lbaas04:07
*** amotoki has quit IRC04:19
*** amotoki has joined #openstack-lbaas04:28
openstackgerritAnkur proposed openstack/octavia master: Add loadbalancer status tree call  https://review.openstack.org/43398204:29
openstackgerritAnkur proposed openstack/octavia master: Add loadbalancer status tree call  https://review.openstack.org/43398204:29
*** harlowja has quit IRC04:33
*** rcernin has joined #openstack-lbaas04:45
*** rcernin has quit IRC05:09
*** rcernin has joined #openstack-lbaas05:11
*** harlowja has joined #openstack-lbaas05:11
*** ankur-gupta-f4 has quit IRC05:14
*** fnaval has quit IRC05:15
*** amotoki has quit IRC05:26
*** fnaval has joined #openstack-lbaas05:29
*** amotoki has joined #openstack-lbaas05:30
*** aojea has joined #openstack-lbaas05:34
*** gcheresh_ has joined #openstack-lbaas05:37
*** aojea has quit IRC05:41
*** madgoat has joined #openstack-lbaas05:57
*** madgoat has left #openstack-lbaas05:57
*** harlowja has quit IRC06:02
*** voelzmo has joined #openstack-lbaas06:19
*** voelzmo has quit IRC06:24
*** tesseract has joined #openstack-lbaas06:26
*** voelzmo has joined #openstack-lbaas06:27
*** fnaval has quit IRC06:39
*** krypto has joined #openstack-lbaas06:41
*** sputnik13 has quit IRC06:50
*** sputnik13 has joined #openstack-lbaas06:54
*** sputnik13 has quit IRC06:54
*** sputnik13 has joined #openstack-lbaas06:56
*** amotoki has quit IRC07:00
*** amotoki has joined #openstack-lbaas07:03
*** ankur-gupta-f4 has joined #openstack-lbaas07:16
*** pcaruana has joined #openstack-lbaas07:19
*** aojea has joined #openstack-lbaas07:24
*** aojea_ has joined #openstack-lbaas07:27
*** aojea has quit IRC07:30
*** amotoki has quit IRC07:35
*** amotoki has joined #openstack-lbaas07:36
*** armax has quit IRC07:44
*** ianychoi has quit IRC07:54
*** ianychoi has joined #openstack-lbaas08:17
*** reedip has quit IRC08:20
*** reedip has joined #openstack-lbaas08:33
openstackgerritNir Magnezi proposed openstack/octavia master: (WIP) Auto detect haproxy user_group  https://review.openstack.org/42939808:48
openstackgerritNir Magnezi proposed openstack/octavia master: (WIP) Auto detect haproxy user_group  https://review.openstack.org/42939808:49
*** reedip has quit IRC08:50
openstackgerritNir Magnezi proposed openstack/octavia master: (WIP) Auto detect haproxy user_group  https://review.openstack.org/42939809:29
*** reedip has joined #openstack-lbaas09:34
*** belharar has joined #openstack-lbaas10:01
reediprm_work, johnsom, xgerman : hi10:02
reediprm_work, xgerman, johnsom: Though LBaaS is not a Neutron Project, it still links up with networking( in turn neutron ). The following proposal is requested in Neutron, and I think Octavia can also be included in it. Let me know your thoughts  #link https://review.openstack.org/#/c/333993/10:04
*** gcheresh_ has quit IRC10:15
*** gcheresh_ has joined #openstack-lbaas10:15
*** belharar has quit IRC10:36
*** krypto has quit IRC10:49
*** sanfern has quit IRC10:53
*** krypto has joined #openstack-lbaas10:59
*** belharar has joined #openstack-lbaas11:18
*** gcheresh_ has quit IRC11:22
*** gcheresh_ has joined #openstack-lbaas11:23
*** voelzmo has quit IRC11:58
*** voelzmo has joined #openstack-lbaas12:01
*** catintheroof has joined #openstack-lbaas12:05
*** chlong has joined #openstack-lbaas12:10
*** krypto has quit IRC12:19
*** voelzmo has quit IRC12:41
*** voelzmo has joined #openstack-lbaas12:43
*** voelzmo has quit IRC12:46
*** voelzmo has joined #openstack-lbaas12:49
*** krypto has joined #openstack-lbaas13:01
openstackgerritNir Magnezi proposed openstack/octavia master: (WIP) Auto detect haproxy user_group  https://review.openstack.org/42939813:03
*** links has quit IRC13:04
*** amotoki has quit IRC13:15
reedip-  -13:26
nmagnezio/13:39
*** amotoki has joined #openstack-lbaas13:50
*** amotoki has quit IRC13:59
*** armax has joined #openstack-lbaas14:11
*** amotoki has joined #openstack-lbaas14:17
*** fnaval has joined #openstack-lbaas14:50
*** belharar_ has joined #openstack-lbaas14:50
diltramnmagnezi: hey14:51
*** belharar_ has quit IRC14:51
*** armax has quit IRC14:51
diltramyou made this patch too drastical14:51
nmagnezidiltram, hi14:51
diltramwe need to deprecate those config options14:51
diltramand not remove them14:51
*** belharar has quit IRC14:52
diltramand just if image supports setting them it should be provided but if image is prebaked with this config it's gonna be omitted14:52
diltramwe still need to provide backward compatibility14:53
*** belharar has joined #openstack-lbaas14:53
*** armax has joined #openstack-lbaas14:56
nmagnezidiltram, okay, so how will you know if the image supports it or not?14:59
nmagnezidiltram, from the controller side14:59
*** belharar_ has joined #openstack-lbaas15:01
diltramyou can't test this from controller side15:01
nmagnezii know15:01
nmagnezii'm trying to understand your intention :)15:01
diltram:P15:01
diltramwe need to made some changes in amphora15:02
diltrammake*15:02
*** belharar has quit IRC15:05
nmagnezithis patch follows the following logic: the amp agent uses a user group which is pre-baked in the image. and the controller no longer render that param in amphora-agent.conf. for cases if new agent with old controllers the agent will ignore user_group from the config file by removing it somehow (this specific part is WIP)15:05
nmagnezidiltram, which part should be changed?15:06
diltramnmagnezi: trying to find :P15:06
nmagneziO_o15:06
diltrambut what about situation that there is new controller, old amphora?15:07
diltramit more possible than opposite15:07
diltramat first you're updating controll plane than you're working on data plane15:08
nmagnezivalid point15:08
diltramthe same is with use_upstart15:08
diltramwe're still supporting this15:08
diltrambut amphora is automatically detecting this setting15:08
diltramproblem is that we're genereting config on controller and we're not doing anything with it on amphora15:09
nmagnezithat's actually okay15:09
nmagneziin case it is auto detected by the amp agent it should be okay to ignore what is coming from the agent15:09
nmagnezithere is a different problem here15:09
nmagneziwith new controller, old agent15:10
nmagnezii need to make sure and new controllers still send that config option, just to make the amp agent to ignore it and auto detect15:10
nmagneziso old agents will still work15:10
nmagnezithe assumption is that if the agent is "smart" enough to auto-detect, it does not need the controller to tell him the user_group15:11
nmagneziwe just need to make sure old agents won't break15:11
diltramnmagnezi: https://github.com/openstack/octavia/blob/master/octavia/amphorae/backends/agent/api_server/keepalived.py#L4015:12
*** gcheresh_ has quit IRC15:12
diltramhere you can strip this param15:13
diltramyeah, for the next two releases we need to support this param15:13
diltrameven if new amphora will not use it15:13
*** armax has quit IRC15:13
nmagneziwhy strip it in keepalived?15:13
diltramok not even here15:14
diltramthere is just keepalived config15:14
diltrambut yeah15:14
diltramthe whole controller code stays the same15:14
nmagnezidiltram, here: https://github.com/openstack/octavia/blob/master/octavia/amphorae/backends/agent/api_server/listener.py#L112-L11415:14
diltramexactly :P15:15
nmagnezidiltram, aside from the deprecation note you are correct about the controller15:15
nmagnezi:)15:15
diltramgreat :)15:15
nmagnezithanks for the feedback diltram :)15:15
diltramthat agreed15:15
diltramsure, np :)15:15
nmagnezidiltram, heading home, catch you later15:16
openstackgerritShashank Kumar Shankar proposed openstack/octavia master: Run Octavia API in a WSGI server  https://review.openstack.org/44093415:16
diltramcu15:17
*** bzhao has quit IRC15:23
*** bzhao has joined #openstack-lbaas15:24
*** belharar_ has quit IRC15:33
*** aojea_ has quit IRC15:49
diltramjohnsom: ping15:51
openstackgerritLubosz Kosnik (diltram) proposed openstack/octavia master: Update devstack to properly configure nova-lxd img  https://review.openstack.org/45323715:52
*** pcaruana has quit IRC16:01
*** voelzmo has quit IRC16:03
johnsomdiltram Hi16:06
diltramhello16:07
johnsomYou rang?16:08
diltramjohnsom: can you take a look into this: https://review.openstack.org/#/c/453237/1/devstack/plugin.sh@6716:08
diltramI need your advice16:08
diltramshould we do this like I made it16:08
diltramor I should just move this into dib element?16:08
diltramI'm talking about this directories16:09
diltramthe rest can be changed after removing those directories16:09
johnsomYeah, I would lean towards doing it in an element16:10
diltramok, had the same feeling16:10
johnsomYeah, in the same patch you create the element we can create a lxd type in the script that gzips it\16:11
diltramsure16:12
diltramgonna change it16:12
diltramany thoughts about the element name?16:13
johnsomlxd-config ?  Something with LXD I guess16:14
johnsomUnless of course docker has the same issue, but I doubt it16:14
*** cody-somerville has joined #openstack-lbaas16:17
*** cody-somerville has quit IRC16:17
*** cody-somerville has joined #openstack-lbaas16:17
diltramok16:17
diltramthx johnsom16:17
*** ipsecguy_ has joined #openstack-lbaas16:24
*** ipsecguy has quit IRC16:26
*** krypto has quit IRC16:48
*** krypto has joined #openstack-lbaas16:49
*** tesseract has quit IRC17:04
*** armax has joined #openstack-lbaas17:08
*** armax has quit IRC17:18
*** krypto has quit IRC17:20
*** krypto has joined #openstack-lbaas17:21
*** krypto has quit IRC17:21
*** krypto has joined #openstack-lbaas17:21
openstackgerritLubosz Kosnik (diltram) proposed openstack/octavia master: Update devstack to properly configure nova-lxd img  https://review.openstack.org/45323717:21
*** armax has joined #openstack-lbaas17:27
*** voelzmo has joined #openstack-lbaas17:30
*** voelzmo has quit IRC17:36
*** voelzmo has joined #openstack-lbaas17:40
openstackgerritMerged openstack/octavia master: Fix pool validation exception typo  https://review.openstack.org/45289917:56
*** gcheresh_ has joined #openstack-lbaas18:03
*** mdavidson has joined #openstack-lbaas18:11
*** armax has quit IRC18:14
openstackgerritLubosz Kosnik (diltram) proposed openstack/octavia master: Update devstack to properly configure nova-lxd img  https://review.openstack.org/45323718:29
*** gcheresh_ has quit IRC18:29
openstackgerritSindhu Devale proposed openstack/octavia master: Octavia v2 API needs to return the pools object  https://review.openstack.org/45328818:31
*** amotoki has quit IRC18:34
*** voelzmo has quit IRC18:35
openstackgerritGerman Eichberger proposed openstack/octavia master: Initial version of the operator guide  https://review.openstack.org/44875918:37
*** krypto has quit IRC18:52
*** gcheresh_ has joined #openstack-lbaas19:01
openstackgerritMerged openstack/neutron-lbaas master: Explicitly list neutron api extensions for tests  https://review.openstack.org/45161219:14
*** voelzmo has joined #openstack-lbaas19:17
*** voelzmo has quit IRC19:19
*** aojea has joined #openstack-lbaas19:24
*** harlowja has joined #openstack-lbaas19:24
*** voelzmo has joined #openstack-lbaas19:27
openstackgerritSindhu Devale proposed openstack/octavia master: Introduce Octavia v2 API for Health Monitor  https://review.openstack.org/40625619:28
*** voelzmo has quit IRC19:46
*** kbyrne has quit IRC19:46
*** ducttape_ has joined #openstack-lbaas19:48
*** kbyrne has joined #openstack-lbaas19:50
nmagnezio/19:56
xgermano/20:03
nmagnezixgerman, re: https://review.openstack.org/#/c/452213/20:15
xgermanyep20:15
nmagnezixgerman, if I want to test this, 2 compute nodes should be sufficient, right?20:15
xgermanyes20:15
xgermanI tested it with the new soft-affinity feature20:15
xgermanon one node20:15
xgerman;-)20:16
*** voelzmo has joined #openstack-lbaas20:18
nmagnezixgerman, how? you spawned two n-cpu?20:21
xgermanno, soft-anti-affinity let’s you schedule tow lb on one host if no other host can be found but retain the servergroup20:22
*** voelzmo has quit IRC20:23
*** ducttape_ has quit IRC20:24
*** armax has joined #openstack-lbaas20:30
xgermanneat: http://blog.spinhirne.com/2016/09/the-ovn-load-balancer.html20:33
*** ducttape_ has joined #openstack-lbaas20:34
johnsomHi Nir20:38
johnsomdiltram Image file /opt/stack/new/octavia/diskimage-create/amphora-x64-haproxy.tgz.qcow2 created...20:38
diltramjohnsom: sigh20:38
diltramchecking20:38
johnsomI got a chuckle....20:38
nmagneziHi Michael20:40
johnsomWell, my API testing devstack is too scrambled with the DB migration changes.  Restacking....20:51
*** csomerville has joined #openstack-lbaas20:54
*** rcernin has quit IRC20:55
*** cody-somerville has quit IRC20:57
*** gcheresh_ has quit IRC21:02
xgermanso far so good in my tests21:06
johnsomI posted two comments to the l7policy patch, but needed to restack for the l7rules patch.  The migrations changed (moved between patches) after I had already run them, so it was easier to just restack with the latest patches.21:08
xgermanthat’s what I usually do21:09
johnsomI usually just checkout the latest and redeploy it.21:10
*** aojea has quit IRC21:11
*** aojea has joined #openstack-lbaas21:15
*** aojea_ has joined #openstack-lbaas21:16
*** aojea has quit IRC21:16
xgermanmmh, policies ook happy rules not sure what the json is to create them21:21
xgermanhttps://www.irccloud.com/pastebin/Brzsvd7C/21:23
xgermanHuh?21:25
xgermanhttps://usercontent.irccloud-cdn.com/file/SYgZZQbF/Screen%20Shot%202017-04-04%20at%205.25.04%20PM.png21:25
xgermanjohnsom you get that, too?21:25
xgermanmmh, then it shows up21:26
xgermanwonder if that is the right behavior - return what is set and not what we want to set?21:26
johnsomThe issue where the response doesn't show the update content, but a followup get will?21:26
xgermanyep21:26
johnsomYeah, I opened a bug for that.21:26
xgermank21:27
johnsomIt's something we need to decide.21:27
johnsomIt's a side effect of the asynch API21:27
xgermanwell, all the others return what we want to set it to21:27
johnsomNot on the octavia V2 API, all of them return the "old" info21:27
xgermanmmh, then I must have confused it with POST21:28
xgermanwhich means POST and PUT differ which is odd but not unheard of21:28
xgermanwe can chat at tomorrow’s meeting and vote ;-)21:29
johnsomWell, it might just be inconsistent across the board....21:29
johnsomWe need to make a call on it.21:29
xgermanyep21:29
*** aojea_ has quit IRC21:57
rm_workhere22:12
rm_workah i see i got some sort of clipped line on the policies22:12
rm_workwas that it though, besides reordering not working? :/22:13
johnsomThose two so far.  I had to restack due to the DB migration changes, so poking at rules now22:22
openstackgerritAdam Harwell proposed openstack/octavia master: Align Octavia API to n-lbaasv2 for L7Rules  https://review.openstack.org/40633622:22
openstackgerritAdam Harwell proposed openstack/octavia master: Align Octavia API to n-lbaasv2 for L7Policy  https://review.openstack.org/40632822:22
rm_workfixed the test in Rules (test change only)22:22
rm_workand the O -> OFFLINE typo in policies22:23
johnsomOk22:23
rm_worki am really not understanding why the policies don't reorder22:23
rm_workgonna look again today with fresh eyes22:23
johnsomYeah, haven't had a chance to poke at that today22:23
rm_workI might vote to open a bug for it22:24
johnsomYeah, that is fair.  I found a bug in LB create as well, I opened a bug for that.  Specifying tenant_id doesn't work, throws a validation error22:24
rm_workuhh22:28
johnsomI hate that L7 does null and the older stuff does "" for empty fields.22:28
rm_workoh22:28
rm_workll22:28
rm_work*lol22:28
rm_workthat was the first one to go in22:28
rm_workI think we hadn't ironed out support for args yet22:28
rm_workjohnsom: in neutron too?22:28
johnsomYeah, I have been making sure it matches, bugs and all22:28
johnsomFor all of these I'm running neutron-lbaas first, then Octavia v2 and comparing output:22:29
johnsomhttps://www.irccloud.com/pastebin/aD88S4i8/22:29
rm_workk22:30
rm_work... trying really hard not to throw the fix for the tenant_id thing into my next l7policy patch22:32
johnsomWell the bug is open22:32
johnsomI think sindhu is also working on fixing some of those bugs22:33
johnsomThat said, don't let me stop you from fixing "stuff"22:35
*** fnaval has quit IRC22:42
rm_workthe handling of this reorder stuff is so hacky... i have a theory but I think i need a devstack up to test it with debugging22:44
johnsomOk, also admin-state-up: faluse on l7rule update doesn't do anything.22:45
johnsomIt changes in the DB, but not the config in the amp22:45
rm_workhmmmmm22:46
rm_workyeah k22:46
rm_workI prolly know why22:46
johnsomOk, a quick read over and I'm done testing out l7rules22:48
rm_worki just don't understand the difference here between v1 and v222:48
rm_workfor policy order22:48
johnsomFunctionally that was the only thing I found.22:48
*** catintheroof has quit IRC22:57
johnsomYeah, ok, that is the only issue I have with L7rules, otherwise it is good to go in my book22:59
johnsomIs there something I can help investigate or should I do some other reviews?23:00
rm_worki'm about to test a theory with policies23:04
rm_workif you can test it... prolly post as soon as these tests finish23:13
johnsomYep, NP23:13
openstackgerritAdam Harwell proposed openstack/octavia master: Align Octavia API to n-lbaasv2 for L7Policy  https://review.openstack.org/40632823:14
rm_workabout to post the fix for admin_state on rules23:22
rm_worktrying to find the tests...23:22
rm_workso i can add one23:22
rm_worknot sure what tests the jinja template23:22
rm_workto make sure it generated properly23:22
johnsomHmmm, position still isn't changing for me23:26
rm_work>_<23:36
rm_workdid i break v`23:36
rm_work*v123:36
johnsomDon't know.  I'm looking at the code now to see what is going on23:36
*** csomerville has quit IRC23:37
johnsomOk, that code is screwy23:37
johnsomThere is no use of that inner session23:38
johnsomYeah, so there is literally nothing actually setting the position value in the database.  I'm still trying to figure out what the story is with this listener position code23:40
johnsomAh, sqlalchemy "magic", hmmmm23:43
johnsomStill don't get the inner session23:43
*** sticker has joined #openstack-lbaas23:46
*** ducttape_ has quit IRC23:46
*** ducttape_ has joined #openstack-lbaas23:46
*** ducttape_ has quit IRC23:48
*** ducttape_ has joined #openstack-lbaas23:48
rm_workjohnsom: i mean, keep in mind that this DOES work with v1, right??? >_>23:50
*** _ducttape_ has joined #openstack-lbaas23:50
*** ducttape_ has quit IRC23:50
johnsomI think you had me try that yes23:50
rm_workugh this jinja stuff is a maze23:51
rm_worktrying to do TDD but getting the tests to expect what I want is even confusing23:51
*** yuanying_ has quit IRC23:53
johnsomI am going to try v1 again.23:54
rm_workk23:56
johnsomv1 isn't working now23:59

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