Tuesday, 2017-06-13

*** catintheroof has quit IRC00:03
openstackgerritMichael Johnson proposed openstack/octavia master: Remove deprecated signing_dir config setting  https://review.openstack.org/47363000:04
*** sticker has joined #openstack-lbaas00:05
*** catintheroof has joined #openstack-lbaas00:11
*** catintheroof has quit IRC00:25
rm_workjohnsom: ugh ok... so what did you do to fix that00:39
rm_worki will notice it on my next stack00:39
*** armax has quit IRC00:50
*** armax has joined #openstack-lbaas00:53
*** JudeC has joined #openstack-lbaas00:54
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927501:00
JudeCnot sure why those gates failed :/01:01
*** JudeC has quit IRC01:02
*** aojea has joined #openstack-lbaas01:12
*** dayou has joined #openstack-lbaas01:37
*** aojea has quit IRC02:15
*** yamamoto has joined #openstack-lbaas02:25
*** chlong has quit IRC02:42
*** cody-somerville has quit IRC03:20
*** gcheresh has joined #openstack-lbaas03:26
*** gans has joined #openstack-lbaas03:33
*** armax has quit IRC03:50
*** gcheresh has quit IRC03:51
*** links has joined #openstack-lbaas04:32
*** aojea has joined #openstack-lbaas04:45
*** aojea has quit IRC04:45
*** gans819 has joined #openstack-lbaas04:46
*** gans819 has quit IRC04:47
*** gans has quit IRC04:48
*** aojea has joined #openstack-lbaas04:50
*** aojea has quit IRC04:59
*** aojea has joined #openstack-lbaas05:00
*** aojea has quit IRC05:05
*** gans819 has joined #openstack-lbaas05:18
*** gcheresh has joined #openstack-lbaas05:21
*** rstarmer has joined #openstack-lbaas05:26
*** amotoki_away is now known as amotoki05:27
*** gans819 has quit IRC05:30
*** gans819 has joined #openstack-lbaas05:31
*** gans819 has quit IRC05:37
*** sticker_ has joined #openstack-lbaas06:03
*** rcernin has joined #openstack-lbaas06:05
*** sticker has quit IRC06:06
*** pcaruana has joined #openstack-lbaas06:06
*** gans has joined #openstack-lbaas06:08
*** fnaval has joined #openstack-lbaas06:10
*** fnaval has quit IRC06:13
*** sticker_ is now known as sticker06:16
*** tesseract has joined #openstack-lbaas06:41
*** isantosp has quit IRC07:02
openstackgerritDeepak Mourya proposed openstack/octavia master: Remove pbr warnerrors in favor of sphinx check  https://review.openstack.org/47371407:22
nmagnezirm_work, you do self code reviews? :D https://review.openstack.org/#/c/435612/1/octavia/controller/worker/tasks/network_tasks.py07:52
rm_workmaybe :P07:54
*** yamamoto has quit IRC08:30
*** yamamoto has joined #openstack-lbaas08:35
*** rstarmer has quit IRC08:49
*** rstarmer has joined #openstack-lbaas09:13
*** rstarmer has quit IRC09:17
*** yamamoto has quit IRC09:19
*** yamamoto has joined #openstack-lbaas09:36
*** yamamoto has quit IRC09:37
*** rstarmer has joined #openstack-lbaas09:44
*** yamamoto has joined #openstack-lbaas09:54
*** yamamoto has quit IRC10:23
*** gans819 has joined #openstack-lbaas10:31
*** gans has quit IRC10:34
*** sanfern has joined #openstack-lbaas10:40
*** sanfern has quit IRC10:49
*** yamamoto has joined #openstack-lbaas10:57
*** sticker_ has joined #openstack-lbaas11:07
*** sticker__ has joined #openstack-lbaas11:08
*** gans819 has quit IRC11:11
*** sticker has quit IRC11:11
*** sticker_ has quit IRC11:12
*** atoth has joined #openstack-lbaas11:24
*** sticker__ is now known as sticker11:26
*** yamamoto has quit IRC11:31
*** sanfern has joined #openstack-lbaas11:45
*** yamamoto has joined #openstack-lbaas11:46
*** yamamoto has quit IRC11:50
*** sanfern has quit IRC11:55
*** aojea has joined #openstack-lbaas11:56
*** sanfern has joined #openstack-lbaas11:56
*** chlong has joined #openstack-lbaas11:57
*** yamamoto has joined #openstack-lbaas12:16
*** openstackgerrit has quit IRC12:18
*** yamamoto has quit IRC12:20
*** leitan has joined #openstack-lbaas12:26
*** catintheroof has joined #openstack-lbaas12:33
*** yamamoto has joined #openstack-lbaas13:01
*** leitan has quit IRC13:05
*** cpuga has joined #openstack-lbaas13:06
*** yamamoto has quit IRC13:06
*** cpuga has quit IRC13:11
*** aojea has quit IRC13:11
*** aojea has joined #openstack-lbaas13:22
*** isantosp has joined #openstack-lbaas13:27
*** links has quit IRC13:33
*** reedip_ has joined #openstack-lbaas13:40
*** leitan has joined #openstack-lbaas14:04
*** armax has joined #openstack-lbaas14:08
*** openstackgerrit has joined #openstack-lbaas14:11
openstackgerritMerged openstack/neutron-lbaas master: Replace assertEqual([], items) with assertEmpty(items)  https://review.openstack.org/47333314:11
*** leitan has quit IRC14:13
*** leitan has joined #openstack-lbaas14:15
*** leitan_ has joined #openstack-lbaas14:17
*** leitan has quit IRC14:17
*** yamamoto has joined #openstack-lbaas14:26
*** gcheresh has quit IRC14:30
*** yamamoto has quit IRC14:32
*** aojea has quit IRC14:32
*** Guest6511 is now known as med_14:32
*** med_ has quit IRC14:32
*** med_ has joined #openstack-lbaas14:32
*** belharar has joined #openstack-lbaas14:34
*** cpuga has joined #openstack-lbaas14:38
*** cpuga_ has joined #openstack-lbaas14:39
*** aojea has joined #openstack-lbaas14:42
*** cpuga has quit IRC14:43
*** belharar has quit IRC14:52
*** armax has quit IRC14:57
*** armax has joined #openstack-lbaas14:59
*** tesseract has quit IRC15:10
*** kobis has joined #openstack-lbaas15:17
*** kobis has quit IRC15:25
*** leitan_ has quit IRC15:32
*** aojea has quit IRC15:41
*** rstarmer has quit IRC15:42
*** cody-somerville has joined #openstack-lbaas15:43
*** reedip_ has quit IRC15:54
*** leitan has joined #openstack-lbaas15:57
*** aojea has joined #openstack-lbaas16:00
*** aojea has quit IRC16:08
*** blogan has joined #openstack-lbaas16:09
*** reedip_ has joined #openstack-lbaas16:13
johnsomFYI: https://review.openstack.org/#/c/467327/16:14
johnsomOSA enabling alternate haproxy templates.16:14
*** csomerville has joined #openstack-lbaas16:21
*** cody-somerville has quit IRC16:24
*** aojea has joined #openstack-lbaas16:28
*** armax has quit IRC16:31
*** aojea has quit IRC16:31
*** armax has joined #openstack-lbaas16:33
*** reedip_ has quit IRC16:38
*** rcernin has quit IRC16:41
*** aojea has joined #openstack-lbaas16:53
*** cpuga_ has quit IRC16:57
*** cpuga has joined #openstack-lbaas16:58
*** csomerville has quit IRC17:00
*** amotoki is now known as amotoki_away17:01
*** leitan has quit IRC17:06
*** ianychoi has joined #openstack-lbaas17:15
*** JudeC has joined #openstack-lbaas17:24
*** kobis has joined #openstack-lbaas17:24
*** sshank has joined #openstack-lbaas17:28
JudeCjohnsom: In regard to your comments on https://review.openstack.org/#/c/469275/8 im not sure how to rectify the issue of filtering on elements like vip_subnet_id, vip_network_id, vip_port_id, etc. I could do a hybrid where it will use the sqlalchemy filter_by() on any known elements and only bubble up the controller filtering on elements that need to go through _conver_db_to_type() first. Im not sure.17:29
*** todin has quit IRC17:31
*** leitan has joined #openstack-lbaas17:37
*** kobis has quit IRC17:49
*** gcheresh has joined #openstack-lbaas17:49
rm_workjohnsom: do you know what needs to change in the haproxy configs to optimize for more than one vCPU?17:55
rm_workif any17:55
rm_worki don't know if it's locked to one core by default or if it will automatically expand to use more?17:55
johnsomIt is locked to one core by default17:57
johnsomSo, there are a couple of things here17:57
johnsom1. Our flavor is 1 vCPU17:57
johnsom2. When you enable nProc >1 in haproxy it has a bunch of "restrictions" or things that don't work any longer.17:58
johnsoma. Restarts had an issue17:58
johnsomb. peer sync had some issues17:58
*** kobis has joined #openstack-lbaas17:58
johnsomc. Those may or may not have been resolved.  It will take some time studying the docs to find out I think.17:59
johnsom3. We will natively use more than one core as each listener is a seperate process17:59
johnsom4. With more than one vCPU you run into the reload issue where some new connections might get TCP RST during the reload unless you are running the 1.8 development version of haproxy (releases early next year I think)18:00
johnsomSo, there are some top of mind thoughts....18:00
rm_workyeah18:02
rm_workif we're less worried about 418:02
rm_workand for 2a you mean VM restarts? cause... lol18:03
rm_work1, our smallest cloud flavor is 4vCPU18:03
johnsom2a haproxy process restarts18:04
*** kobis has quit IRC18:06
*** kobis has joined #openstack-lbaas18:09
*** kobis has quit IRC18:11
johnsomIt has been in the back of my mind to go back, read through the config guide and management guide to see what the current gotchas are.  I suspect some have been resolved in the newer versions of HAProxy, but I just haven't had the time to go dig through all that again18:11
johnsomJudeC I think we should be able to generate a filter set that is passed into sqlalchemy based on the API input, such that the query results come back filtered.18:14
johnsomThings like the VIP table, we should be able to create a special repo call that does a DB join on those tables.18:15
johnsomhttp://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.join18:16
JudeCGracias.18:16
johnsomMy worry is around the filter method our repo is using.  Does it have everything we need or are we going to be required to switch to the other sqlalchemy filter method.  Which, ugh, some work18:17
JudeCIm not sure, I will spin my wheels at this see where I end up. Let me tell you doing the filter on the controller made things super easy but I agree with you on the performance hit we could take by doing that :P18:19
johnsomWell, the performance is one thing, but the post pagination filtering is the show stopper IMO.  Pulling back a sorted list, with results on pages 2+ means the user would get zero results with a filter that may actually match.18:20
rm_workyeah filtering has to happen first18:22
rm_workbefore paging18:22
rm_worki thought that's where it was18:22
johnsomNot in the current version of the filtering patch18:22
rm_work:(18:23
rm_workso what i was recommending before18:24
rm_workis you add a method to each *model* that knows how to filter its objects and then call that from the context-hook18:25
rm_worksince it is technically possible to get to the models from there18:25
*** rcernin has joined #openstack-lbaas18:26
*** ipsecguy_ has joined #openstack-lbaas18:29
*** ipsecguy has quit IRC18:31
*** sshank has quit IRC18:42
*** aojea has quit IRC18:55
*** aojea has joined #openstack-lbaas19:03
*** csomerville has joined #openstack-lbaas19:39
*** armax has quit IRC19:40
*** leitan has quit IRC20:07
*** diltram_ has quit IRC20:07
*** diltram has joined #openstack-lbaas20:14
*** leitan has joined #openstack-lbaas20:17
*** wasmum has joined #openstack-lbaas20:21
wasmumis there anyplace for a full se of doc on how to get octavia running in a mitaka stack?  Stack is a dual controller, dual neutron env using vrrp and dvr on the compute nodes.  We have the haproxy lb working but needing and wanting to move to octavia.  Either I am not finding the docs or not following them correctly?  was using this, which is limited - https://docs.openstack.org/admin-guide/networking-config-agents.html20:24
wasmumwatched the hands on lab video but it didn't cover the installation and configuration20:24
wasmumjust a pointer would be great20:24
*** leitan has quit IRC20:28
johnsomwasmum Our docs are here: https://docs.openstack.org/developer/octavia/20:28
johnsomThis guide gives an overview of the installation process: https://docs.openstack.org/developer/octavia/guides/dev-quick-start.html20:29
wasmumjohnsom: much thanks20:29
johnsomIt is not a step by step, but at least a good overview.20:29
johnsomThis is the script we use to setup octavia for our testing gates: https://github.com/openstack/octavia/blob/master/devstack/plugin.sh20:29
johnsomIt can also be a useful reference20:29
johnsomNote, you can also run a newer version of Octavia with a Mitaka OpenStack.20:30
*** gcheresh has quit IRC20:33
rm_workwasmum: I recommend running as new as possible, we are still fixing a LOT of bugs per cycle20:33
rm_workwasmum: i am deploying *master* against our liberty cloud successfully20:34
rm_workbut if you're uncomfortable with that much bleeding-edge, i'd use AT LEAST ocata, if not target pike once it's released20:34
rm_workor target pike1/220:34
wasmumrm_work: great i'll give it a go, thanks!20:35
johnsomYeah, Mitaka was the first version people started shipping/using, but really the newer versions are much better20:35
johnsomUgh, who on earth things that this is useful documentation:20:36
johnsom        :param dict target: As much information about the object being operated20:36
johnsom                            on as possible.20:36
*** leitan has joined #openstack-lbaas20:40
rm_worklol20:42
rm_worki dunno -- who does think that? :P20:42
rm_workgit blame20:42
johnsom"It's a nice object with many fields, let me tell you more about it...."20:43
*** ianychoi has quit IRC20:46
*** cpuga has quit IRC20:49
*** cpuga has joined #openstack-lbaas20:50
johnsomHere is another one:20:58
johnsom       :param target: dictionary representing the object of the action20:58
johnsom           for object creation this should be a dictionary representing the20:58
johnsom           location of the object e.g. ``{'project_id': context.project_id}``20:58
* johnsom Scratches head20:58
*** cpuga has quit IRC21:08
*** cpuga_ has joined #openstack-lbaas21:08
openstackgerritMohammed Salih Puthenpurayil proposed openstack/neutron-lbaas master: Fixes module not found error in NetScaler LBaaSV2 driver  https://review.openstack.org/47398821:17
*** aojea has quit IRC21:24
*** aojea has joined #openstack-lbaas21:24
*** leitan has quit IRC21:25
*** cpuga has joined #openstack-lbaas21:27
openstackgerritMichael Johnson proposed openstack/octavia master: Add RBAC enforcement to Octavia v2 API  https://review.openstack.org/47287221:28
johnsomIgnore these for today ^^^ they are still WIP, just moving some code over to a test host21:29
*** cpuga_ has quit IRC21:30
johnsomstack@devstackpy27-2:~/devstack$ openstack loadbalancer create --name lb2 --vip-subnet-id private-subnet --project 653c55322f2a414786f12e8e86d536e821:39
johnsomUnauthorized (HTTP 401) (Request-ID: req-9ebe8697-26fe-4ac2-85e2-87644dcee07e)21:39
*** cpuga has quit IRC21:39
johnsomWell, at some basic level I seem to have it working.21:39
*** leitan has joined #openstack-lbaas21:45
*** csomerville has quit IRC21:48
*** rcernin has quit IRC21:54
*** csomerville has joined #openstack-lbaas22:06
*** sshank has joined #openstack-lbaas22:18
*** csomerville has quit IRC22:20
*** cpuga has joined #openstack-lbaas22:27
rm_workheh22:28
rm_workstep one: make no one authorized to do anything22:28
*** cpuga_ has joined #openstack-lbaas22:29
rm_workstep two: completely secure system!22:29
rm_workstep three: party22:29
johnsomYeah, that is kind of close to where I am.  I can create stuff for my own project, but admin can't create in other projects.22:29
*** cpuga has quit IRC22:31
JudeCI ran into another snag when figuring out how to do this on the db side. I now have the filtering working on elements in other tables but now I see that stuff like provider and flavor are not modeled.22:34
JudeCI am not sure if I should be looking for another way to figure those out or if they should be added to the model.22:35
johnsomAh, well, my vote would be to just add them to the model.  they will need to be there eventually22:36
JudeCkk just checking ty :)22:38
*** csomerville has joined #openstack-lbaas22:39
*** catintheroof has quit IRC22:47
*** blogan_ has joined #openstack-lbaas22:58
*** blogan has quit IRC22:58
rm_workjohnsom: i recommended we don't deal with them yet (no point trying to do a bunch of work to filter on something that's a static value)23:10
rm_workand when someone actually *adds them* and they do something, we can make sure filtering works (but it should just "start working")23:10
johnsomMaybe I mis-understood his question, I assumed it was easier to just add those fields to the model.23:11
*** sshank has quit IRC23:18
rm_workeh it seems weird to add those in the commit for filtering, rather than the commit for ... flavors or provider support lol23:19
johnsomYeah, I just figured it was an issue since we added them to the WSME types, etc23:20
*** leitan has quit IRC23:23
*** csomerville has quit IRC23:26
openstackgerritMichael Johnson proposed openstack/octavia master: Add RBAC enforcement to Octavia v2 API  https://review.openstack.org/47287223:50
*** blogan_ has quit IRC23:52
*** sanfern has quit IRC23:52
*** sanfern has joined #openstack-lbaas23:54

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