Thursday, 2017-06-22

rm_workLGTM based on initial testing00:01
rm_workI think we merge the feature and then bugfix if we need to00:01
johnsom+100:01
johnsomI think it's decent.00:01
rm_workyep00:02
rm_workxgerman_? :P00:02
openstackgerritAdam Harwell proposed openstack/octavia master: SSL Health Monitors didn't actually ... check very much  https://review.openstack.org/47594400:04
rm_work^^ threw SSL on the end since it had a merge conflict and i think we'll just go down the line00:04
rm_workassuming we can get this stuff all just merged in today :)00:04
rm_work(might be a stretch of an assumption, and relies on xgerman_ still being around lol)00:05
johnsomThat would be great!00:06
openstackgerritMichael Johnson proposed openstack/octavia master: Stop provider and flavor API stubs failing calls  https://review.openstack.org/47629000:10
johnsomOk, I feel slightly dirty with that, but I think it's best thing to keep us moving forward.00:10
openstackgerritHengqing Hu proposed openstack/octavia-dashboard master: Updating for octavia-dashboard  https://review.openstack.org/44617800:15
*** Aju has quit IRC00:20
openstackgerritMichael Johnson proposed openstack/octavia master: Stop provider and flavor API stubs failing calls  https://review.openstack.org/47629000:20
xgerman_Hi00:22
johnsomxgerman_ I think rm_work was hoping you were ready to +2 this chain up to https://review.openstack.org/#/c/47627100:23
johnsomThe rest of the RBAC stuffs00:23
rm_worklulz... that is super weird johnsom, but i agree i guess -- i liked it when we were just clear(ish) that "these aren't implemented yet" as a 40000:25
rm_workbut it's better to just ... not do anything for now maybe00:25
*** afranc has joined #openstack-lbaas00:27
johnsomWell, I guess I could do some type of validation and return not implemented exceptions.00:29
johnsomIt would be better than TypeError: 'provider' is an invalid keyword argument for LoadBalancer00:29
johnsomSince, octavia is good00:29
johnsomIf not fake at the moment00:29
johnsomYeah, that is less sketchy00:30
johnsomI will re-spin00:30
*** sanfern has quit IRC00:31
johnsomAfter I fix this nova exception eating that had driven me nuts for over a year00:31
rm_workrofl00:41
openstackgerritHengqing Hu proposed openstack/octavia-dashboard master: Updating for octavia-dashboard  https://review.openstack.org/44617800:44
openstackgerritHengqing Hu proposed openstack/octavia-dashboard master: Updating for octavia-dashboard  https://review.openstack.org/44617800:49
rm_workxgerman_: guessing no on that for today?01:38
rm_workjohnsom: you didn't actually +2 the HM change at the end :P01:38
rm_work(after I updated it)01:39
johnsomYeah, I need to look at that again01:39
*** chlong has joined #openstack-lbaas01:44
rm_workjust added the migration, and copied an error-catch thing we had already in the v1 api that takes care of that weird message01:44
rm_work(i didn't just type it from scratch)01:44
johnsomYeah, sorry, I had to run a surprise errand, just got back01:45
rm_workyeah no worries01:45
rm_workprobably it's not going to merge today since xgerman_ is maybe not around and/or maybe actually wants to spend some time reviewing/testing01:45
rm_work:P01:46
*** rstarmer has quit IRC01:59
xgerman_rm_work I thought I +2'd Seth02:01
xgerman_Steh02:01
xgerman_Autocorrect02:01
*** rstarmer has joined #openstack-lbaas02:01
xgerman_+A02:02
*** chlong has quit IRC02:04
*** rstarmer has quit IRC02:12
JudeCjohnsom: Well in working on this I realized limiting the query doesn't really matter inside the pagination helper as there seems to be two calls to the db.02:22
*** gongysh has joined #openstack-lbaas02:24
JudeCSo as an optimization i can make it so the pagination helper only looks for the ID of the item to be returned and then the _convert_db_to_type does the heavy lifting from there.02:24
JudeCso up until _convert_db_to_type is run I can just return the ID from the DB and everything works fine.02:25
johnsombut these are lists, ID won't work right?  That is like only one row02:27
reedipjohnsom , xgerman_ got your message02:32
reedipwill check out the qos patch again and push a PS out02:32
JudeCYeah, it seems to just be unoptimized. the pagination helper will order things for us and is actually returning irrelevant stuff if it returns anything other than the ID.  This is because on each controller we run "result = self._convert_db_to_type(load_balancers, [lb_types.LoadBalancerResponse])" which then calls from_data_model().02:35
JudeCwhich then populates all of the data, so essentially we are requesting all of the same data twice.02:36
JudeCunless i am grossly misunderstanding something, but I am running the API right now in devstack with the query just returning the ID and it seems to be working perfectly.02:36
*** chlong has joined #openstack-lbaas02:37
*** rstarmer has joined #openstack-lbaas02:39
JudeCHere I will commit these changes because I feel like I am doing a crappy job of explaining what I am doing.02:40
korean101rm_work: OMG02:45
korean101rm_work: lbaas-loadbalancer-create works fiine!02:46
korean101rm_work: OH really thanks02:46
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927502:48
*** JudeC has quit IRC02:48
johnsomreedip Thanks, I want to get that into Pike and wasn't sure the status02:50
*** JudeC has joined #openstack-lbaas02:50
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927502:53
JudeCAdded comments to explain as well.02:56
*** yamamoto has joined #openstack-lbaas02:56
*** JudeC has quit IRC02:57
*** amotoki_away is now known as amotoki03:06
*** gongysh has quit IRC03:39
*** gongysh has joined #openstack-lbaas03:42
*** gongysh has quit IRC03:53
openstackgerritVu Cong Tuan proposed openstack/neutron-lbaas master: Remove support for py34  https://review.openstack.org/47633103:59
openstackgerritVu Cong Tuan proposed openstack/neutron-lbaas master: Replace the usage of 'manager' with 'os_primary'  https://review.openstack.org/47633304:00
*** chlong has quit IRC04:02
*** chlong has joined #openstack-lbaas04:16
*** links has joined #openstack-lbaas04:21
openstackgerritAdam Harwell proposed openstack/octavia master: Octavia Feature Classification  https://review.openstack.org/45117704:23
openstackgerritVu Cong Tuan proposed openstack/neutron-lbaas master: Replace the usage of 'manager' with 'os_primary'  https://review.openstack.org/47633304:25
openstackgerritMichael Johnson proposed openstack/octavia master: Provide better ComputeBuildExcpetion messages  https://review.openstack.org/47634804:53
johnsomOk, that should make nova faults much more clear to the operator04:55
*** yuanying_ has joined #openstack-lbaas05:03
*** yuanying has quit IRC05:05
openstackgerritMichael Johnson proposed openstack/octavia master: Stop provider and flavor API stubs failing calls  https://review.openstack.org/47629005:20
*** gcheresh has joined #openstack-lbaas05:27
*** kobis has joined #openstack-lbaas05:45
*** gongysh has joined #openstack-lbaas05:47
*** csomerville has quit IRC06:02
*** cody-somerville has joined #openstack-lbaas06:03
*** cody-somerville has quit IRC06:03
*** cody-somerville has joined #openstack-lbaas06:03
*** yuanying_ has quit IRC06:19
*** sanfern has joined #openstack-lbaas06:20
*** yuanying has joined #openstack-lbaas06:20
*** rcernin has joined #openstack-lbaas06:30
*** rcernin has quit IRC06:37
*** kobis has quit IRC06:43
*** rcernin has joined #openstack-lbaas06:50
*** JudeC has joined #openstack-lbaas06:54
*** gcheresh has quit IRC06:54
*** tesseract has joined #openstack-lbaas07:02
*** pcaruana has joined #openstack-lbaas07:05
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927507:12
openstackgerritZhaoBo proposed openstack/octavia master: Extend api to accept qos_policy_id  https://review.openstack.org/45830807:22
korean101anyone knows this? (http://paste.openstack.org/show/IKRY7ac1qbE3AolfGFxt/)07:40
korean101not octavia's problem?07:41
*** kobis has joined #openstack-lbaas07:57
openstackgerritNir Magnezi proposed openstack/octavia-dashboard master: Optimize the link address  https://review.openstack.org/45529808:02
*** yamamoto has quit IRC08:03
*** yuanying_ has joined #openstack-lbaas08:09
*** yuanying has quit IRC08:13
*** gcheresh has joined #openstack-lbaas08:17
openstackgerritHengqing Hu proposed openstack/octavia-dashboard master: Updating for octavia-dashboard  https://review.openstack.org/44617808:20
openstackgerritNir Magnezi proposed openstack/octavia-dashboard master: Optimize the link address  https://review.openstack.org/45529808:38
*** dmk0202 has joined #openstack-lbaas08:40
*** mdavidson has quit IRC08:41
*** sanfern has quit IRC08:42
*** mdavidson has joined #openstack-lbaas08:50
*** yamamoto has joined #openstack-lbaas09:04
*** yamamoto has quit IRC09:09
*** yamamoto has joined #openstack-lbaas09:09
*** JudeC has quit IRC09:25
*** yamamoto has quit IRC09:30
*** yamamoto has joined #openstack-lbaas09:36
*** dmk0202 has quit IRC09:40
*** yamamoto has quit IRC09:46
*** wasmum has quit IRC10:04
*** wasmum has joined #openstack-lbaas10:06
*** wasmum has quit IRC10:11
*** yamamoto has joined #openstack-lbaas10:21
*** wasmum has joined #openstack-lbaas10:22
*** yamamoto has quit IRC10:28
*** yamamoto has joined #openstack-lbaas10:34
*** yamamoto has quit IRC10:39
*** yamamoto has joined #openstack-lbaas10:40
*** gongysh has quit IRC10:47
*** yamamoto has quit IRC11:11
*** yamamoto has joined #openstack-lbaas11:33
*** yamamoto has quit IRC11:39
*** sanfern has joined #openstack-lbaas12:09
*** sanfern has quit IRC12:19
*** yamamoto has joined #openstack-lbaas12:19
*** yamamoto has quit IRC12:19
*** chlong has quit IRC12:26
*** gongysh has joined #openstack-lbaas12:27
*** kobis has quit IRC12:34
*** kobis has joined #openstack-lbaas12:35
*** yamamoto has joined #openstack-lbaas12:36
*** kobis has quit IRC12:40
*** yamamoto has quit IRC12:51
*** sanfern has joined #openstack-lbaas13:00
*** kobis has joined #openstack-lbaas13:08
*** sanfern has quit IRC13:14
*** yamamoto has joined #openstack-lbaas13:15
*** sanfern has joined #openstack-lbaas13:17
*** catintheroof has joined #openstack-lbaas13:20
*** chlong has joined #openstack-lbaas13:39
*** cpuga has joined #openstack-lbaas13:44
*** cpuga has quit IRC13:45
*** cpuga has joined #openstack-lbaas13:46
*** kobis has quit IRC13:50
*** wasmum has quit IRC13:50
*** wasmum has joined #openstack-lbaas13:53
*** kobis has joined #openstack-lbaas13:56
*** pksingh has joined #openstack-lbaas14:29
pksinghjohnsom: Hello14:31
pksinghjohnsom: i tried to analyse the issue https://bugs.launchpad.net/octavia/+bug/1695331, and posted my comments there14:32
openstackLaunchpad bug 1695331 in octavia "Octavia v2 API Requesting a VIP address is not working" [Critical,In progress] - Assigned to Pradeep Kumar Singh (pradeep-singh-u)14:32
pksinghjohnsom: please have a look when you have some time , thanks14:32
*** links has quit IRC14:45
*** kobis has quit IRC14:55
*** gcheresh has quit IRC15:06
*** isotope has joined #openstack-lbaas15:09
*** rcernin has quit IRC15:09
*** KeithMnemonic has quit IRC15:14
*** fnaval has quit IRC15:14
*** fnaval has joined #openstack-lbaas15:29
*** isotope has quit IRC15:37
*** pcaruana has quit IRC15:42
*** isotope has joined #openstack-lbaas15:49
*** isotope has quit IRC15:49
*** isotope has joined #openstack-lbaas15:56
rm_workkorean101: congrats :)16:02
rm_workkorean101: that is something wrong in neutron-lbaas... i'm not sure what's going on there16:02
rm_worksomehow the stats object coming across from the octavia streamer isn't what it's expecting?16:03
rm_workkorean101: what version of octavia are you running, and what version of neutron-lbaas?16:03
johnsomYeah, I wonder if that addition of the "error" column caused a version dependency16:03
*** gongysh has quit IRC16:05
*** rstarmer has quit IRC16:06
*** yamamoto has quit IRC16:08
rm_workit might have16:08
rm_workwe might need to backport a bugfix to have it ignore unknown columns or something16:09
*** yamamoto has joined #openstack-lbaas16:10
*** amotoki is now known as amotoki_away16:15
*** yamamoto has quit IRC16:15
rm_workxgerman_: you +2'd the end of the chain but nothing in front :P16:21
xgerman_ha16:25
xgerman_you guys need to give me better instructions16:25
rm_worklol16:29
johnsomeandersson Padding your stackalytics?  The refactor patch was already workflowed....16:35
isotopejohnsom I'm trying to work around bug #159261216:39
openstackbug 1592612 in octavia "LBaaS TLS is not working with non-admin tenant" [High,Confirmed] https://launchpad.net/bugs/159261216:39
xgerman_those RBAC patches are pretty repetitive16:39
isotopeI tried both options that you recommeneded and still have the same error16:39
johnsomxgerman_ that last refactor patch cleans some of that up16:40
rm_workxgerman_: yes, that's why i refactored it all at the end16:40
isotopeDo I need to do both the policy file change and acls?16:40
johnsomisotope No, either one should work.16:40
rm_workisotope: should just be one16:40
johnsomisotope Which lbaas driver are you using?  Octavia driver?16:40
isotopethe device driver is neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver16:42
openstackgerritMerged openstack/octavia-dashboard master: Exclude node_modules from pep8 checking  https://review.openstack.org/47580016:42
johnsomisotope Oh, ok the old legacy driver16:43
isotopeAh, should I switch to octavia?16:43
*** sanfern has quit IRC16:43
isotopeI'm running openstack newton16:43
johnsomHmm, ok, so with that driver, the user should be your neutron service account that you use for the "admin_id"16:44
isotopeyeah I beleive that is neutron, which I tried with the same result16:44
johnsomisotope Yeah, that old driver doesn't scale very well and has no HA16:44
eanderssonjohnsom, lol16:44
eanderssonhaving more people review code and said they raid it never hurts16:45
eanderssonand adding yourself so that you get notifications in case gate fails (although that can be done by just adding yourself as a watcher or something I guess)16:45
eandersson*read16:45
isotopeso right now I have the policy file edited with "secret:get": "rule:all_users"16:45
johnsomeandersson Yeah, but make sure they are good reviews and not just +1's...   grin.  Part of the PTL job to make sure folks are doing quality reviews.16:46
johnsomisotope I think there is more than just secret required on the barbican side.  There is probably a container one too.  Let me see if I can look at their policy file16:47
isotopeAh16:47
johnsomisotope If you are just testing, you could do "admin": "role:admin or user:neutron"16:51
isotopeokay I'll try that now16:52
*** sanfern has joined #openstack-lbaas16:52
*** eandersson has quit IRC16:54
*** sshank has joined #openstack-lbaas16:54
johnsomFor specific policies, I think it is consumers:post, consumers:delete, container:get, and secret:get, though I might be wrong.16:56
rm_workI think that is correct16:57
isotopeokay I have all suggested policy file changes in place, testing now17:01
isotopesame error17:02
*** cpuga has quit IRC17:05
johnsomWhat is the error you are seeing in the neutron svc log?17:09
isotopeneutron.api.v2.resource CertManagerError: Could not process TLS container http://X.X.X.X:9311/v1/containers/5b3dbc0e-32e3-492e-9e09-34918800c0a0, The request you have made requires authentication.17:10
johnsomisotope Is the [service_auth] section setup correctly in the neutron_lbaas.conf?17:11
isotopethats from the neutron-server.log17:11
johnsomThat is the other thing that could be tried.  Set that to use the admin account17:13
isotopedoing that now17:14
*** eandersson has joined #openstack-lbaas17:16
eanderssonisantosp: What version of Barbican?17:16
isotopebarbican 4.0.117:18
*** sshank has quit IRC17:21
*** sshank has joined #openstack-lbaas17:23
*** sshank has quit IRC17:23
*** sshank has joined #openstack-lbaas17:23
sanfernkorean101, I am also seeing same issue in my test, Octavia DB has status ACTIVE for LB's but not in neutron DB17:25
rm_workjohnsom: https://review.openstack.org/#/c/476290/317:26
rm_worksanfern: so the event streamer is going between octavia and neutron-lbaas, but it's erroring out because of a bad field in loadbalancer_stats ?17:27
sanfernrm_work, yes17:28
rm_workhmmmmmmmm17:29
rm_workwhat versions are you running17:29
rm_workcan you see what field is causing this error?17:29
rm_worki don't know how much debug logging we'd do around that...17:29
*** yamamoto has joined #openstack-lbaas17:30
sanfernrm_work, not able to find field17:30
rm_workhmmm17:30
rm_workjohnsom: when did we change that table?17:30
rm_workyou said we added something?17:30
*** fnaval_ has joined #openstack-lbaas17:30
*** fnaval_ has quit IRC17:30
*** fnaval_ has joined #openstack-lbaas17:31
johnsomSo, yeah, someone recently added "request_errors" to the stats in octavia, but neutron DB models don't have that17:32
johnsomhttps://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/db/loadbalancer/models.py#L5317:32
*** fnaval has quit IRC17:32
johnsomu'info_payload': {u'bytes_out': 212, u'request_errors': 0, u'total_connections': 1, u'active_connections': 0, u'bytes_in': 205}}17:32
rm_workyeah17:33
rm_workhmm17:33
rm_workok17:33
johnsomSo, I would kind of vote to strip it from the event before we send it to oslo messaging17:33
rm_workahhh17:33
rm_workrather than patch+backport neutron-lbaas?17:33
johnsombecause I don't feel the need to add that to all of n-lbaas17:33
rm_workk17:33
rm_workfine by me17:33
rm_workyou doing it or should I?17:33
johnsomYeah, I can do it today17:34
rm_workor does someone else here want to take it?17:34
rm_workwe don't have to do everything :P lol17:34
openstackgerritMerged openstack/neutron-lbaas master: Remove support for py34  https://review.openstack.org/47633117:34
*** reedip_ has joined #openstack-lbaas17:34
*** yamamoto has quit IRC17:35
openstackgerritMerged openstack/neutron-lbaas master: Updated from global requirements  https://review.openstack.org/47556217:36
openstackgerritMerged openstack/neutron-lbaas master: Fixes module not found error in NetScaler LBaaSV2 driver  https://review.openstack.org/47398817:36
isotopeokay so in debug mode I see this attempt right before it fails17:36
isotopeCreating consumer registration for container http://X.X.X.X:9311/v1/containers/5b3dbc0e-32e3-492e-9e09-34918800c0a0 as lbaas: lbaas://RegionOne17:36
johnsomHmm, so it's trying to use a user called lbaas????17:37
isotopeyeah that looks jacked up17:37
johnsomYeah, I would search your /etc/neutron to see where that is coming from.  It has to be in one of those configs17:38
openstackgerritMerged openstack/octavia master: Add RBAC enforcement to pools v2 API  https://review.openstack.org/47586817:43
johnsomYeah, isotope I suspect it's the service_auth section I mentioned earlier.  I just checked and it's default is "admin" not "lbaas"17:43
*** SumitNaiksatam has joined #openstack-lbaas17:43
*** cpuga has joined #openstack-lbaas17:49
*** cpuga has quit IRC17:52
*** cpuga has joined #openstack-lbaas17:52
*** cpuga has quit IRC17:56
*** tesseract has quit IRC17:59
*** sshank has quit IRC18:00
*** cpuga has joined #openstack-lbaas18:00
*** cpuga_ has joined #openstack-lbaas18:01
*** cody-somerville has quit IRC18:02
*** cody-somerville has joined #openstack-lbaas18:02
*** cody-somerville has quit IRC18:02
*** cody-somerville has joined #openstack-lbaas18:02
*** cpuga has quit IRC18:04
rm_workjohnsom: ah https://review.openstack.org/#/c/476290/ has a conflict now anyway :)18:05
rm_workso you can fix that when you fix the comma18:05
*** JudeC has joined #openstack-lbaas18:07
*** sshank has joined #openstack-lbaas18:08
*** csomerville has joined #openstack-lbaas18:10
*** cpuga_ has quit IRC18:13
*** cody-somerville has quit IRC18:13
*** sshank has quit IRC18:22
*** sshank has joined #openstack-lbaas18:22
*** sshank has quit IRC18:23
*** sshank has joined #openstack-lbaas18:23
openstackgerritMerged openstack/octavia master: Add RBAC enforcement to members v2 API  https://review.openstack.org/47592018:32
openstackgerritMerged openstack/octavia master: Add RBAC enforcement to health monitors v2 API  https://review.openstack.org/47593418:32
openstackgerritMerged openstack/octavia master: Add RBAC enforcement to L7 policies v2 API  https://review.openstack.org/47594518:32
openstackgerritMerged openstack/octavia master: Add RBAC enforcement to l7rules v2 API  https://review.openstack.org/47595318:34
openstackgerritMerged openstack/octavia master: Add RBAC enforcement to quotas v2 API  https://review.openstack.org/47598018:34
openstackgerritMerged openstack/octavia master: Refactor the RBAC auth enforcement a bit  https://review.openstack.org/47627118:34
openstackgerritMerged openstack/octavia master: SSL Health Monitors didn't actually ... check very much  https://review.openstack.org/47594418:35
rm_workjohnsom: \o/18:35
*** sshank has quit IRC18:35
*** sshank has joined #openstack-lbaas18:35
johnsomFor the RBAC win!18:37
rm_workalso for the SSL-healthcheck win18:40
*** sshank has quit IRC18:46
*** gcheresh has joined #openstack-lbaas19:06
*** pksingh has quit IRC19:06
*** fnaval_ has quit IRC19:09
*** fnaval has joined #openstack-lbaas19:10
*** cpuga has joined #openstack-lbaas19:11
xgerman_rm_work once you give me clear instrcutions…19:11
rm_work:P19:11
*** cpuga has quit IRC19:12
*** cpuga has joined #openstack-lbaas19:12
*** cpuga has quit IRC19:13
*** cpuga has joined #openstack-lbaas19:14
openstackgerritMichael Johnson proposed openstack/octavia master: Stop provider and flavor API stubs failing calls  https://review.openstack.org/47629019:16
johnsomOk, with that, I am going to run to lunch and pick up flowers (anniversary today).  Back in a bit.19:17
rm_work;)19:18
*** isotope has quit IRC19:35
*** reedip_ has quit IRC19:36
*** sshank has joined #openstack-lbaas19:36
*** eandersson has quit IRC19:38
*** gcheresh has quit IRC19:47
*** gcheresh has joined #openstack-lbaas19:48
*** blogan has joined #openstack-lbaas19:50
openstackgerritAdam Harwell proposed openstack/octavia master: Allow operators to disable v1 or v2.0 api endpoints  https://review.openstack.org/47669020:11
rm_workjohnsom: ^^20:12
openstackgerritMerged openstack/octavia master: Provide better ComputeBuildExcpetion messages  https://review.openstack.org/47634820:12
openstackgerritSanthosh Fernandes proposed openstack/octavia master: Remove request_errors from lb_stats  https://review.openstack.org/47669120:12
*** gcheresh has quit IRC20:15
*** gcheresh has joined #openstack-lbaas20:15
openstackgerritAdam Harwell proposed openstack/octavia master: Allow operators to disable v1 or v2.0 api endpoints  https://review.openstack.org/47669020:25
johnsomI think we should add a warning log message on API startup about the V1 API20:28
*** isotope has joined #openstack-lbaas20:28
johnsomEspecially if both are enabled20:29
*** cpuga has quit IRC20:37
rm_worklol20:39
rm_workwell20:39
rm_workthey're both enabled by default20:39
rm_workso you'd have to explicitly disable both in config20:39
johnsomNo, just a warning log message20:40
rm_workyeah20:40
rm_workbut i mean20:40
rm_workI guess? >_>20:40
johnsomA safety message that in case someone screws up20:40
rm_workalright20:40
rm_workwill do20:40
johnsomBasically, "The v1 API is enabled.  Make sure the API is not publicly accessible" or something like that20:41
*** cpuga has joined #openstack-lbaas20:42
rm_workoh20:47
rm_workyeah one sec20:47
openstackgerritAdam Harwell proposed openstack/octavia master: Allow operators to disable v1 or v2.0 api endpoints  https://review.openstack.org/47669020:50
openstackgerritAdam Harwell proposed openstack/octavia master: Allow operators to disallow creation of TLS Termination listeners  https://review.openstack.org/47670120:50
rm_workjohnsom: ^^ fixed and one more20:50
*** cpuga has quit IRC20:50
*** cpuga has joined #openstack-lbaas20:51
johnsom"is this intentional?" lol20:51
xgerman_yeah, what’s the difference to not configuring BBQ20:52
xgerman_for #220:52
johnsomProbably a much nicer error message20:54
rm_work^^ this20:54
rm_workright now it just explodes20:55
johnsomPlus, they could use the, gasp, local cert store20:55
johnsomI guess we could re-use the setting and add a none option, but...20:57
rm_workwell, open to thoughts20:57
rm_workthis was just the first thing i thought of to do it20:58
*** gcheresh has quit IRC21:00
rm_workjohnsom: looks like the request_errors thing was NOT the issue21:01
johnsomReally?21:05
johnsomHow so?21:06
rm_worki mean it just wasn't21:06
rm_worksaw sanfern's logs21:06
rm_workwith his patch21:06
rm_workrequest_errors isn't in the data that it's receiving anymore21:07
rm_workand it still has the same model mapping error21:07
rm_workbrb21:12
johnsomsanfern What version of neutron-lbaas is this again?21:14
rm_workhe said he was off for the night, but I think he's on newton n-lbaas and ocata octavia21:15
johnsomAh, ok.  Sigh21:16
johnsomhttps://github.com/openstack/neutron-lbaas/blob/stable/newton/neutron_lbaas/drivers/driver_base.py#L6621:16
johnsomGeez, that is even a mess in octata21:17
*** catintheroof has quit IRC21:18
*** sshank has quit IRC21:18
johnsomFixed here: https://review.openstack.org/#/c/449573/21:19
johnsomThough I'm still suspicious of the error message not mapping21:19
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927521:24
johnsomJudeC So what is the status on that.  I was trying to look at it this morning.  I couldn't find the second DB query you mentioned21:25
JudeCYeah I tore into it all last night trying to figure it out...21:26
JudeCTalked to rm_work about it like 20 minutes ago21:26
johnsomOk21:26
JudeCHe was saying it is due to sqlalchemy's lazy loading?21:26
johnsomDid you folks make sense of that stuff?21:26
JudeCSo I restrict the query to only return the ID but due to lazy loading it still has access to everything in the table I guess which is kinda beyond me.21:27
johnsomsqlalchemy has demons (like evil spirits)21:28
johnsomWith a dash of voodoo thrown in21:28
johnsomSo this version is just a rebase?21:29
JudeCI use sqlalchemy's load_only method which should defer column selection to only the ones specified in the model passed into load_only but like you said voodoo happens behind the scenes with sqlalhemy and it still populates the object with all of the data when to_data_model() is executed.21:30
JudeCyeah just a rebase21:30
johnsomYeah, I think the key there is deferred21:30
johnsomSo, just so I don't feel like I am too crazy.  There is only actually one query call right?21:31
JudeCI believe so yes.21:31
JudeCI thought there had to be another one when I was looking at it last night but that was before Adam explained the lazy loading thing to me.21:32
JudeCrm_work*21:32
johnsomOk, so I think it might be a good idea to remove that load_only change.  Let me take a minute and see if there is a different way to do taht21:33
JudeCAlright, I will admit my backround with ORMs comes from ruby sequel and some django so I am not the strongest when dealing with database stuff like this. Takes me quite a bit or research to fully understand what I am doing -.-.21:34
JudeC(getting better though)21:35
johnsomYeah, I have used some other ORMs in the past.  sqlalchemy is pretty sucky IMO.  The docs are bad too21:35
JudeCThat is the main thing for me. If the docs are good I am usually golden.. haha21:36
JudeCSame can be said for most developers though...21:36
JudeCI will push the change up to remove the load only thing right now. one sec21:37
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927521:40
*** armax has joined #openstack-lbaas21:41
johnsomJudeC Maybe with_entities21:42
*** fnaval has quit IRC21:43
JudeCI tried that, I can dig into it again. The problem I ran into was when I applied with_entities it no longer had access to from_data_model()21:44
JudeCI will need to double check that.21:44
johnsomOk21:44
JudeCI believe that was the issue with that though.21:44
JudeChmm, let me spin my wheels at that again though and see if I can get some traction.21:45
johnsomWell, I am just about at the point where I say good enough and let someone down the line worry about optimizing it.21:50
johnsomI like to do due-diligence on stuff like this, but there is a line21:50
*** blogan has quit IRC21:56
*** fnaval has joined #openstack-lbaas21:56
*** chlong has quit IRC21:57
JudeCif it weren't for the lazy_loading this would be so easy...21:58
JudeCT_T21:59
johnsomI lean towards, good enough21:59
johnsomI am going to load it up, do one more set of tests and vote22:03
*** armax_ has joined #openstack-lbaas22:05
*** eandersson has joined #openstack-lbaas22:05
*** armax has quit IRC22:05
*** armax_ is now known as armax22:05
johnsomJudeC Do you have listener stats API in process?22:09
JudeCNot yet, I limited the stats to just loadbalancer for now.22:09
johnsomOk, NP22:10
johnsomI will rebase and add RBAC to the status and LB stats patch22:10
JudeCwont be hard to implement though.22:10
johnsomRight22:10
*** cpuga has quit IRC22:11
*** fnaval has quit IRC22:17
*** ajo has quit IRC22:21
*** nmagnezi has quit IRC22:22
*** ajo has joined #openstack-lbaas22:22
*** ajo has quit IRC22:28
rm_workjohnsom: OH so we just need to backport He Qing's patch22:30
*** blogan has joined #openstack-lbaas22:31
rm_workcan you do that? probably all the way to newton?22:31
rm_workbefore they freeze it22:31
*** nmagnezi has joined #openstack-lbaas22:32
johnsomYeah, I just think we need to test it as I think it is still going to fail on the error field22:35
*** nmagnezi has quit IRC22:36
rm_workyeah but22:36
rm_workwe still should just backport that22:36
rm_workas we'd need to backport the other fix separately anyway22:37
rm_workright?22:37
*** ajo has joined #openstack-lbaas22:38
*** nmagnezi has joined #openstack-lbaas22:42
johnsomYeah22:43
johnsomWell, the hack I recommended just needs to go back to ocata on Octavia side and is fine22:44
johnsomSo, independent in that way22:44
*** nmagnezi has quit IRC22:47
*** nmagnezi has joined #openstack-lbaas22:47
*** ajo has quit IRC22:48
rm_workk22:50
*** nmagnezi has quit IRC22:51
*** ajo has joined #openstack-lbaas22:53
rm_workjohnsom: I was debating setting v1 from "CURRENT" to "DEPRECATED"22:57
rm_workwhen I moved v2 from EXPERIMENTAL to CURRENT22:58
*** ajo has quit IRC22:58
johnsomI have been holding off on making the deprecated calls until we have the providers stuff.23:00
rm_workyeah23:01
rm_workthat's why i didn't23:01
rm_workso I guess they're just both CURRENT23:01
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927523:02
JudeCstupid me ^ (doing to many things at once)23:02
rm_worklol23:03
rm_workjust need to rebase the other two patches now :P23:03
johnsomYeah, I will get to it.  Just testing the filtering stuff to sign off23:04
JudeCAccidentally had a pep8 error bleh.23:04
rm_workoh were you going to rebase for him? :P23:04
johnsomYeah, I was going to rebase and add the RBAC stuff23:04
johnsomHmm, shouldn't this work?23:07
johnsomhttps://www.irccloud.com/pastebin/rJHNfYRf/23:07
JudeCyes that for sure should work.... hmm23:08
JudeCvery weird, it is working for me right now...23:09
johnsomYeah, I am an idiot23:09
johnsomdidn't escape the second &23:09
*** chlong has joined #openstack-lbaas23:10
JudeCHey youre not alone, I spent like 20 minutes trying to figure out why something wasn't working and my curl request had a , instead of a &23:10
johnsomYeah, I'm in that afternoon fog23:11
JudeCmy fog lasts until 10pm and then I am actually able to focus properly.23:11
johnsomOk, I think filtering is in good shape.  I opened a bug for that conditional stuff, but that is low priority23:11
johnsomYeah, after coffee in the morning I am good until about 3, then it's fog until about 5pm ha23:12
johnsomThe 5pm part doesn't sit well with the spousal unit23:12
johnsomrm_work https://review.openstack.org/#/c/46927523:13
johnsomWhenever you are happy with it23:13
rm_workk23:13
rm_workyeah i want to glance but i think it was ok23:13
JudeCYeah my girlfriend unit is due for an upgrade to a spousal one, but she shares in that view. :P23:13
johnsomHahaha23:14
johnsomToday is the end of our 4 year upgrade warranty23:14
*** ajo has joined #openstack-lbaas23:15
JudeCIts your anniversary?23:16
johnsomYes, ran out for flowers over lunch23:16
JudeCah man get out of here.23:16
johnsomNah, we both are working today.23:16
johnsomDoing dinner tonight though23:16
JudeCAwesome! well have fun :)23:17
*** ajo has quit IRC23:20
JudeCbrb, if anyone needs me.23:21
*** ajo has joined #openstack-lbaas23:21
rm_workJudeC: one quick thing (maybe two)23:21
rm_workcommented23:21
rm_workjohnsom: you may have to +2 again23:22
johnsomNP23:22
JudeCah yes looking at your comments now.23:22
johnsomrm_work You led him astray in this status tree patch....   _custom_actions doesn't work the way you think23:26
rm_workdamn23:26
johnsomI remember you proposed that before23:26
rm_workI said i wasn't sure23:26
rm_workbut that it looked interesting23:26
rm_workand kinda like maybe magic?23:26
rm_workno idea how it actually works or what it does23:26
johnsomYeah, it OVERRIDES the method23:26
rm_workinteresting23:27
rm_workis that .. bad?23:27
johnsomSo now we have like three GETs with two of them having the same signature23:27
rm_worklol23:27
rm_workwait so it does what now?23:27
johnsomMaps a HTTP method to a python method23:28
rm_workah23:28
johnsomSo if you didn't want to use the builtin get or get_one23:28
rm_workso it overrides the normal GET /loadbalancers23:28
rm_workdoesn't add a method "statuses" with type "GET"23:28
johnsomBut in this case GET id/status and GET id both have the same method signature23:28
rm_workerrr23:29
*** nmagnezi has joined #openstack-lbaas23:29
johnsomIt doesn't grab the path, no23:29
rm_worklol so then what happens23:29
johnsompecan gets strange23:29
JudeCinteresting, dang it that seemed like such an awesome thing too. :/23:29
rm_workyeah23:29
rm_workso it ... has to use the pattern that /members uses on pool?23:30
johnsomI can't remember exactly, but when the Intel folks tried it, it ended poorly23:30
rm_workrofl23:30
rm_workit seemed really neat if it worked the way I guessed23:30
rm_workah well23:30
johnsomYeah, that _lookup stuff23:30
rm_workyep23:30
johnsom_custom_actions maps method names to the list of valid HTTP verbs for those custom actions.23:30
johnsomWell, let me post the rebase at least23:31
rm_worklol k23:31
rm_worksorry JudeC, you've got some fixin' to do23:31
*** gongysh has joined #openstack-lbaas23:31
openstackgerritMichael Johnson proposed openstack/octavia master: Add status tree to V2 API  https://review.openstack.org/47439023:31
rm_workhopefully you're fixin' for a fixin'23:31
JudeCI know... T_T23:32
johnsomIf I didn't have a hard stop today I would do it, but....23:32
rm_worklol np23:32
rm_workjohnsom: what did you think of the disablers23:32
rm_work:thumbsup: :thumbsdown: ?23:32
johnsomI think it is a fine idea.  I just wanted to kick the tires.  I can do that now23:33
rm_workok np i was just looking for the "yeah that seems like an ok approach"23:33
rm_workvs "plz no"23:33
*** nmagnezi has quit IRC23:33
*** gongysh has quit IRC23:33
johnsomI think we need to clean up the API validators, they are all over the place.23:33
rm_workyes23:34
johnsomI also think these enable/disable things should be grouped in the config file.  I was going to look at that again to make sure they are close23:34
rm_worki know23:34
rm_worki was considering it23:34
johnsom[api_features]?23:35
openstackgerritJude Cross proposed openstack/octavia master: Add filtering and field selection to API  https://review.openstack.org/46927523:35
rm_workhmmm23:35
rm_workyeah maybe23:35
rm_worki was considering both that and moving all the validations into like a common self._run_api_validations() thing23:35
johnsomYeah, it just seems odd to drop those all in [DEFAULT]23:36
johnsomNot that there isn't already API "stuff" in the DEFAULT section23:36
*** gongysh has joined #openstack-lbaas23:37
*** gongysh has quit IRC23:38
*** ajo has quit IRC23:38
johnsomUgh, with this wsgi stuff those don't log until the first API request23:41
*** ajo has joined #openstack-lbaas23:43
*** nmagnezi has joined #openstack-lbaas23:45
*** armax has quit IRC23:46
*** ajo has quit IRC23:48
*** nmagnezi has quit IRC23:49
johnsomOk, commented.23:52
*** SumitNaiksatam has quit IRC23:53
*** isotope has quit IRC23:53
*** ajo has joined #openstack-lbaas23:55
*** nmagnezi has joined #openstack-lbaas23:55
*** nmagnezi has quit IRC23:59
*** ajo has quit IRC23:59

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