Wednesday, 2017-02-15

*** Swami__ has joined #openstack-lbaas00:00
rm_work|cool, back00:01
johnsomSo confused at what I broke with that patch.  From what I see nothing really uses what I changed...  hmmm00:03
*** Swami has quit IRC00:04
*** Swami_ has quit IRC00:04
*** Swami has joined #openstack-lbaas00:04
rm_workseems straightforward?00:05
rm_workhttp://logs.openstack.org/17/433817/1/check/gate-octavia-v1-dsvm-scenario-ubuntu-xenial-nv/ca53322/console.html#_2017-02-14_18_21_05_59649100:05
rm_workyou changed the service from octavia to loadbalancer00:05
rm_worklike if keystore were type "keystone" and then you changed it to type "identity" right?00:06
rm_work*keystone00:06
johnsomNo, that isn't what I did...00:06
rm_worki thought it was?00:06
rm_workthat's what we NEED to do...00:06
rm_workright?00:07
johnsomFor neutron the service name is "neutron" and the service type is "networking", I changed ours to be "octavia" and "loadbalancing"00:07
rm_workright00:07
johnsomWhere it was "octavia" "octavia" before00:07
rm_workfor keystone, service name is keystone and type is identity00:07
rm_workwhich is how stuff looks it up in the service catalog00:07
rm_workby "identity"00:08
johnsomRight, here look at this: http://logs.openstack.org/17/433817/1/check/gate-octavia-v1-dsvm-scenario-ubuntu-xenial-nv/ca53322/logs/devstacklog.txt.gz#_2017-02-14_18_14_40_22200:08
johnsomThis looks right to me00:08
rm_workright00:08
rm_workso the service type is "loadbalancing"00:09
rm_workso now when things look it up in the service catalog, they need to look for type "loadbalancing" instead of "octavia"00:09
rm_work"Details: service: octavia, region: RegionOne, endpoint_type: publicURL, name: None"00:09
rm_workit's looking for service_type "octavia" still00:10
*** rm_work has quit IRC00:11
*** rm_work| is now known as rm_work00:11
*** rm_work has joined #openstack-lbaas00:11
openstackgerritMerged openstack/octavia master: Add common api handlers for v1 and v2  https://review.openstack.org/43377100:11
johnsomMy best guess is this line is just borked: https://github.com/openstack/octavia/blob/master/octavia/tests/tempest/v1/scenario/base.py#L7700:12
rm_workyes00:13
rm_workthat one00:13
rm_workneeds to be "loadbalancing"00:13
rm_workI was just trying to link that too, lol00:13
rm_workmaybe it should be a constant for our service name...00:13
johnsomIt doesn't even take name, so how is it supposed to find the right "loadbalancing" service?00:13
rm_work?? dunno, that's just how keystone's service catalog works00:14
rm_workyou provide a service type, get a response, use it00:14
rm_workI think service type is unique00:14
rm_work?00:14
johnsomNo, I think it's tempest not keystone at fault here00:14
rm_workerr00:14
rm_worki mean, it's just the config00:14
rm_worknot tempest or keystone00:14
rm_workkeystone does what it's supposed to -- gives you a service when you ask for one00:14
rm_workwe're just supplying the wrong service type00:15
johnsomAh, maybe that is why it's volume, volume2, volume3 for cinder00:15
johnsomhttps://www.irccloud.com/pastebin/y92zF1di/00:15
rm_workright00:15
rm_workyou don't ask for nova, for instance00:15
rm_workyou ask for compute00:15
rm_workand it gives you nova00:15
rm_workthey're slot-in services00:15
johnsomHmm, I would have expected "networking" to include nova and neutron and you select by service name.00:16
rm_workno :/00:16
johnsomoddness00:16
rm_workI guess I just happened to run into this early in my openstack career so i never thought about it00:16
johnsomSo, yeah, changing that could be, ummm, evil00:16
rm_worki assume it'd be expected00:17
rm_workwe should be operating under "loadbalancing"00:17
johnsomI mean that API was never "stable" but still, it could break folks if they are using v100:17
rm_workand then we should have the client start looking for that endpoint00:17
rm_workand eventually deprecate looking under "networking" for LBaaS00:17
rm_workright but if we register as loadbalancing, they aren't going direct to us anyway00:18
rm_workthey still go through a neutron proxy00:18
rm_workuntil the deprecation is complete00:18
rm_workbut it allows for newer clients to go direct to our endpoint00:18
rm_workthus skipping the need for the stupid passthrough proxy thing00:18
rm_workI'm very confident that this *is* the right path forward00:19
rm_workand I'm not sure it'll break anything00:19
johnsomRight this isn't changing anything about neutron or the networking service, just the "octavia" "octavia" service we were putting in devstack00:19
rm_workyeah00:19
johnsomOk, fixing00:20
rm_workand moving forward we'd recommend people do that in their clouds as well, because that's how clients will work moving forward00:20
rm_workand we should also deprecate /lbaas at the same time00:20
rm_workbecause ... there's no reason to have it00:20
johnsomYeah, I think the plan is to support both for now00:21
johnsomThough /lbaas is handy to do odd l7 type things with the API00:22
rm_workhmm00:22
openstackgerritMichael Johnson proposed openstack/octavia master: Fix the service type for octavia  https://review.openstack.org/43381700:24
johnsomI checked, we never documented that in the v1 API-ref00:24
johnsomSo, just updating our new api-ref00:25
*** catintheroof has quit IRC00:29
rm_workerr00:29
rm_workheh k00:29
rm_workyeah i saw it in the new one a couple places00:29
*** fnaval has quit IRC00:29
johnsomWell, also note, the endpoints actually use the project name, not the service type.  All of the endpoints are "neutron" and "octavia"00:32
johnsomWelll, I guess it has both there00:32
johnsomHmm, Yeah, I need to rework that part of the api-ref a bit00:33
*** Guest3904 is now known as medberry00:43
*** medberry has quit IRC00:43
*** medberry has joined #openstack-lbaas00:43
*** fnaval has joined #openstack-lbaas00:43
*** medberry is now known as med_00:43
*** gongysh has joined #openstack-lbaas00:59
*** gongysh has quit IRC01:14
openstackgerritSindhu Devale proposed openstack/octavia master: Add v2 load balancer type and controllers  https://review.openstack.org/42354301:17
openstackgerritMichael Johnson proposed openstack/octavia master: Adds v2 general API information section  https://review.openstack.org/43339201:28
openstackgerritOpenStack Proposal Bot proposed openstack/neutron-lbaas master: Updated from global requirements  https://review.openstack.org/43262001:30
openstackgerritOpenStack Proposal Bot proposed openstack/octavia master: Updated from global requirements  https://review.openstack.org/43401201:32
openstackgerritMichael Johnson proposed openstack/octavia master: Adds v2 general API information section  https://review.openstack.org/43339201:39
openstackgerritMerged openstack/octavia master: Remove config option "amp_network"  https://review.openstack.org/43280501:42
*** gongysh has joined #openstack-lbaas02:05
xgermanback02:11
xgermanagree with Adam -> new clients should go to us; octavia/loadbalancing seems sane02:13
rm_workjohnsom: https://gist.github.com/rm-you/30da92a54d5d4123f006e6108cc23ba002:16
rm_workfinally got around to writing a .... "client" for octavia v102:16
rm_workoops fixed a bug just now02:19
johnsomNice!02:20
rm_workerr and one more bug in my if statement...02:21
rm_workbut yeah. :/02:21
rm_worklack of client is T_T02:21
johnsomI am going to be offline this evening.  Making lamb for valentines day.02:21
rm_workhave fun!02:21
johnsomIt is on the list for Pike02:21
rm_workk fixed that client code02:34
*** fnaval has quit IRC02:38
*** fnaval has joined #openstack-lbaas02:38
rm_worki would REALLY like to figure out single-create...02:40
*** fnaval has quit IRC02:41
xgerman:-)02:45
rm_workit SHOULD work, right?02:45
rm_workbut I haven't gotten it to work yet...02:45
xgermanyeah, I think so02:45
rm_workI just need to figure out the right syntax02:45
rm_workah I think I was trying to do it with Neutron02:45
rm_workmaybe it'll actually work with Octavia02:45
*** fnaval has joined #openstack-lbaas02:45
*** fnaval has quit IRC02:46
xgermanneutron has it as well in someway02:46
rm_workwell... i don't think the extension is loading properly >_>02:46
*** yuanying has quit IRC02:55
xgerman:-(03:00
rm_worktesting to see if i can get octavia singlecreate to work03:00
*** amotoki has joined #openstack-lbaas03:02
*** robcresswell_ has joined #openstack-lbaas03:04
rm_workyeah that's not... great03:04
*** coreycb` has joined #openstack-lbaas03:07
*** ankur-gupta-f4 has quit IRC03:07
*** coreycb has quit IRC03:07
*** robcresswell has quit IRC03:07
*** robcresswell_ is now known as robcresswell03:09
rm_workquotas broke singe-create T_T03:09
rm_workfiling a bug03:09
rm_workhttps://bugs.launchpad.net/octavia/+bug/166480703:18
openstackLaunchpad bug 1664807 in octavia "Single-create is broken (since quotas?)" [Undecided,New]03:18
rm_workjohnsom: ^^ :(03:18
*** amotoki has quit IRC03:19
rm_workgonna look at that tomorrow I guess :/03:20
rm_workoff for the night03:20
*** ankur-gupta-f4 has joined #openstack-lbaas03:31
*** armax has quit IRC03:52
openstackgerritAnkur proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474404:01
openstackgerritAnkur proposed openstack/octavia master: Add v2 load balancer type and controllers  https://review.openstack.org/42354304:01
openstackgerritAnkur proposed openstack/octavia master: Introduce Octavia v2 API for pools  https://review.openstack.org/40592204:01
*** yuanying has joined #openstack-lbaas04:08
*** amotoki has joined #openstack-lbaas04:22
*** links has joined #openstack-lbaas04:34
*** amotoki has quit IRC05:26
*** faizy has joined #openstack-lbaas05:28
*** amotoki has joined #openstack-lbaas05:36
*** amotoki has quit IRC05:53
*** amotoki has joined #openstack-lbaas06:02
*** gcheresh has joined #openstack-lbaas06:03
*** amotoki has quit IRC06:10
*** pcaruana has joined #openstack-lbaas06:20
*** amotoki has joined #openstack-lbaas06:21
*** amotoki_ has joined #openstack-lbaas06:37
*** amotoki has quit IRC06:40
*** Swami__ has quit IRC06:53
*** Swami has quit IRC06:53
*** Alex_Staf has joined #openstack-lbaas06:59
*** anilvenkata has joined #openstack-lbaas07:04
*** rcernin has joined #openstack-lbaas07:07
*** jsheeren has joined #openstack-lbaas07:28
*** eezhova has joined #openstack-lbaas07:28
*** Alex_Staf has quit IRC07:31
*** tesseract has joined #openstack-lbaas07:31
*** yamamoto has quit IRC07:38
*** krypto has joined #openstack-lbaas07:45
*** kobis has joined #openstack-lbaas07:45
*** anilvenkata has quit IRC07:59
*** amotoki_ has quit IRC08:14
*** anilvenkata has joined #openstack-lbaas08:15
*** eezhova has quit IRC08:22
*** amotoki has joined #openstack-lbaas08:24
*** ipsecguy has joined #openstack-lbaas08:28
*** links has quit IRC08:36
*** csomerville has quit IRC08:38
*** cody-somerville has joined #openstack-lbaas08:38
*** krypto has quit IRC08:41
*** yuanying has quit IRC08:47
*** yuanying has joined #openstack-lbaas08:47
*** yuanying has quit IRC08:47
*** links has joined #openstack-lbaas08:52
*** eezhova has joined #openstack-lbaas09:05
*** amotoki has quit IRC09:05
*** Alex_Staf has joined #openstack-lbaas09:10
*** yamamoto has joined #openstack-lbaas09:23
*** yamamoto_ has joined #openstack-lbaas09:24
*** yamamoto_ has quit IRC09:25
*** yamamoto_ has joined #openstack-lbaas09:26
*** yamamoto_ has quit IRC09:26
*** links has quit IRC09:26
*** yuanying has joined #openstack-lbaas09:26
*** yamamoto has quit IRC09:28
*** jsheeren has quit IRC09:32
*** jsheeren has joined #openstack-lbaas09:32
*** jsheeren has quit IRC09:33
*** jsheeren has joined #openstack-lbaas09:33
*** jsheeren has quit IRC09:33
*** jsheeren has joined #openstack-lbaas09:33
*** ipsecguy has quit IRC09:34
*** jsheeren has quit IRC09:34
*** jsheeren has joined #openstack-lbaas09:34
*** links has joined #openstack-lbaas09:43
*** mdavidson has joined #openstack-lbaas09:54
*** anilvenkata has quit IRC10:01
openstackgerritOpenStack Proposal Bot proposed openstack/octavia master: Updated from global requirements  https://review.openstack.org/43401210:24
*** gongysh has quit IRC10:42
*** yamamoto has joined #openstack-lbaas11:53
*** Kdecherf has quit IRC12:09
*** Kdecherf has joined #openstack-lbaas12:24
*** catintheroof has joined #openstack-lbaas12:36
*** faizy has quit IRC12:39
*** yamamoto has quit IRC12:43
*** yamamoto has joined #openstack-lbaas12:50
*** yamamoto has quit IRC12:51
*** coreycb` is now known as coreycb12:51
*** coreycb has quit IRC12:52
*** jsheeren_ has joined #openstack-lbaas12:53
*** coreycb has joined #openstack-lbaas12:53
*** jsheeren_ has left #openstack-lbaas12:53
*** dileepr has quit IRC13:09
*** amotoki has joined #openstack-lbaas13:10
*** faizy has joined #openstack-lbaas13:15
*** jsheeren has quit IRC13:36
*** jsheeren has joined #openstack-lbaas13:38
*** jsheeren has left #openstack-lbaas13:42
*** beardedeagle has quit IRC13:42
*** beardedeagle has joined #openstack-lbaas13:43
*** beardedeagle has quit IRC13:47
*** jsheeren has joined #openstack-lbaas13:59
*** jsheeren has quit IRC14:09
*** matt-borland has joined #openstack-lbaas14:15
*** sanfern has joined #openstack-lbaas14:16
*** jsheeren has joined #openstack-lbaas14:18
*** beardedeagle has joined #openstack-lbaas14:26
*** links has quit IRC14:31
*** chlong has quit IRC14:37
*** Swami has joined #openstack-lbaas14:44
*** fnaval has joined #openstack-lbaas14:54
*** fnaval_ has joined #openstack-lbaas14:58
*** fnaval has quit IRC15:01
openstackgerritNir Magnezi proposed openstack/octavia master: Auto detect haproxy user_group  https://review.openstack.org/42939815:03
diltrammorning15:12
*** armax has joined #openstack-lbaas15:18
*** frickler has joined #openstack-lbaas15:18
fricklerso neutron-lbaas-dashboard belongs to octavia now, is that correct? and 1.0.0 is stable/mitaka, 2.0.0 is stable/ocata and there is no stable/newton existing or planned?15:22
*** jsheeren has quit IRC15:24
openstackgerritMerged openstack/octavia master: Updated from global requirements  https://review.openstack.org/43401215:33
diltramfrickler: yes15:37
diltramno there is no stable/newton because there was no progress in project15:37
johnsomfrickler: you can run stable/mitaka with newton15:41
*** sshank has joined #openstack-lbaas15:42
*** amotoki has quit IRC15:55
*** chlong has joined #openstack-lbaas16:04
*** kobis has quit IRC16:06
*** gcheresh has quit IRC16:06
fricklero.k., I'll try that, thanks16:13
openstackgerritShashank Kumar Shankar proposed openstack/octavia master: Introduce Octavia v2 API for pools  https://review.openstack.org/40592216:14
johnsomOk, spinning up a third desktop to see what I broke with single call create....16:21
*** faizy has quit IRC16:28
*** eezhova has quit IRC16:32
johnsomrm_work Ping me when you have a few minutes.  I can't repro your bug16:34
johnsomxgerman or diltram if you have a master devstack running I can give you the curl to try a single call create.  Maybe you can try it too?16:37
xgermanI would need to boot the VM16:38
xgermanwill go ahead16:38
johnsom curl -s -X POST -H Content-type:application/json -d '{"name": "test_lb", "project_id": "cf418ad823834c28b2ad3888d4b01fa8", "vip": {"subnet_id": "022f1424-6306-42fe-89de-204578eddf6f"}, "listeners": [{"name": "test_listener", "protocol": "HTTP", "protocol_port": 80, "default_pool": {"name":"test_pool1", "protocol": "HTTP", "lb_algorithm": "ROUND_ROBIN",16:39
johnsom"members": [{"ip_address": "172.21.1.15", "protocol_port": 80}, {"ip_address": "172.21.2.12", "protocol_port": 80}]}}]}' http://172.21.21.135:9876/v1/loadbalancers16:39
*** dileepr has joined #openstack-lbaas16:42
*** rcernin has quit IRC16:43
*** kobis has joined #openstack-lbaas16:48
openstackgerritSindhu Devale proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474416:53
*** tesseract has quit IRC16:58
openstackgerritNakul Dahiwade proposed openstack/octavia master: Introduce Octavia v2 API for Members  https://review.openstack.org/40593217:04
*** eezhova has joined #openstack-lbaas17:09
*** faizy has joined #openstack-lbaas17:09
xgermanhttps://www.irccloud.com/pastebin/Za6izoBt/17:15
xgerman^^ johnsom17:15
xgermanlooks good17:15
johnsomYeah, good.  That is what I got too.  I wonder if he wasn't doing pdb things that left a DB lock in place....17:16
johnsomThanks for confirming17:16
openstackgerritSindhu Devale proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474417:16
*** csomerville has joined #openstack-lbaas17:21
openstackgerritAnkur proposed openstack/octavia master: Add v2 load balancer type and controllers  https://review.openstack.org/42354317:23
*** chlong has quit IRC17:24
*** cody-somerville has quit IRC17:24
*** Alex_Staf has quit IRC17:33
*** kobis has quit IRC17:43
*** faizy has quit IRC17:45
*** kobis has joined #openstack-lbaas17:49
*** kobis has quit IRC17:50
openstackgerritMichael Johnson proposed openstack/octavia master: Fix the service type for octavia  https://review.openstack.org/43381718:07
*** Swami_ has joined #openstack-lbaas18:17
*** Swami has quit IRC18:20
*** gcheresh has joined #openstack-lbaas18:31
*** ipsecguy has joined #openstack-lbaas18:35
*** Swami_ has quit IRC18:37
openstackgerritSindhu Devale proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474418:44
*** pcaruana has quit IRC19:03
nmagnezio/19:16
nmagnezidiltram, welcome back!19:16
openstackgerritShashank Kumar Shankar proposed openstack/octavia master: Align Octavia API to n-lbaasv2 for L7Rules  https://review.openstack.org/40633619:20
rm_workjohnsom: hmmm19:24
rm_workjohnsom: no PDB here...19:24
rm_workit locked up in the API before it even got through to the CW19:24
rm_worklet me try again19:24
johnsomRight, that is where it should happen19:25
rm_workyeah it's doing it19:25
johnsomHowever you should only get that error if you sent like hundreds of create calls all at once19:25
rm_workand looking at the code, it makes sense to me?19:25
rm_workerr....19:25
johnsomSo you still have it going on?19:25
rm_workyes19:25
rm_workevery time19:26
johnsomrm_work SHOW FULL PROCESSLIST;19:26
rm_workAH19:26
johnsomin mysql19:26
rm_workI didn't pass projectid?19:26
rm_workmaybe that's different?19:26
rm_workI am using a token19:26
johnsomYou should get an error that you didn't specify a project ID19:27
johnsomNo DB deadlock19:27
rm_workbut i'm using an auth token19:27
rm_workso it pulls the token from that19:27
rm_workerr19:27
rm_workproject_id from that19:27
rm_workI have keystone auth enabled19:27
johnsomYeah, your log said it had a project ID anyway19:28
rm_workright because it pulled it19:28
rm_workbut your curl isn't using auth19:28
rm_workwhat are you looking for in the processlist?19:28
johnsomRight19:28
rm_workjust saying, you aren't exactly reproducing using my method :P19:28
johnsomTo see which process has the DB row locked causing your error19:28
rm_workwhere would it show a lock19:29
johnsomI'm not sure actually, trying to google it now19:30
johnsomMine shows all "sleep"19:30
johnsomAh, this has comments about open locks too: show engine innodb status;19:31
rm_workhttps://gist.github.com/rm-you/4780c17e754d4b719608483b32d688c919:32
*** sanfern has quit IRC19:32
johnsom1992    octavia localhost:52582 octavia Query   46      statistics      SELECT quotas.project_id AS quotas_project_id, quotas.health_monitor AS quotas_health_monitor, quotas.listener AS quotas_listener, quotas.load_balancer AS quotas_load_balancer, quotas.member AS quotas_member, quotas.pool AS quotas_pool, quotas.in_use_health_monitor AS19:32
johnsomquotas_in_use_health_monitor, quotas.in_use_listener AS quotas_in_use_listener, quotas.in_use_load_balancer AS quotas_in_use_load_balancer, quotas.in_use_member AS quotas_in_use_member, quotas.in_use_pool AS quotas_in_use_pool \nFROM quotas \nWHERE quotas.project_id = 'e54e5a6636324fdda3f338a96e9fd60c' \n LIMIT 1 FOR UPDATE19:32
johnsomThat is it19:32
rm_workright19:32
rm_worki assume so19:32
rm_workfigured out you meant to do it DURING the hang :P19:32
rm_work(duh)19:33
johnsomHmm, that isn't helpful actually.19:33
johnsomYeah, I haven't done this type of stuff on mysql in a long time19:33
johnsomThis 'show engine innodb status;" seems to give more useful info19:35
rm_workhttps://gist.githubusercontent.com/rm-you/6d90f10d393e23ef47d9b69e962ed588/raw/bef88cff5a6018adf33f363e40619e56268b7fc6/gistfile1.txt19:35
*** chlong has joined #openstack-lbaas19:36
rm_workfixed: https://gist.github.com/rm-you/6d90f10d393e23ef47d9b69e962ed58819:42
johnsomSELECT pl.id ,pl.user ,pl.state ,it.trx_id ,it.trx_mysql_thread_id ,it.trx_query AS query ,it.trx_id AS blocking_trx_id ,it.trx_mysql_thread_id AS blocking_thread ,it.trx_query AS blocking_query FROM information_schema.processlist AS pl INNER JOIN information_schema.innodb_trx AS it ON pl.id = it.trx_mysql_thread_id INNER JOIN19:43
johnsominformation_schema.innodb_lock_waits AS ilw ON it.trx_id = ilw.requesting_trx_id AND it.trx_id = ilw.blocking_trx_id;19:43
rm_work...19:46
johnsomI have no idea why that didn't pastebin19:46
rm_workregardless19:47
rm_workthe '...' was for "... what"19:47
johnsomhttps://www.irccloud.com/pastebin/tbXL6cgw/19:48
rm_workoh19:48
rm_workyou want me to run that19:48
rm_work?19:48
johnsomThat is a sql script folks say will give you info on what is blocking your query19:48
rm_workempty19:49
johnsomYeah.  I mean, I can tell you how to fix it, just restart mysql.  That will close the transaction for whatever is holding the quota row lock19:49
rm_workoh you think something was already holding a lock, unrelated?19:49
johnsomYeah19:50
rm_workhmm19:50
johnsomSomehow a previous transaction is stuck open19:50
*** chlong has quit IRC19:51
johnsomLike if you were using pdb and exited without letting the transaction close.19:51
rm_workrestarted19:51
rm_worknope.19:51
rm_workalso, never used pdb on this19:51
rm_worknah i see both quota checks happen19:52
rm_workhttps://gist.github.com/rm-you/f93521aea8c41e13672a9809f453c29b19:53
rm_worksee, make the query and it makes two quota checks instantly: https://gist.github.com/rm-you/f93521aea8c41e13672a9809f453c29b19:53
rm_workerr, same pastebin19:53
rm_worklooking at create_load_balancer_tree19:56
rm_workshouldn't the quota checks be upfront anyway?19:56
rm_worki dunno, seems weird that it goes through objects one by one and checks quotas19:57
johnsomIt's all or none, so we can do it as the code parses the request.  It's that or parse it twice.19:58
johnsomI just don't understand why your database is deadlocked19:58
rm_workah right it's in a transaction, duh19:58
johnsommysql is not very nice about telling you what has it deadlocked19:59
rm_workhmmm maybe i could update the code to show me a better traceback of at least where in the code it was when it got a deadlock19:59
johnsomOk, meeting time19:59
rm_workah k19:59
*** ducttape_ has joined #openstack-lbaas20:00
rm_workthe deadlock is on repositories.py line 50120:07
rm_workfirst check of quota in create_load_balancer_tree20:08
*** m-greene has joined #openstack-lbaas20:19
*** dileepr has quit IRC20:19
*** kbyrne has quit IRC20:22
*** _ducttape_ has joined #openstack-lbaas20:22
*** ducttape_ has quit IRC20:26
*** gcheresh has quit IRC20:32
*** jerrygb has joined #openstack-lbaas20:36
rm_workjohnsom: why does it get another lock session on line 496?20:39
nmagnezirm_work, I think I managed to follow you suggestion about not duplicating the default values to the devstack plugin https://review.openstack.org/#/c/431576/4/devstack/plugin.sh :)20:39
rm_workthe session that passed in WAS a lock session20:39
rm_workload_balancer.py line 124 makes a lock_session20:39
rm_workpasses it to _create_load_balancer_graph_db20:40
rm_workwhich passes it to create_load_balancer_tree20:40
rm_workwhich ignores the existing session and makes another20:40
rm_workerr sorry one sec20:40
rm_workdb_prepare.create_load_balancer_tree20:41
rm_workthat one20:41
rm_workerr sorry20:41
rm_workNOT that one20:41
rm_workrepositories.create_load_balancer_tree20:41
johnsomrm_work session is the DB session in the context.  It is not used for locking.20:43
rm_workbut it IS the lock_session20:44
johnsomOnly the "lock_session" is used for locking.  Both sessions go along in parallel20:44
rm_worktrace back20:44
rm_workwhen it is passed through it IS "lock_session"20:44
rm_workthen it's accepted as just "session"20:44
rm_workyep fixed20:45
rm_workbasically, need to remove the "with session.begin" and the new lock_session20:45
rm_workbecause we're already IN a lock_session20:46
johnsomWhat?????20:46
rm_workscreenshare? I can walk you through20:46
johnsomThis works fine for german and I so.....20:46
rm_worki mean it's pretty obvious just looking at the code, to me20:46
johnsomYeah, just a minute20:46
xgermanyeah, I used a devstack20:46
rm_workare you using *auth*?20:47
rm_workmaybe it is different?20:47
rm_workhop on this: https://godaddy.zoom.us/j/60676266120:47
*** dileepr has joined #openstack-lbaas20:51
openstackgerritShashank Kumar Shankar proposed openstack/octavia master: Introduce Octavia v2 API for pools  https://review.openstack.org/40592220:53
-openstackstatus- NOTICE: We're currently battling an increase in log volume which isn't leaving sufficient space for new jobs to upload logs and results in POST_FAILURE in those cases; recheck if necessary but keep spurious rebasing and rechecking to a minimum until we're in the clear.20:56
rm_workI think screenshares are really the most effective way to do stuff like this21:06
rm_workbar none21:06
*** _ducttape_ has quit IRC21:07
*** ducttape_ has joined #openstack-lbaas21:08
openstackgerritAdam Harwell proposed openstack/octavia master: Fix quota lock on single_create with auth enabled  https://review.openstack.org/43451821:08
rm_workOK cool, so single-create *works*! :P21:17
rm_workyay21:17
openstackgerritShashank Kumar Shankar proposed openstack/octavia master: Introduce Octavia v2 API for pools  https://review.openstack.org/40592221:30
*** ducttape_ has quit IRC21:40
*** ipsecguy_ has joined #openstack-lbaas21:51
*** ipsecguy has quit IRC21:52
rm_workerr, sorry if this is repeat, but my connection is wonky:21:53
rm_workxgerman: did cascade-delete ever make it into octavia?21:53
xgermandon’t know21:53
xgermanI think johnsom said it didn’t make it21:54
johnsomYeah, I am not sure either21:55
openstackgerritSindhu Devale proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474422:12
openstackgerritSindhu Devale proposed openstack/octavia master: [WIP] Octavia developer quick start guide  https://review.openstack.org/41041922:20
*** ducttape_ has joined #openstack-lbaas22:29
xgermanHu?22:41
xgermanhttps://usercontent.irccloud-cdn.com/file/VbBw1rGp/Screen%20Shot%202017-02-15%20at%205.41.33%20PM.png22:41
xgerman^ johnsom, rm_work…22:42
johnsomNo clue22:42
xgermanI remember some other dude to talk on Octavia we didn’t know a few years back ;-)22:43
*** matt-borland has quit IRC22:43
rm_workhuh22:44
rm_workwell, cool22:44
rm_workumm22:44
johnsomKeith Berger from HPE22:44
rm_workanyone in ATL? :P22:44
johnsom^^^ xgerman22:44
johnsomhttps://www.meetup.com/openstack-atlanta/events/237189297/?a=socialmedia22:44
rm_workoh god is he demoing Liberty? >_>22:44
xgermanyeah, I was surprised, too, about the HPE angle22:44
johnsomYeah, exactly22:45
rm_workplease no22:45
rm_workcan we pretend nothing actually exists before like.... newton22:45
rm_workor ocata really22:45
openstackgerritNakul Dahiwade proposed openstack/octavia master: Introduce Octavia v2 API for Members  https://review.openstack.org/40593222:45
rm_workwe're just finally getting to what I'd call "usable"22:45
johnsomNewton was a good release.22:45
rm_workstill a lot of stuff that's pretty breaking that we're just now finding an fixing22:46
rm_worki seriously feel like no one must have tried deploying this to production and using it22:46
johnsomYeah, really interesting.  I'm not sure I ever met Keith Berger22:46
rm_workbecause a ton of stuff was *really broken*22:46
rm_workor else, no one uses spares pools. or has things fail over. or ever tried single-create. lol22:47
rm_workactually i guess the answer is it's because i'm deploying *octavia*, not neutron-lbaas22:47
rm_workand I probably am the first to try to do that <_<22:47
johnsomWell, some of those deploying might have local fixes to stuff as well22:47
johnsomThat maybe made it upstream in a later release22:48
rm_workyeah the issue I think is that I ignore anything non-octavia22:49
xgermanwe have Mark McLain in Atlanta22:49
rm_workso obviously octavia wasn't deployable previously22:49
rm_workYeah I was just thinking of the people actually on the project22:49
xgermanHPE released kilo?22:49
rm_workI wonder if we could get a line into that meetup22:49
rm_workso we could help answer questions or something22:50
johnsomYeah, I would love to be a bug on the wall22:50
rm_workas he is probably working from some outdated info22:50
xgermanmaybe it gets recorded22:50
rm_workunless he's been in here in the last few days :P22:50
johnsomHe is in the channel...22:51
xgermanindeed22:51
rm_workkberger: o/22:51
rm_workkberger: curious what your presentation tonight is going to look like :)22:52
rm_workand if we can be of any assistance for answering questions / etc22:52
johnsomTomorrow night actually22:52
rm_workah i thought it was today22:52
rm_workah yeah wow i am not paying attention22:53
xgermanI asked in twitter if they record… let’s see22:54
*** m-greene has quit IRC22:55
*** eezhova has quit IRC22:55
johnsomI will ping Doug too since he is an organizer22:55
*** m-greene has joined #openstack-lbaas22:56
johnsomOk, back to fixing the functional tests for the quotas change.  I'm going to see if I can turn on my scenario test now that the project_id patch merged too.  I had it marked "skip"22:58
*** catintheroof has quit IRC23:00
*** beardedeagle has quit IRC23:11
rm_workhmm, lots of failures on that patch due to SSH connection timeouts to cirros images >_<23:27
rm_workI think the scenarios are busted from something else23:27
rm_workalso apparently i failed at pep823:27
rm_workah unused import now? lol23:27
rm_workyeah actually that makes sense23:27
johnsomYeah, that is all about the infra out-of-disk space issue earlier today23:27
rm_workthat really should not have been there23:28
rm_workmake sure you fix that23:28
johnsomDid already23:28
rm_workk23:28
johnsomThe oddity I am looking at is I am seeing stuff not roll back right.23:29
johnsomSo, we still have session/lock_session wrong here23:30
rm_workhmmmmmm23:31
*** jerrygb_ has joined #openstack-lbaas23:52
*** jerrygb has quit IRC23:53
*** fnaval_ has quit IRC23:54
*** jerrygb_ has quit IRC23:59
*** jerrygb has joined #openstack-lbaas23:59

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