Tuesday, 2016-09-06

carrbsjohnsom: I pushed a patch for one of the depreciation warning tickets you showed me. Is there a way to link the gerrit patch to the ticket or should I just put the gerrit branch in the ticket as a comment?00:33
*** yuanying has joined #openstack-lbaas01:24
*** yuanying has quit IRC01:24
*** armax has quit IRC02:13
*** amotoki has joined #openstack-lbaas02:48
*** amotoki has quit IRC02:50
*** yuanying has joined #openstack-lbaas02:52
*** yuanying has quit IRC02:55
*** yuanying has joined #openstack-lbaas02:57
*** yuanying has quit IRC03:00
*** yuanying has joined #openstack-lbaas03:00
*** amotoki has joined #openstack-lbaas03:07
*** yuanying has quit IRC03:18
*** amotoki has quit IRC03:18
*** yuanying has joined #openstack-lbaas03:20
*** cody-somerville has joined #openstack-lbaas03:39
*** bana_k has joined #openstack-lbaas03:41
*** csomerville has joined #openstack-lbaas03:41
*** cody-somerville has quit IRC03:45
*** csomerville has quit IRC03:49
*** amotoki has joined #openstack-lbaas03:54
*** yuanying has quit IRC04:00
*** yuanying has joined #openstack-lbaas04:02
reediprm_work : ping04:06
*** Alex_Stef has joined #openstack-lbaas04:19
*** links has joined #openstack-lbaas04:39
*** bana_k has quit IRC04:39
*** Appa has joined #openstack-lbaas04:42
*** bana_k has joined #openstack-lbaas04:58
*** anilvenkata has joined #openstack-lbaas05:00
*** diogogmt has quit IRC05:19
*** kobis has quit IRC05:26
*** diogogmt has joined #openstack-lbaas05:41
*** reedip has quit IRC05:50
*** reedip has joined #openstack-lbaas06:03
*** saju_m has joined #openstack-lbaas06:17
*** kobis has joined #openstack-lbaas06:22
*** gcheresh has joined #openstack-lbaas06:23
*** ihrachys has joined #openstack-lbaas06:29
*** pcaruana has joined #openstack-lbaas06:48
*** tesseract- has joined #openstack-lbaas07:00
*** ihrachys has quit IRC07:12
*** ihrachys has joined #openstack-lbaas07:12
rm_workreedip: sup?07:17
*** ihrachys has quit IRC07:23
reediprm_work : Hi , hope I am not disturbing you .. wanted some comments for https://review.openstack.org/#/c/273896/07:26
reedipThe value of 50000 ms was the default value, however, I am not sure what would be the maximum value. Any suggestions for the same?>07:26
rm_workreedip: about default / max, I am not sure07:29
rm_workthe thing that is very important though, is the DB07:29
rm_workhttps://review.openstack.org/#/c/273896/22/neutron_lbaas/db/migration/alembic_migrations/versions/newton/expand/1e49252881f_AddListenerTimeout.py07:29
rm_workSetting defaults is NOT done in the DB this way07:29
rm_worksince this script is only run during the migration (once) and so it would set a value when first installed07:30
rm_workthen when the operator changes the value, it would never be updated07:30
rm_workalso, it should never have a null value by the time it saves to the DB07:30
rm_workas for default VALUE, it could be 50000, that is fine -- but it should not be specified in constants.py like that (trying to keep consistent with how *every* other default is defined)07:33
rm_workcarrbs: you put the line "Closes-Bug: #123456" in the commit message, similar to the Change-Id line07:40
openstackbug 123456 in xine-lib (Ubuntu) "podcast crashes amarok" [Undecided,Fix released] https://launchpad.net/bugs/12345607:40
rm_worklol of course that's a real bug >_>07:40
*** eezhova has joined #openstack-lbaas07:42
rm_workcarrbs: and, you should not be seeing issues with "tox -e py34" installing deps... if you are, there may be something wonky in your environment07:42
rm_workcarrbs: I find that using the system installed version of python often has some weird issues -- I use pyenv to install a nice clean version of python/pip to use for tox testing07:43
*** bana_k has quit IRC07:49
reediprm_work : Okay, thanks for the information. I will look into your comments and get back to you ASAP08:04
*** eezhova has quit IRC08:10
*** ihrachys has joined #openstack-lbaas08:23
*** gongysh has quit IRC08:25
*** gongysh has joined #openstack-lbaas08:26
*** bcafarel has joined #openstack-lbaas08:38
*** eezhova has joined #openstack-lbaas09:08
openstackgerritNir Magnezi proposed openstack/neutron-lbaas: Implements ProcessMonitor in the haproxy driver  https://review.openstack.org/34465809:12
*** nmagnezi has joined #openstack-lbaas09:13
*** gongysh has quit IRC09:19
*** gongysh has joined #openstack-lbaas09:21
*** gongysh has quit IRC09:26
*** reedip has quit IRC09:51
*** saju_m has quit IRC09:57
*** reedip has joined #openstack-lbaas10:04
*** HenryG_ is now known as HenryG10:46
*** amotoki_ has joined #openstack-lbaas11:29
*** amotoki has quit IRC11:31
*** Appa has quit IRC11:32
*** Appa has joined #openstack-lbaas11:46
openstackgerritNir Magnezi proposed openstack/neutron-lbaas: Implements ProcessMonitor in the haproxy driver  https://review.openstack.org/34465811:57
*** Appa has quit IRC12:01
*** reedip has quit IRC12:02
nmagnezisbalukoff, ^^ tests added (and should now work okay)12:04
*** reedip has joined #openstack-lbaas12:16
*** woodster_ has joined #openstack-lbaas12:26
*** anilvenkata has quit IRC12:39
*** pcaruana has quit IRC12:50
*** nmagnezi_ has joined #openstack-lbaas13:12
*** nmagnezi has quit IRC13:14
*** matt-borland has joined #openstack-lbaas13:17
*** brad_behle has joined #openstack-lbaas13:27
*** Alex_Stef has quit IRC13:51
*** gongysh has joined #openstack-lbaas13:52
*** Appa has joined #openstack-lbaas13:54
*** brad_behle has quit IRC14:00
*** amotoki_ has quit IRC14:09
*** Appa has quit IRC14:10
*** ducttape_ has joined #openstack-lbaas14:12
*** ducttape_ has quit IRC14:15
*** nmagnezi_ has quit IRC14:15
*** amotoki has joined #openstack-lbaas14:17
*** ducttape_ has joined #openstack-lbaas14:18
*** gongysh has quit IRC14:20
*** diogogmt has quit IRC14:20
*** links has quit IRC14:21
*** Appa has joined #openstack-lbaas14:23
*** BjoernT has joined #openstack-lbaas14:25
*** zigo has quit IRC14:25
*** vrathi has quit IRC14:31
*** zigo has joined #openstack-lbaas14:32
*** zigo is now known as Guest3914714:33
*** reedip is now known as reedip_outofoffi14:34
*** reedip_outofoffi is now known as reedip14:34
*** Appa has quit IRC14:34
*** pglass has joined #openstack-lbaas14:36
*** amotoki has quit IRC14:38
*** Guest39147 has quit IRC14:39
*** zigo_ has joined #openstack-lbaas14:42
*** gcheresh has quit IRC14:42
*** zigo_ has quit IRC14:47
*** zigo_ has joined #openstack-lbaas14:48
*** ddaskal has joined #openstack-lbaas14:52
diltram_morning14:58
*** diltram_ is now known as diltram14:58
*** _ducttape_ has joined #openstack-lbaas14:59
*** eezhova has quit IRC15:00
*** ducttape_ has quit IRC15:02
*** amotoki has joined #openstack-lbaas15:11
*** diogogmt has joined #openstack-lbaas15:11
openstackgerritLubosz Kosnik (diltram) proposed openstack/octavia: Backend Keystone authentication  https://review.openstack.org/36465515:16
*** matt-borland has quit IRC15:17
*** zigo_ is now known as zigo15:20
pglasswhy does octavia have so many devstack ci checks?15:27
pglasslike there is one for health monitor, listener, loadbalancer, member, ...15:27
pglassis octavia actually being configured differently for each of those jobs?15:28
*** armax has joined #openstack-lbaas15:29
*** sbelous has left #openstack-lbaas15:30
diltramno, they just verify different things15:31
diltrampglass: it's done to speed up testing15:31
pglassokay. i mean, that's a heavy-handed way to parallelize your tests.15:32
pglassit also looks like each individual devstack job only runs with a single process15:33
pglassonly runs tests with a single process15:33
pglasscan those tests be run with multiple threads/processes, or are they not thread-safe?15:33
diltramhow did you checkeck that they are not multithreaded?15:35
pglasshttp://logs.openstack.org/28/346728/12/check/gate-neutron-lbaasv2-dsvm-pool/7fb6702/console.html#_2016-09-05_08_25_30_76107615:35
pglassthe {0} is the process or thread number15:35
pglasscompare that to http://logs.openstack.org/20/318020/89/check/gate-designate-dsvm-powerdns/4690f71/console.html#_2016-09-06_10_28_16_98161215:36
diltramcheck the VM configuraton15:36
diltramprobably there is only 1 core15:36
pglassdoesn't matter15:36
pglassyou can still benefit from multiple threads/processes if they are mostly idling (which is usually the case)15:36
diltramehhhh :/ nvm15:37
*** pcaruana has joined #openstack-lbaas15:42
*** kobis has quit IRC15:42
pglassit's fine. it just looked like an area where we could be a little less wasteful with ci resources.15:42
pglassi'll take a look sometime to see if those tests are suitable for running in parallel. tempest should be running in a mode where each test case (or test class) creates its own user.15:43
diltramfeel free15:44
diltrambut first of all check how octavia is implemented and after that try to make it use multiple users15:44
pglassyeah, I'm not sure what sorts of cross-tenant resources or operations there are right now.15:46
diltramI know15:46
*** bana_k has joined #openstack-lbaas15:52
diltramjohnsom: https://review.openstack.org/#/c/364655/ - test results from OSIC cluster :D15:52
*** _ducttape_ has quit IRC15:58
*** ducttape_ has joined #openstack-lbaas15:59
rm_workpglass: it's because each test requires spinning up one Amphora VM, and it takes a LONG time to do that16:00
rm_workpglass: so if we don't split them up, it'd take foreeeeever16:01
rm_workit takes about 8-10m to spin one VM in devstack because no nested virt16:01
rm_workcan't parallelize it16:01
rm_workwe can only run ~4-6 real tests per devstack because of the time limits16:02
pglassyou can't spin up two vms simultaneously in devstack as configured?16:02
rm_worknope16:03
rm_worki mean, you might be able to, but i think it'd take like 20 minutes for each if you did them simultaneously16:04
rm_workwhich would cause all kinds of timeouts16:04
pglassi mean, then how does nova run any of its tests in a reasonable amount of time.16:05
rm_workto my knowledge the only groups that actually boot VMs are us, magnum and ironic16:06
rm_workand they have more optimized images16:06
rm_workfor instance, cirros will boot in ~10s16:06
rm_workour amphora image takes 10 minutes on the same box16:06
pglassokay, that makes some sense.16:07
pglassthe image differences.16:07
rm_workpersonally i think something must be broken in our image because it SHOULDN'T take so long16:07
rm_workbut i think base ubuntu takes similar16:07
rm_workso it's something with ubuntu maybe?16:07
rm_workI wanted to switch us onto a more minimal image but didn't have time to finish that exercise16:08
carrbsrm_work: thanks for the pyenv tip, I will try that out. Since I've already pushed that patch up, should I put a comment with reference to the ticket?16:08
carrbsIn the future I will def put the ticket number in the commit msg16:08
rm_workcarrbs: no, you'll need to amend the commit message and review again16:08
carrbsok, thanks!16:08
rm_workor I think you can edit the commit message directly from the gerrit UI16:09
rm_workif it's just the commit message change16:09
carrbsi'll look16:09
diltramcarrbs: you can change commit msg from gerrit16:09
diltramrm_work: we have finally gates with kvm16:09
rm_workthat's awesome! though, does it help us a lot? :P16:10
diltramrm_work: https://review.openstack.org/#/c/364655/ <- results from OSIC cluster :D16:10
rm_workoh nice, so fast16:10
diltramcarrbs: I'm just reviewing stuff so give me url to your commit, I will take a look into it16:11
diltramyeah, finally :P16:11
diltramI need to contact canonical what is going one with our patch to lxd16:11
carrbsdiltram: https://review.openstack.org/#/c/365442/16:11
diltramnova-lxd*16:11
rm_workdiltram: hmm though scenario didn't get an LB up in 600s, was that because of your change?16:11
diltramyeah, unfortunately :P16:12
diltramI'm trying to make that change as small as possible16:12
diltramand again I hit the wall16:12
diltram:/16:12
diltramI need to add to this patch also code for that bug16:13
diltramhttps://bugs.launchpad.net/octavia/+bug/162066816:13
openstackLaunchpad bug 1620668 in octavia "Octavia is using Neutron user." [Undecided,New]16:13
diltramcarrbs: aaa, already reviewed :P16:13
carrbsyea I saw that :)16:13
carrbsthanks!16:13
diltramnp16:14
carrbsdiltram: where's the magic "edit commit msg" in gerrit?16:14
diltramyou need to open commit msg review  window16:14
diltramand next to patch set versions there is notepad icon16:14
diltramcarrbs: https://review.openstack.org/#/c/365442/1/octavia/common/config.py,edit16:15
diltramnot this16:15
diltramcarrbs: https://review.openstack.org/#/c/365442/1//COMMIT_MSG,edit this one16:15
carrbsdiltram: right, thanks!16:16
diltramnp16:16
carrbsI see the lil edit button now :)16:16
diltramrm_work: I was trying to change user which we're using in devstack16:17
diltramand I created a new octavia user16:17
diltrambut api stopped working, so I switched back to neutron16:17
diltrambut right now nova is telling to me f****ck of :P16:17
rm_workok so16:19
rm_workthe user Octavia uses has to be the same one that Neutron-LBaaS uses16:19
rm_workfor ... reasons16:19
rm_workI believe it's port ownership and also for barbican it needs to be the same16:20
rm_workbecause of how consumers work16:20
rm_workso until we merge we just have to use the same account as n-lbaas16:20
rm_workdiltram: but once we merge ... we'll just be using one account also :P16:21
diltramrm_work: not really :P16:22
rm_workwell, one admin and one non-admin i think?16:23
rm_workbut they'll be our own accounts16:23
diltramit's stupid but if you need to do smth as "service" in nova you need to have access to this project so you should use nova service user :P16:23
diltramwe're using service accounts not admin/non-admin16:23
rm_workhmm16:23
diltramI checked in neutron how they're configuring that, there is secion nova.auth containing data about nova service user16:24
diltramand when they're doing something in nova they're using that account :P16:24
diltramit's true you can configure that in some different way but in devstack it is simplest :P16:25
diltramin barbican you just need to use same account always16:28
diltrambecause we're not doing anything in barbican what require service/admin access16:29
rm_workwe are16:29
rm_workfetching the secrets requires an admin account right now16:29
rm_workbecause of a bug in consumers16:30
diltrambecause normaly policy.json is configured to give access to special methods, in neutron, when user is admin or user is neutron - so you need to change that policy.json to be able to use our own octavia account to make that changes16:30
rm_workonce consumers is fixed, it will not16:30
diltramok, didn't know16:30
diltramso I will verify that and if smth I will add also barbican user configuration16:30
rm_workhopefully soon it will be fixed...16:30
rm_workso, the workflow is supposed to be "end user adds ACL rule to their secrets/container to allow our user (non-admin) to access their secrets"16:31
rm_workand then we can access them16:31
rm_workbut the consumers endpoint doesn't respect that properly16:32
rm_workthere's a patch up for a long time but i didn't have time to finish it, and a series of people were planning to take it over but never did16:32
rm_worksomeone seems to actually be working on it again16:32
rm_workhttps://review.openstack.org/#/c/251168/16:32
diltramnice :)16:34
diltramso will be able to change that after merging that ;)16:34
*** matt-borland has joined #openstack-lbaas16:39
carrbsdiltram: I edit the commit message, is there anything else I need to do so that launchpad knows about the patch?16:41
carrbs*edited16:41
diltramcarrbs: you need to save that changes16:41
rm_workyeah, don't see the edit yet16:42
carrbsI did, the bug/ticket number now displays in the commit message16:42
carrbsHmm16:42
diltramexactly16:42
diltramthere should be button publish edit16:42
diltramin place of reply...16:42
carrbsOh, ok I'll do that :)16:43
diltramafter that gerrit should publish info on launchpad16:43
rm_workonce you save it properly, there will be a message here16:43
*** sbalukoff has quit IRC16:43
openstackgerritBen Carr proposed openstack/octavia: Remove deprecated (and unused) 'sqlite_db' config option  https://review.openstack.org/36544216:49
*** sbalukoff has joined #openstack-lbaas16:49
carrbsyea that worked, thanks rm_work and diltram16:49
diltramcarrbs: np, readded +116:50
diltramedit on website doesn't recognize changing only commit msg16:51
diltramit16:51
*** sbalukoff has quit IRC16:54
*** ihrachys has quit IRC16:55
*** sbalukoff has joined #openstack-lbaas16:57
johnsomdiltram So, looking at that test run, it looks like the nova instances didn't boot17:00
johnsomAnd the nova.conf still has qemu in it17:01
johnsomSo, I think I am missing something17:01
*** bana_k has quit IRC17:03
*** bradjones has quit IRC17:06
carrbsdiltram: pyenv works awesome, test running more smoothly now. Does this error seem config related as well? http://paste.openstack.org/show/567217/17:10
*** armax has quit IRC17:11
*** bradjones has joined #openstack-lbaas17:11
*** bradjones has quit IRC17:11
*** bradjones has joined #openstack-lbaas17:11
rm_workcarrbs: augh, I've seen that17:11
rm_workbut i forget how to fix it17:11
carrbsGood that's it not just me though :)17:13
johnsomcarrbs That error is because you ran tox with py34 before you ran with py27.  The testr database built under py34 is not compatible with py27.   To solve, rm -rf .testrepository and run py27 as the first test.  Just running tox will also run in this order.17:16
carrbsjohnsom: thanks, I was just reading another bug with a similar workaround.17:17
*** bana_k has joined #openstack-lbaas17:20
rm_workAH, yeah ok, that sounds familiar17:23
*** kevo has joined #openstack-lbaas17:23
*** armax has joined #openstack-lbaas17:26
dougwigjohnsom: wow, that is fucked up.17:27
*** kobis has joined #openstack-lbaas17:28
bana_kdiltram : https://review.openstack.org/#/c/355764/18 any comments for this -1 ?17:32
openstackgerritPhillip Toohill proposed openstack/octavia: WIP: Octavia: Basic LoadBalancer Scenario Test  https://review.openstack.org/17219917:35
*** harlowja has joined #openstack-lbaas17:38
*** amotoki has quit IRC17:39
*** kobis has quit IRC17:45
*** Alex_Stef has joined #openstack-lbaas18:03
*** Alex_Stef has quit IRC18:32
carrbsrm_work: do you have more tips on how to get tox to run the test successfully with pyenv?18:32
rm_workcarrbs: inside the repo directory, run "pyenv local 3.4.5" or whatever you have installed18:33
rm_workor probably:18:33
carrbsDo I need to install Python 2.7, 3.4 and 3.5 via pyenv?18:33
rm_workpyenv local 3.4.5 2.7.1218:33
rm_workyes18:33
rm_workpyenv install 3.4.518:34
carrbsrm_work: just 3.4, not `pyenv local 3.4.5 2.7 3.5`?18:37
rm_workyeah, alll of those18:37
carrbsk18:38
rm_workthen have it rebuild all of your envs18:38
dougwigTrevorV: status of https://bugs.launchpad.net/neutron/+bug/1521783 ?18:42
openstackLaunchpad bug 1521783 in neutron "[RFE] Cascading delete for LBaaS Objects" [Wishlist,Incomplete] - Assigned to Brandon Logan (brandon-logan)18:42
TrevorVdougwig, I've never worked on it.18:42
dougwigTrevorV: i'm surprised we'd merge a create without a delete.18:43
TrevorVWell back in the day someone else was working on the delete while I was working on the create18:43
TrevorVI don't remember it being contingent one upon the other though18:43
dougwigTrevorV: ok, and is there a client patch for the create?18:46
TrevorVdougwig, no, and I wasn't aware of that being needed either.18:46
TrevorVIs there supposed to be 100% parity between client and API?18:47
dougwigTrevorV: yes, client, docs, tests... all are required before it can be marked 'complete'.18:47
TrevorVOh, alright.  Well, I didn't fully understand that.  I guess we should file a bug then.18:48
dougwigcan you whip up a client change today, so we can get it in newton?18:48
openstackgerritMerged openstack/octavia: Remove deprecated (and unused) 'sqlite_db' config option  https://review.openstack.org/36544218:49
openstackgerritTrevor Vardeman proposed openstack/octavia: Add quota support to Octavia  https://review.openstack.org/36079418:49
carrbswoot, first patch ^18:50
TrevorVdougwig, I've never done anything in the client before18:51
dougwigTrevorV: find a similar patch, copy it?18:51
carrbsthanks for your help on that rm_work and diltram18:51
dougwigi haven't either ,and that's what i'd do18:51
TrevorVdougwig, alright, I'll see what I can do18:51
TrevorVdougwig, I just need an active review though, right?  So even if it isn't 100% functional I can just iterate on it a bit, yes?18:52
dougwigyep, but try to get it close.18:52
TrevorVdougwig, do you know if l7 policies/rules are available in CLI?18:57
dougwigTrevorV: i believe they are.18:57
TrevorVI should be looking in the python neutron client, huh18:58
*** gcheresh has joined #openstack-lbaas19:04
*** pcaruana has quit IRC19:11
carrbsjohnsom: to get py27 to run first do I need to edit tox.ini? the order looks like this: envlist = docs,py35,py34,py27,pep8,specs19:14
carrbslooks like py27 is last of the pys?19:15
johnsomYeah, I was just looking back at that bug.  I had the order reversed in my memory.  It is 3.x first, then 2.7.  The tox.ini is correct19:15
TrevorVdougwig, I don't think its as easy as just pushing something up there.19:15
carrbsok19:16
TrevorVThere are a fantastic number of arguments available for utilization in the graph create.19:16
carrbs34 and 27 are passing but I'm getting many errors on haproxy19:16
carrbssorry 35 and 27 pass19:16
johnsomdougwig https://review.openstack.org/#/c/288187/19:17
TrevorVFor most, if not all, objects in the graph there is an "admin-state-down" option, meaning I would have to add "lb-admin-state-down" as an option argument, all the way through the entirety of the dependent objects19:17
johnsomIt was not finished pending the API path changes.19:17
TrevorVdougwig, this is seriously a lot more work than just a copy pasta my friend.  I'm thinking I won't be able to have something for you by EoD19:23
*** tesseract- has quit IRC19:25
*** diogogmt has quit IRC19:29
*** diogogmt has joined #openstack-lbaas19:31
*** nmagnezi has joined #openstack-lbaas19:34
carrbsthis bug: https://bugs.launchpad.net/octavia/+bug/1618666 is in the Octavia bug list, but it appears to be a bug in pbr, should I move the ticket to pbr, or maybe I don't know what I'm talking about?19:37
openstackLaunchpad bug 1618666 in octavia "deprecated warning for SafeConfigParser" [Medium,New]19:37
*** rcernin has joined #openstack-lbaas19:41
*** rcernin has quit IRC19:48
*** eezhova has joined #openstack-lbaas19:51
dougwigTrevorV: ok, client is already in freeze, so it's not a panic rush.19:55
*** davidlenwell has quit IRC19:59
rm_workcarrbs: sure, though i would guess there might already be a version of that in PBR20:02
*** pglass has quit IRC20:02
carrbsif i clone the pbr repo and fix, can I just leave it in the octavia buq queue and reference that ticket number in the commit message?20:05
*** pglass has joined #openstack-lbaas20:05
rm_workI would see if you can find a bug in their project already20:11
carrbsI didn't see it, I looked for a while20:11
rm_workif there isn't one, you can move the existing one over -- or else, not every commit NEEDS a bug, you could close ours as invalid, and just commit the fix20:11
carrbsI can move the ticket and attach a solution maybe?20:12
*** davidlenwell has joined #openstack-lbaas20:12
carrbs(the solution is in the DeprecationWarning, pretty straightforward I think.)20:13
rm_workthere's a bunch of ways to skin it, basically do whatever you feel like doing20:13
rm_workif it were me, i'd probably just mark our bug as invalid and close it, and then do the fix in pbr and submit it without a bug20:14
carrbsrm_work: ok20:28
nmagnezisbalukoff, hey, around by any chance?20:32
TrevorVhey diltram you around?20:35
diltramTrevorV: yeah20:35
*** eezhova has quit IRC20:37
TrevorVdiltram, on this review:  https://review.openstack.org/#/c/36079420:39
TrevorVYou make a comment about "six.iteritems"20:39
TrevorVAny particular reason why I shouldn't do my iteration the same way as other methods have in that file?20:39
diltramit's performance related20:39
diltramyou can timeit in python and you will see that it's faster to use iteritem20:40
diltramiteritems20:40
TrevorVOkay, sure, but we aren't using iteritems elsewhere in there for custom update methods, from what I can tell.20:41
TrevorVThat's all I meant20:41
diltramand?20:41
diltramwhat is it changing?20:42
TrevorVIts creating inconsistencies, that's all.20:42
TrevorVPerformance is good though, so I'll make the change.20:42
diltramsorry but in my opinion we should write python code20:43
diltramnot "standard"20:43
johnsomcarrbs Yeah, it looks like I should have opened that against pbr.  Are you able to move it or should I?20:47
carrbsjohnsom: I don't see how to move it, there's an "Also affects project" button, but that doesn't seem totally right20:49
carrbsI will leave to you20:49
johnsomYeah, you might need to be a core to do that.  I will fix it.20:49
carrbsok20:49
carrbsjohnsom: the other bug you gave me https://bugs.launchpad.net/octavia/+bug/1618665 is a bug in site.py, I can see where to fix it, but I'm not sure where site.py comes from.20:50
openstackLaunchpad bug 1618665 in octavia "deprecated warning for mode "U"" [Medium,New]20:50
TrevorVdiltram, I'm not quite sure what you mean by that, since its all python code, but thanks for the heads up.  As for your other comments, they were on incomplete methods and "placeholders" because I pushed up the review as a WIP so I could go home that day, and pick up where I left off on a different machine.20:51
TrevorVIts still WIP though, so you don't need to prioritize reviewing it.20:51
carrbsU should be removed, and open() takes newline=None as a parameter20:51
johnsomcarrbs Actually it looks like that might be fixed in the new python3.4.  It is also an invalid bug for octavia.20:53
diltramTrevorV: so please set -W on it, I didn't know that and even sending that pach to review you can use "git review -D" and it's submitting the code with -W20:53
TrevorVI had it marked WIP when you made those comments previously.  As I just updated just now.  I didn't know using -D would mark it immediately, that's fantastic!  I'll use that in the future :)20:54
carrbswhich, 1618665?20:54
johnsomYep20:54
carrbsok, so resolved?20:54
*** eezhova has joined #openstack-lbaas20:55
johnsomYeah, I will mark invalid20:57
diltramTrevorV: yeah, it's nice to have that feature especially in situations like this ;)20:59
TrevorVYou're definitely correct ha ha20:59
diltramI was using that when I was trying testing my code on gate because I was not able to build my own :(20:59
TrevorVoh no!  ha ha thanks again for the help, much appreciated :)21:00
diltramnp bro :)21:00
*** gcheresh has quit IRC21:01
pglassif I create a loadbalancer (which takes 10 minutes) and octavia services are restarted before that loadbalancer goes active, what happens to that loadbalancer?21:05
pglassdoes it eventually go to error or get cleaned up by housekeeping?21:05
*** nmagnezi has quit IRC21:05
diltramit will hang in pending create for some time21:06
pglassand then what?21:06
diltramor no it will be in pending create forever right now21:07
diltramwe decided that we're not merging that weird code changing that status for error21:07
diltramwe're looking to implement Job Board -> http://docs.openstack.org/developer/taskflow/persistence.html21:08
pglasshow does this interact with the spares pool that housekeeping manages?21:09
pglassor how *should* it?21:09
TrevorVAnyone know what this means: [  ERROR ] Current working directory is dirty and must be resolved21:11
TrevorVERROR: InvocationError: '/opt/stack/octavia/.tox/pep8/bin/bandit-baseline -r octavia -ll -ii'21:11
diltramyou need first commit code21:12
diltrambefore running bandit :P21:12
TrevorVoh, ha ha okay21:12
diltramthis is why I was against merging that two gates :/21:12
TrevorVI was just running tox locally is all21:13
diltramI know21:13
diltrambut we unfrotunatelly merged the bandit into tox21:13
TrevorVOh, now I gotcha.  Dangit.21:13
diltrambecause infra asked about that all projects21:13
diltramwe need to add Syntribos into Octavia and remove that bandind into different tox test :P21:14
diltramand then there will be more tests so we will not be against infra team :P21:14
TrevorVI'm not sure I follow all of that logic, but when everyone's happy, everyone's happy :)21:17
openstackgerritTrevor Vardeman proposed openstack/octavia: Add quota support to Octavia  https://review.openstack.org/36079421:18
*** matt-borland has quit IRC21:18
*** eezhova has quit IRC21:30
johnsomdiltram I don't follow you on the current working directory issue.  If I check out a fresh repo pep8 runs clean for me21:36
johnsomIs it uncommitted changes?21:36
diltramjohnsom: when you have something uncommited you cannot run bandit :P21:36
openstackgerritLubosz Kosnik (diltram) proposed openstack/octavia: Backend Keystone authentication  https://review.openstack.org/36465521:40
*** diogogmt has quit IRC21:45
carrbsjohnsom: are there other bugs you can recommend my way? There's one here: https://bugs.launchpad.net/octavia/+bug/1596627 that looked interesting, but I might need guidance. If there's other smaller/easier ones you know of I'd be happy to look at those as well.21:50
openstackLaunchpad bug 1596627 in octavia "Octavia API needs filtering support" [High,New]21:50
*** ddaskal has quit IRC21:59
*** ddaskal has joined #openstack-lbaas21:59
*** ddaskal has quit IRC22:04
*** BjoernT has quit IRC22:05
*** _ducttape_ has joined #openstack-lbaas22:26
*** _ducttape_ has quit IRC22:26
*** ducttape_ has quit IRC22:29
*** pglass has quit IRC22:44
diltramjohnsom: it's weird because by default devstack should use kvm when available23:29
johnsomIt doesn't seem to be.  I haven't looked at that yet.  I've been talking with the bandit folks23:30
diltramaaa, ok23:32
diltramI just checked the devstack code and there is info that by default it should use kvm and fallback into qemu when there is no access to kvm23:32
johnsomSomething is explicitly setting it in the localrc to qemu23:48

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