Friday, 2017-03-24

*** armax has joined #openstack-lbaas00:30
*** armax has quit IRC00:38
*** reedip has quit IRC00:56
*** armax has joined #openstack-lbaas01:02
*** armax has quit IRC01:22
*** SumitNaiksatam has left #openstack-lbaas01:41
*** gongysh has joined #openstack-lbaas01:49
*** reedip has joined #openstack-lbaas01:53
*** blogan has quit IRC02:11
*** aleph1 has quit IRC02:38
*** reedip has quit IRC02:43
*** aleph1 has joined #openstack-lbaas02:47
*** raginbajin has quit IRC02:47
*** raginbajin has joined #openstack-lbaas02:52
*** yuanying has quit IRC02:58
*** reedip has joined #openstack-lbaas03:09
*** fnaval has quit IRC03:13
*** fnaval has joined #openstack-lbaas03:14
*** gongysh has quit IRC03:20
*** reedip has quit IRC03:43
*** reedip has joined #openstack-lbaas03:48
*** fnaval has quit IRC04:00
*** links has joined #openstack-lbaas04:20
*** yuanying has joined #openstack-lbaas04:20
*** amotoki has joined #openstack-lbaas04:31
*** amotoki has quit IRC04:35
*** gcheresh_ has joined #openstack-lbaas04:40
*** amotoki has joined #openstack-lbaas04:44
*** reedip has quit IRC04:50
*** reedip has joined #openstack-lbaas04:54
*** amotoki has quit IRC04:58
*** amotoki has joined #openstack-lbaas05:01
*** gcheresh_ has quit IRC05:04
*** amotoki has quit IRC05:09
*** armax has joined #openstack-lbaas05:11
*** gongysh has joined #openstack-lbaas05:29
*** eandersson_ has joined #openstack-lbaas05:38
*** reedip has quit IRC05:38
*** reedip has joined #openstack-lbaas05:42
*** eandersson has quit IRC05:42
*** amotoki has joined #openstack-lbaas05:58
*** reedip has quit IRC06:05
*** cpuga has joined #openstack-lbaas06:06
*** aojea has joined #openstack-lbaas06:12
*** aojea has quit IRC06:18
*** armax has quit IRC06:29
*** reedip has joined #openstack-lbaas06:42
*** gongysh has quit IRC06:51
*** gongysh has joined #openstack-lbaas07:02
*** eezhova has joined #openstack-lbaas07:29
*** tesseract has joined #openstack-lbaas07:31
openstackgerritzoushilin proposed openstack/octavia master: Remove unused logging import  https://review.openstack.org/44945507:38
*** cpuga has quit IRC07:53
*** gcheresh_ has joined #openstack-lbaas07:54
*** gcheresh_ has quit IRC08:00
*** gcheresh_ has joined #openstack-lbaas08:08
openstackgerritOpenStack Proposal Bot proposed openstack/neutron-lbaas-dashboard master: Imported Translations from Zanata  https://review.openstack.org/44947408:09
*** eezhova has quit IRC08:17
*** aojea has joined #openstack-lbaas08:18
*** aojea has quit IRC08:18
*** aojea has joined #openstack-lbaas08:19
*** gongysh has quit IRC08:22
*** gongysh has joined #openstack-lbaas08:38
rm_workAh, I have some quick-notes for zero-to-octavia install08:39
rm_workif that is useful08:39
rm_worksince i've been working on a deployment and i restart from scratch A LOT08:39
rm_workand need it to be consistent08:40
*** gongysh has quit IRC08:43
*** reedip has quit IRC08:49
*** reedip has joined #openstack-lbaas08:50
*** eezhova has joined #openstack-lbaas08:51
*** gcheresh_ has quit IRC08:55
openstackgerritzoushilin proposed openstack/octavia master: Remove unused logging import  https://review.openstack.org/44945509:02
*** reedip has quit IRC09:03
*** reedip has joined #openstack-lbaas09:04
*** aojea_ has joined #openstack-lbaas09:10
*** yuanying has quit IRC09:12
*** aojea has quit IRC09:12
*** gongysh has joined #openstack-lbaas09:20
*** reedip has quit IRC09:41
openstackgerrithuangshan proposed openstack/neutron-lbaas master: Remove log translations from neutron-lbaas  https://review.openstack.org/44792109:48
*** yamamoto has quit IRC09:50
*** yuanying has joined #openstack-lbaas09:54
*** pcaruana has joined #openstack-lbaas10:05
*** gcheresh_ has joined #openstack-lbaas10:25
*** reedip has joined #openstack-lbaas10:28
openstackgerritBernard Cafarelli proposed openstack/octavia master: DIB: drop some dependencies  https://review.openstack.org/44865710:34
*** gongysh has quit IRC10:37
*** yamamoto has joined #openstack-lbaas10:49
*** yamamoto_ has joined #openstack-lbaas10:50
*** yamamoto has quit IRC10:54
*** armax has joined #openstack-lbaas11:02
*** yamamoto_ has quit IRC11:05
*** yamamoto has joined #openstack-lbaas11:05
*** armax has quit IRC11:16
*** yamamoto has quit IRC11:17
openstackgerritHe Qing proposed openstack/neutron-lbaas master: Fix exception about loadbalancer_stats  https://review.openstack.org/44957311:19
*** gongysh has joined #openstack-lbaas11:28
*** fyxim has joined #openstack-lbaas12:00
*** links has quit IRC12:02
*** links has joined #openstack-lbaas12:05
*** yamamoto has joined #openstack-lbaas12:06
*** sputnik13 has joined #openstack-lbaas12:10
*** yamamoto has quit IRC12:15
*** gongysh has quit IRC12:17
reedipo/12:20
*** yamamoto has joined #openstack-lbaas13:19
xgermano/13:34
*** links has quit IRC13:53
*** cpuga has joined #openstack-lbaas14:07
rm_worko/14:23
rm_workWTB merging things today plz14:24
rm_worki might look at getting pagination/sorting on top of the new API since now i can do the root tag stuff14:24
*** chlong has joined #openstack-lbaas14:25
*** cpuga_ has joined #openstack-lbaas14:27
*** cpuga has quit IRC14:31
*** amotoki has quit IRC14:35
*** m-greene_ has quit IRC14:44
*** amotoki has joined #openstack-lbaas14:45
*** m-greene has quit IRC14:46
rm_workdiltram: wait, the lxd tests pass now?!14:46
*** amotoki has quit IRC14:47
*** m-greene has joined #openstack-lbaas14:48
*** m-greene_ has joined #openstack-lbaas14:48
openstackgerrithuangshan proposed openstack/octavia master: Remove log translations from octavia  https://review.openstack.org/44787214:49
rm_workaugh new DIB issue14:50
rm_work2017-03-23 21:28:55.799 | ImportError: No module named diskimage_builder.paths14:50
rm_workwith py3 only14:50
rm_workthough it works locally...14:54
rm_worksomething is wonky14:54
diltramrm_work: no, it's not LXD real job15:01
diltramit's just normal scenario job currently15:02
diltramI'm working on it15:02
diltrambut we're finally gonna have working this gate job as they upstream change into cloud-init15:03
diltramand now I need just to test it15:03
diltramand mark as working and they will upstream it15:03
rm_workahhh i see15:04
rm_workalso ahhh i see to the dib issue15:04
rm_worktheir script has no care for python_version15:04
rm_workT_T15:04
rm_workneed to fix this again T_T15:04
rm_workgreghaynes: https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/lib/disk-image-create#L3415:06
rm_workgreghaynes: this doesn't respect devstack's python version at all T_T15:07
rm_workand I feel like there are probably many more places with the same problem15:07
*** blogan has joined #openstack-lbaas15:10
openstackgerritAdam Harwell proposed openstack/octavia master: Install DIB from source so depends-on will work  https://review.openstack.org/44470715:16
openstackgerritAdam Harwell proposed openstack/octavia master: Install DIB from source so depends-on will work  https://review.openstack.org/44470715:16
rm_workI feel like this is going to fail, then I can submit the fix and depends-on it15:16
rm_workbut want to wait for the demonstrable fail first15:17
johnsomrm_work on the listener patch, you said you were removing the "protocol/protocol_port from the listener PUT right?15:21
rm_workdidn't i already?15:21
johnsomDid you change get accidentally reverted?15:22
rm_workerrrg15:22
rm_workyeah i think maybe15:22
rm_worki did a lot of work here15:22
rm_workthat looks to be gone15:22
rm_workugh15:22
johnsomsad face15:22
rm_workok sec15:22
rm_worki can fix15:22
rm_workhmmm15:23
rm_workI wonder if i didn't even push that one up?15:23
rm_workugh sec15:23
rm_workgotta find it15:23
rm_worki know i did this15:23
rm_workoh15:24
rm_workeugh wtf15:25
rm_workthis is going to drive me crazy15:28
rm_workjohnsom: ok so... keeping it will add validation burden15:33
rm_workotherwise i'm not against leaving it there?15:33
rm_workbut15:33
rm_worki don't know if anyone would ever RELY on not being able to change it? >_>15:33
johnsomI don't think we should allow it personally.15:33
rm_workk15:37
rm_worki'll throw up another patchset15:37
johnsomIs anyone else seeing this? https://bugs.launchpad.net/octavia/+bug/167579515:38
openstackLaunchpad bug 1675795 in octavia "Octavia diskimage-create utility failing due to latest changes in diskimage-builder repo" [Undecided,New]15:38
johnsomMy last devstacks ran fine.  I wondering if this is against a stable branch15:39
rm_workerr15:40
rm_workso in py35 it fails15:40
rm_workand i am LITERALLY RIGHT NOW pushing up a fix15:40
rm_worklet me see if it's the same thing15:40
rm_workah not the same thing15:40
johnsomDoes it fail that way?15:40
johnsomOk15:40
johnsomOk, I asked for more information.  It is grey and rainy here, I'm going to go make a coffee run.  Back in a few.15:42
rm_workk15:42
*** fnaval has joined #openstack-lbaas15:52
*** amotoki has joined #openstack-lbaas15:56
*** pcaruana has quit IRC16:03
rm_workjohnsom: errr do you remember what the assertEqual for lists that DOESN'T care about order is?16:27
rm_worki guess i can just sort them16:27
johnsomIs it assertIn?16:28
johnsomI guess that doesn't mean equivalence though16:29
johnsomassertItemsEqual but I think that is py316:30
rm_workah yeah16:30
johnsomAh, it is in 2.7 as well16:31
rm_workI think it might be backported to py2716:31
rm_workyeah16:31
*** eezhova has quit IRC16:31
rm_workin fact I worked on that16:31
rm_workalso did some test work16:33
rm_worktls tests work now16:34
openstackgerritAdam Harwell proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474416:34
rm_worktls was a little broken16:35
rm_workshould work now16:35
johnsomCool.  I'm looking at if DIB broke our stable branches again.  I think so.16:36
rm_worklol16:36
rm_workhmm wtf tho16:36
rm_workwhy is MY patch passing py3x scenario gates on dib-master16:36
rm_workbut your patch isn't passing them on pypi-dib16:36
rm_workwhich includes the same patches16:36
rm_work<_<16:36
rm_work2.1.016:37
rm_workugh i'll worry about py3x-dib later16:37
rm_workhttp://logs.openstack.org/57/438757/9/check/gate-octavia-v1-dsvm-py3x-scenario-ubuntu-xenial-nv/15b749e/logs/devstacklog.txt.gz#_2017-03-23_21_28_55_79916:38
rm_workI believe this is the fix: https://review.openstack.org/#/c/449721/16:39
rm_workbut I am not sure why it's *passing* against master (which is basically 2.1.0) but not against pypi (2.1.0)16:40
*** cpuga_ has quit IRC16:41
rm_workjohnsom: https://github.com/openstack/diskimage-builder/commit/02e5353a9fd5bba77162d6eff43c22917773da3d16:42
rm_workmaybe that will fix the issue when released to pypi?16:42
rm_workit JUST didn't make the cut for 2.1.0 i think16:42
rm_workoh nm it did16:43
rm_workhmm then... whelp16:43
johnsomI think I need to work on something else as my frustration level is getting a bit high16:44
rm_worksomething else, as in....16:44
rm_workgo spin some clay and make some pottery?16:45
rm_workor just not look at DIB :P16:45
diltramjohnsom: ping16:46
*** cpuga has joined #openstack-lbaas16:47
johnsomNot look at DIB issues, like go test listener API stuff16:47
johnsomdiltram pong16:47
diltramI have a question about our devstack/plugin.sh16:49
diltramwhat was idea behind using this vars names16:50
diltram        $OCTAVIA_DIR/diskimage-create/diskimage-create.sh $octavia_dib_tracing_arg -o $OCTAVIA_AMP_IMAGE_FILE ${PARAM_OCTAVIA_AMP_BASE_OS:-''} ${PARAM_OCTAVIA_AMP_DISTRIBUTION_RELEASE_ID:-''} ${PARAM_OCTAVIA_AMP_IMAGE_SIZE:-''}16:50
diltramwith PARAM_ prefix?16:50
diltramdo you know something about?16:50
diltramor I can change it16:50
diltrambecause I'm working on this rhel16:50
diltramand I want to export some vars to make it working16:51
johnsomIt was this recent patch: https://review.openstack.org/#/c/431576/16:51
diltramI know16:51
diltrambut why the prefix16:51
diltramthis PARAM_16:51
diltrammay I drop this prefix16:52
johnsomI think the point was for OCTAVIA_AMP_BASE_OS to be a flag and PARAM_OCTAVIA_AMP_BASE_OS to contain the command line strings "-i centos"16:52
johnsomI.e. gate hook would set OCTAVIA_AMP_BASE_OS =True16:52
rm_workjohnsom: errr, so are *all* PUT actions in v2 returning status 200?16:53
rm_workor just some?16:53
rm_workdoes LB do status 202?16:53
johnsomWait, 200???16:53
rm_workapparently?16:54
johnsomdiltram if you overwrite OCTAVIA_AMP_BASE_OS with the string "-i centos" it would work, but you couldn't do boolean tests on it anywhere else in the plugin.sh16:54
rm_worki dunno someone changed this recently16:54
johnsomrm_work let me check the reference...  Just a minute16:55
diltramok but I should set OCTAVIA_AMP_BASE_OS=centos16:55
diltramand in settings I can set default values16:56
diltramlike ubuntu16:56
*** aojea_ has quit IRC16:56
diltramand always run script with param16:56
rm_workjohnsom: was changed by ankur-gupta-f1 in patch 3116:56
rm_workankur-gupta-f1: did you mention somewhere why PUT status changed from 202 to 200?16:56
rm_workankur-gupta-f4: ^^ in case16:57
johnsomOh, yes.  The defaults should work ok for the others.  If you want to be specific, put in 7 for the centos release to make sure it uses 7 and not 6.16:57
ankur-gupta-f4neutron-lbaas16:57
rm_workankur-gupta-f4: ok so you are sure n-lbaas does status 200 for PUT?16:57
ankur-gupta-f4No wait16:57
ankur-gupta-f4That sounds wrong16:58
ankur-gupta-f4Ugh16:58
ankur-gupta-f4Double checking16:58
rm_workyes it SOUNDS wrong, but16:58
rm_workneutron-lbaas is a dumpster fire16:58
rm_workso i don't doubt it16:58
johnsomrm_work, yep, nlbaas does 200 for PUTs16:59
johnsomAt least on LB16:59
rm_workyeah16:59
rm_workFML16:59
ankur-gupta-f4Oh good16:59
rm_workI hate everything and everyone16:59
rm_workanywho...17:00
johnsomrm_work what would you use?17:00
rm_work20217:00
rm_workbecause it's async17:00
johnsomYeah.  Most of these are DB changes, so instant, but yeah17:00
rm_workuhh17:01
rm_workok i guess SOME are17:01
rm_workbut I feel like the majority are not?17:01
rm_workdunno, i'd have to count17:01
johnsomWe don't let folks "update" much17:01
rm_workhmm17:01
johnsomYeah, no worries.17:01
johnsomWell, in queens you can add v3 that just fixes all of the status codes.... grin17:02
openstackgerritLubosz Kosnik (diltram) proposed openstack/octavia master: Update DIB config in plugin.sh  https://review.openstack.org/44973317:03
*** cpuga has quit IRC17:05
diltramjohnsom, rm_work: ^^17:05
johnsomdiltram I now remember why we didn't do what you just posted.  It means we have default values in two places.17:05
diltramI know but we should keep defaults in settings17:06
diltramthis is why this file exist :P17:06
diltramso I can make this differently17:06
johnsomNo17:06
johnsomThose settings are for devstack, not for our image builder17:06
diltramI know17:06
rm_workdiltram: umm, if we're not using PARAM_ anymore, shouldn't you completely remove them?17:06
diltramI can make this in normal way17:07
diltramthat if something is set I can append this to command17:07
diltramrm_work: where it's left17:07
rm_workdiltram: posted17:09
rm_workjohnsom: and i agree with diltram here :/17:09
johnsomrm_work I don't like having defaults stored in two places.  When we update from xenial we will have to go change both or the gates using devstack would run a different image than someone just running the script17:10
rm_workwell it depends17:10
diltramjohnsom: exporting vars with anything more than name (xenial,trusty,7,6) is awful17:11
rm_workwill our devstack defaults always equal what we think the user will deploy with by default?17:11
rm_workI don't think so17:11
rm_workI think there could be variance17:11
openstackgerritMerged openstack/octavia master: Use HostAddressOpt for opts that accept IP and hostnames  https://review.openstack.org/44798917:11
diltramrm_work: agree17:11
diltramok nvm17:12
diltramI didn't saw this previous lines17:12
diltramabandoned patch17:14
*** catintheroof has joined #openstack-lbaas17:14
*** catintheroof has quit IRC17:15
*** catintheroof has joined #openstack-lbaas17:15
rm_workah?17:18
rm_workaight17:18
*** yamamoto has quit IRC17:19
diltramjohnsom: https://review.openstack.org/449741 ^^17:21
johnsomdiltram We can't mix "RHEL" and "centos"....17:23
diltramok17:23
johnsomOtherwise looks fine to me17:24
diltramdone17:26
johnsomI updated the topic and +1'd17:27
diltramthx17:27
*** eezhova has joined #openstack-lbaas17:29
johnsomdiltram tox didn't like your project-config patch17:32
diltramI see :(17:32
diltramjohnsom: do you know how to use those vars in configuration file?17:35
johnsomLike which?17:36
diltramI thought that I'm gonna prepare it for future but don't know how to refer those values17:36
diltramlike this {hypervisor} and based on this I would like to enable LXD or not17:36
johnsom           OCTAVIA_AMP_BASE_OS=centos17:36
johnsom            OCTAVIA_AMP_DISTRIBUTION_RELEASE_ID=717:36
johnsomThose?17:36
diltramalso17:36
diltramlike based on centos7 in gate check name I would like to add those17:37
johnsomOh,17:37
ankur-gupta-f4johnsom: anything to target/do today specifically.17:41
johnsomGet listener merged I think17:41
rm_workjohnsom: uhh, if we delete a pool and the delete fails17:46
rm_workshould the listener be in ERROR status or ONLINE?17:46
johnsompool should be in provisioning ERROR, listener would be provis ACTIVE, listener operating status should turn....  ERROR I think17:47
johnsomI guess  it depends on where in the delete it failed.17:48
rm_workhandler17:49
johnsomOperating status is the observed status.  So if it failed before it actually deleted, it would still show online as technically it is still online and handling traffic17:49
*** tesseract has quit IRC17:50
rm_workhmmmm17:51
rm_workfor some reason these tests are passing when run alone and failing when run as a group >_>17:51
ankur-gupta-f4How does one run the scenario tests in octavia?17:53
johnsomankur-gupta-f4 Have a devstack up and running with tempest, export TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc, then tox -e scenario17:54
*** yamamoto has joined #openstack-lbaas17:56
*** reedip has quit IRC17:56
openstackgerritAnkur proposed openstack/octavia master: Introduce TESTING.rst for quick developer reference  https://review.openstack.org/40393817:57
rm_workalmost done with a pools update17:59
*** cpuga has joined #openstack-lbaas18:11
*** cpuga has quit IRC18:17
*** cpuga_ has joined #openstack-lbaas18:18
*** jiahao has joined #openstack-lbaas18:18
*** yamamoto has quit IRC18:19
jiahaoHi team, quick question. If I am going to install octavia from stable/newton, which version of neutron-lbaas-dashboard should I use? It seems there is no stable/newton for neutron-lbaas-dashboard.18:20
johnsomjiahao You can use stable/mitaka for newton Octavia18:21
rm_workjohnsom: is it too late to just CUT ONE for newton?18:22
rm_workwe get this question about once a week18:22
johnsomNo, we could still do that....  It's just odd18:23
johnsomI do regret not just cutting one...  That was my mistake....18:24
*** chlong has quit IRC18:24
jiahaoBut based on the release cycle, anything on stable/mitaka is unmaintained, correct?18:25
johnsomWell, technically it still gets security updates for a few more weeks.18:26
*** eezhova has quit IRC18:27
johnsomIt's just that there were not real changes in the newton cycle to the dashboard, so there wasn't much point to cut one.  You can also just install the 1.0.0 version from pypi18:27
jiahaook. I see. Thanks for clarifying18:29
rm_workjohnsom: erm, do pools only have one status? not operating / provisioning?18:32
rm_workseems wrong18:32
johnsomNo, every object has both18:32
johnsomShould....18:32
rm_workk18:32
johnsomIn Octavia, not nlbaas18:32
rm_workoh18:33
rm_workin n-lbaas it only has one?18:33
rm_workthat's what i meant18:33
johnsomWell, nlbaas doesn't return those on each API call, it's only the status tree18:34
rm_workerm18:34
rm_workwe are now18:34
rm_workin lb and listeners18:34
rm_workis that wrong?18:34
johnsomNo, it's the way forward.  It's kind of dumb to not return that18:35
rm_workok...18:35
rm_workso pools SHOULD return that18:35
johnsomOk, so I just checked, with status tree pool has both18:35
rm_workin v218:35
rm_workok but, just the pool return18:36
johnsomon n-lbaas18:36
rm_worknot the status tree18:36
johnsomRight, just pool calls, I don't think it returns both, maybe not either of them18:36
rm_workok, but LB and listeners DO?18:37
rm_workon just the LB / listener return, not status tree18:37
rm_workfff, mock trouble18:45
johnsomWho is working on the listener patch?18:45
johnsomThe tenant_id isn't returning18:46
sshankjohnsom, I think thats cause the return from POST is return directly from self._send_listener_to_handler()?18:48
johnsomrm_work Sorry, had a call.  Did you want me to test something on neutron-lbaas?18:48
rm_workjohnsom: GET for LB / listener / pool18:49
johnsomsshank Yeah, I am wondering if we didn't get the "copy project_id" code applied to the listener patch18:49
rm_workand tell me if it's really just "pool" that returns an object with "status" instead of "operating_status" and "provisioning_status"18:49
rm_workjohnsom: i'll look in a sec18:49
rm_worki've almost got the pools patch done18:50
rm_worksorting out a mock issue18:50
johnsomhttps://www.irccloud.com/pastebin/EVIZpd50/18:50
johnsomneutron-lbaas get LB18:51
rm_workok18:51
johnsomhttps://www.irccloud.com/pastebin/ipowCIuo/18:51
rm_workso it does18:51
johnsomnlbaas listener show18:52
rm_workNO status18:52
rm_workinteresting18:52
rm_worknone at all18:52
rm_workso ... we CAN still return it though if we want? :P18:52
rm_work(i think we want)18:52
johnsomhttps://www.irccloud.com/pastebin/8DqH0FvV/18:53
johnsomnlbaas pool show18:53
johnsomSo that is all neutron-lbaas v2 API.  In Octavia v2 API it will be on EVERY object18:53
ankur-gupta-f4rm_work: johnsom Who is taking care of the tenant_id issue in Listeners18:54
johnsomWell, health monitor doesn't have operating status for example.18:54
johnsomankur-gupta-f4 I asked that question a few minutes ago...  Grin18:54
ankur-gupta-f4yea i didnt see an answer18:55
johnsomI kind of didn't want to stop testing to go fix that18:55
sshankI think sindhu was doing listeners?18:55
ankur-gupta-f4rm_work: are you going to take care of it or are you too deep into the other one?18:56
ankur-gupta-f4sshank: we have gotten to a stage where we are just trying to take care of things as soon as they come up instead of waiting for the original author to address comments.18:57
sshankOk.18:57
johnsomOther than that, create looks good18:57
johnsomI need to come back and test barbican.  I forgot to add it to my localrc for this stack...18:58
ankur-gupta-f4sshank: you want to take care of the tenant_id issue on listeners18:58
ankur-gupta-f4problem: on POST to listeners, if 'tenant_id:####' it provided, it should also be returned in the Response18:59
johnsomI don't think so, I think the issue is it should be returned on all responses18:59
sshankOk.I'll give it a try now.19:00
johnsomsshank My guess is this line is missing: https://github.com/openstack/octavia/blob/master/octavia/api/v2/types/load_balancer.py#L5619:01
ankur-gupta-f4indeed that would be it19:03
*** cpuga_ has quit IRC19:03
ankur-gupta-f4sshank: once you add that line also please adjust the listeners controller get_all method19:04
sshankOk19:05
ankur-gupta-f4https://github.com/openstack/octavia/blob/master/octavia/api/v2/controllers/load_balancer.py#L5719:05
ankur-gupta-f4Should be more like that to accept project/tenant id and then determine based on passed in values or the context19:05
ankur-gupta-f4thanks sshank19:06
rm_workyeah k i'll pull listeners down again after you fix it then19:09
rm_worki have other stuff to tweak but19:09
rm_worki am deep into pools...19:09
rm_workthis mock thing is killing me19:09
rm_workwhen you run the tests individually, it works19:09
rm_workbut running ALL tests, it doesn't19:09
rm_workthe mock is different19:09
*** kobis1 has joined #openstack-lbaas19:10
*** kobis has quit IRC19:11
johnsomankur-gupta-f4 We take the project_id and tenant_id on create listener, but do nothing with it.  The listener inherits the project from the load balancer.  Right?19:13
rm_worki thought the _type_to_model_map thing took care of it19:13
rm_workin fact what i was looking into momentarily is related19:14
johnsomrm_work This is the patch for v1 that fixed all of that: https://review.openstack.org/#/c/431207/19:15
johnsomSindhu fixed the listeners patch for this change already19:15
sshankjohnsom, I was think the problem was here: https://review.openstack.org/#/c/424744/32/octavia/api/v2/controllers/listener.py@187 We should pass it inside listener_types.ListenerRootResponse as done in PUT19:16
rm_workyeah19:16
johnsomFrom what I see, it is just the response is missing the tenant_id19:16
rm_worksshank: the return value of that function *is* a ListenerRootResponse19:16
rm_workso it should be the same19:17
sshankHmm. Ok.19:17
*** yamamoto has joined #openstack-lbaas19:17
rm_workjohnsom: so is the idea that pools don't have a provisioning status? O_o just listeners?19:23
rm_workseems maybe that does make a LITTLE sense19:23
rm_workas a pool is a logical lump on a listener19:23
rm_worka pool on a LB isn't provisioned until it's also on a listener19:23
rm_workand the status is dependent on the specific listener19:24
johnsomrm_work, going forward, everything has provisioning status19:24
rm_workhmmm19:24
johnsomI'm worried we are confusing this....  The pastes I sent were legacy neutron19:25
rm_worki'm actually not sure what that means for pools19:25
rm_workhow does a pool have a provisioning status19:25
*** cpuga has joined #openstack-lbaas19:25
rm_workit could be provisioned to any number of different things19:25
johnsomprovisioning status, for pools, means did the CRUD operation work.  I.e. was the AMP updated or not.19:25
rm_workor not at all19:25
rm_workright?19:25
rm_workhmm19:25
rm_workok...19:25
*** yamamoto has quit IRC19:25
rm_workso it DOES need one19:25
rm_workfff I'm going to do that later19:25
rm_workonly so much concentration right now19:26
sshankWhen I add those tenant_id stuff, I get weird import base errors.19:26
rm_workalso i'm about to not care about this mock thing19:26
rm_workand just skip these tests19:26
johnsomThe point is, if an update, for example, of a pool fails, the pool will go into provisioning status ERROR which indicates to the user, something when wrong.19:26
johnsomThen with it in ERROR they have the option to delete and try again to recover.19:26
johnsomOr of course, call up fanatical support to fix whatever went wrong....  Grin19:27
rm_worksshank: let me look at it really quick... pushing up my pool work now19:27
sshankrm_work, Ok19:27
rm_worki'm preparing a hat for consumption presently19:28
rm_workbut19:28
rm_workif we don't merge at least listeners today, I'll eat my hat19:28
openstackgerritAdam Harwell proposed openstack/octavia master: Introduce Octavia v2 API for pools  https://review.openstack.org/40592219:31
rm_worksshank: I think it's just the one line...19:33
rm_workseems to work for me19:33
sshankNothing to do in get_all?19:34
sshankget_all of listeners.19:34
johnsomWe have the True vs true issue for admin_state_up as well19:35
johnsomNot sure if load balancer is still broken for that or if it was fixed.  There is a bug for LB.19:35
rm_workhmm19:36
johnsomnlbaas takes either, this patch is rejecting True19:36
rm_workugh k19:36
rm_workcan we fix that later at the same time as we fix it in LB?19:37
johnsomSure, I can open a bug for it19:37
sshankrm_work, Yeah. Its only in get_all.19:37
johnsomUpdated the bug for True19:38
rm_workah k19:38
rm_worki thought you said there was one already for LB19:38
johnsomYeah, I just added listener to the LB bug19:39
johnsomI.e. fix them all19:39
rm_workummm19:45
rm_workah nm19:45
rm_workok i see19:45
ankur-gupta-f4the get_all is a different issue and needs to be done too19:48
ankur-gupta-f4rm_work:19:48
ankur-gupta-f4sshank:19:48
rm_workyeah19:48
rm_worki got it19:48
ankur-gupta-f4k sorry left comp for a sec and came back and was totally lost19:48
ankur-gupta-f4any idea where the args get parsed when a POST is sent?19:49
ankur-gupta-f4i.e. when I try the "True" it returns the error. Where is that error being generated from/by19:49
johnsomOk, other than those, I think we are ok.  I'm going to grab lunch.   My last concern is are we doing get all correctly based on admin/non-admin and filters (which probably aren't implemeneted yet)19:49
ankur-gupta-f4rm_work: Do you know the answer to the above question ^^^19:54
rm_worklol the test for get_all() for LB was actually broken20:00
rm_workfunny20:00
rm_workanyway, will have a patch to push in a sec, johnsom / sshank20:00
sshankrm_work, Ok20:00
*** eezhova has joined #openstack-lbaas20:00
*** cpuga has quit IRC20:05
rm_workyeah actually get_all() was broken in load_balancers >_>20:07
rm_workfixed it20:07
rm_workjohnsom: just double-checking, the functionality of get_all() is:20:13
rm_workif admin: either get *everything* if no project_id is provided, or else get based on the project_id provided20:13
rm_workif not admin: only get things for the token's project_id20:14
rm_workis that correct?20:14
*** aojea has joined #openstack-lbaas20:18
rm_workjohnsom:20:21
ankur-gupta-f4correct20:21
ankur-gupta-f4what is it doing now?20:21
johnsomrm_work: trying to get a bite.  Admin should get all, they can use to filters to narrow.  Non-admin is constrained to project_id and again can filter more if needed20:23
rm_workright20:23
rm_workkk20:23
rm_workwait20:23
rm_workhow would they filter mode20:23
rm_work*more20:23
johnsomName=20:23
*** yamamoto has joined #openstack-lbaas20:23
rm_workoh, the filtering patch, right20:23
rm_worknot included yet20:23
johnsomRight20:23
johnsomCorrect20:24
rm_workok20:24
*** armax has joined #openstack-lbaas20:29
*** yamamoto has quit IRC20:33
johnsomOk, back from lunch20:36
johnsomI'm going to read through once more.  Once the tenant_id is fixed, and if it all looks good I'm ready to +220:39
ankur-gupta-f4sshank: are you going to push up soon?20:39
rm_workhmmmm20:43
rm_workso this is really interesting20:43
rm_worktrying to figure out how to test auth/noauth in functional tests20:44
rm_workbecause i need to prove that it works when you come in as a user who isn't admin20:44
rm_workversus one who is20:44
rm_workdo we have a way to do that?20:44
johnsomAh, it also has the null vs "" issue for name/description20:44
rm_workneed to somehow give pecan a context object20:44
rm_workjohnsom: listeners does?20:45
rm_workk20:45
ankur-gupta-f4johnsom: i fixed in my patch20:45
ankur-gupta-f4Or it should have20:45
johnsomankur-gupta-f4 Have you pushed or ???20:45
johnsomI'm running 36bc31b6380557259e2afeda4402efdb4de4c39320:45
rm_workankur-gupta-f4: you fixed for LB?20:45
rm_worknot Listeners?20:45
ankur-gupta-f4i fixed both20:46
ankur-gupta-f4johnsom: patchset 3120:46
johnsomYeah, I think LB got fixed, but listener not20:46
rm_workoh, no, i see it20:46
rm_workit's there20:46
rm_workoh20:46
rm_workwrong spot20:46
rm_worki'll fix20:46
johnsom{"listeners": [{"insert_headers": {}, "project_id": "335eb128f3c74848a5632996eb81e268", "protocol": "HTTP", "description": null, "admin_state_up": false, "loadbalancers": [{"id": "96b0fc54-9811-4fa3-b94c-497c60abcc92"}], "created_at": "2017-03-24T20:42:57", "provisioning_status": "ACTIVE", "connection_limit": 200, "updated_at": "2017-03-24T20:42:58",20:46
johnsom"default_pool_id": null, "sni_container_refs": [], "protocol_port": 80, "id": "e64f75b8-fe9b-417c-9727-9e45eda93bfe", "operating_status": "OFFLINE", "name": null}]}20:46
*** gcheresh_ has quit IRC20:46
rm_workyeah20:47
rm_worki see the issue johnsom, fixed it20:47
rm_workit's too far down20:47
rm_workjohnsom: so this get_all issue is complicated20:47
rm_worki've got it "fixed"20:48
rm_workbut testing is complex20:48
johnsomOh, this looks ugly too20:48
johnsom{"debuginfo": "Traceback (most recent call last):\n\n  File \"/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py\", line 85, in callfunction\n    result = f(self, *args, **kwargs)\n\n  File \"/opt/stack/octavia/octavia/api/v2/controllers/listener.py\", line 187, in post\n    return self._send_listener_to_handler(context.session, db_listener)\n\n  File20:48
johnsom\"/opt/stack/octavia/octavia/api/v2/controllers/listener.py\", line 159, in _send_listener_to_handler\n    session, db_listener.id,\n\nAttributeError: 'NoneType' object has no attribute 'id'\n", "faultcode": "Server", "faultstring": "'NoneType' object has no attribute 'id'"}20:48
rm_workwhat is that from20:48
johnsomDuplicate listener20:48
rm_workk20:48
openstackgerritGerman Eichberger proposed openstack/octavia master: [WIP] Adds the ability to failover a load balancer  https://review.openstack.org/44434720:49
xgermannow I need to figure out if it actually works…20:50
*** reedip has joined #openstack-lbaas20:51
reedip...20:51
rm_workjohnsom: soooooo20:53
rm_workjohnsom: any idea how to get a project_id into the *pecan context* in the functional tests20:53
rm_worki'm a little stuck20:53
rm_workthis should work20:53
rm_workbut20:53
rm_worki don't know how to prove it with a test20:53
johnsomLike API functional?20:54
rm_workyes20:54
rm_workah maybe got it20:56
johnsomrm_work you can't mock octavia/common/context?20:57
rm_workerr20:57
rm_workmayhaps :P20:57
rm_workyep20:57
rm_workeasier20:58
rm_workhmm i don't think it actually worked tho20:59
rm_workprolly a location issue20:59
rm_workneed to figure out WHERE to mock it20:59
*** links has joined #openstack-lbaas21:05
*** aojea has quit IRC21:06
johnsomOk, bugs in for stats/status/stats21:09
ankur-gupta-f4k21:09
ankur-gupta-f4i thought I fixed listeners for null name/description. Exact same method. And I thought when i tested it was fine. But i guess not. Now im trying to figure out why it doesn't hit my pdb in the types file D:21:10
rm_workeugh i lose the session tho21:11
rm_workankur-gupta-f4: it's too low21:11
rm_workankur-gupta-f4: just needs to move up above the "if not children"21:11
rm_workankur-gupta-f4: i fixed it locally, almost ready to push up a bunch of fixes21:11
rm_workif i can get this test to work21:12
rm_workffff21:12
rm_workso if I mock out the context, i lose the session21:12
rm_workwhich means nothing works21:12
ankur-gupta-f4ah k coolio21:15
johnsomCoolio?  Are you also doing the Friday 80's hits radio channel???  Grin21:16
rm_workGOT IT k21:16
johnsomOh, memory fail, coolio was a thing in the 90's....21:16
rm_workwith mock.patch.object(octavia.common.context.Context, 'project_id', listener3['project_id']) as mock_context:21:17
rm_workfuntimes21:17
johnsomYeah, those are always a pain to get right/working21:18
*** ndahiwade has quit IRC21:21
rm_workOK21:21
rm_worki think this is it21:21
rm_workbut21:21
rm_workthis is a pretty big change maybe T_T21:21
*** aojea has joined #openstack-lbaas21:22
rm_workrunning tests21:22
rm_worklet's see if i forgot anything21:22
rm_workrewrote most of the testing around get_all in both listener and loadbalancer :/21:23
rm_workit's possible the LB fixes belong in another patchset21:23
rm_workbut21:23
rm_workuhh21:23
rm_worki am not sure I care21:23
openstackgerritMichael Johnson proposed openstack/neutron-lbaas master: Fix a releasenotes issue with rst markup.  https://review.openstack.org/44982121:24
rm_workactually nm it's easy21:24
johnsom^^^ that is a super easy review to fix a reno issue21:24
openstackgerritAdam Harwell proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474421:25
rm_workjohnsom: ok... that is not so simple review ^^21:26
openstackgerritAdam Harwell proposed openstack/octavia master: Fix get_all method for v2 LB controller  https://review.openstack.org/44982221:26
rm_workthat one is more clear ^^ as to what i had to change for get_all21:26
rm_workif you could make sure my thought process there is correct21:26
rm_workthat'd be super21:27
ankur-gupta-f4headed out for the day. Will catch up with IRC later. Still stuck on the true/True issue since I dont know where to start. Good work today yalls21:28
rm_workyeah maybe I can do True/true this weekend21:28
rm_workwe'll see my motivation level <_<21:28
rm_workhave a good weekend ankur-gupta-f4! :)21:28
johnsomrm_work so start with LB get_all?21:29
rm_workyeah21:29
rm_workif that's wrong, i'll need to adjust in the listener one21:29
rm_workand it's easier to just look at the logic in that patch since it's less busy21:29
reedipanywhere i can help? just got up21:30
rm_workreedip: if you want to test the listeners patch :P21:31
rm_workjust pushed an update to it21:31
reedip424744 ?21:31
reediprm_work ^^ ?21:31
rm_workyes21:31
reedipk ...21:31
reedipsure ..21:32
johnsomrm_work we need to remember to fix all of these for project ID.  Like get_one doesn't care at the moment.  Again, I guess that could be a hook21:34
johnsomBut would be more efficient as just code to filter the get call21:34
rm_workhmm21:36
rm_workyeah so i was trying to figure out how exactly this interfaces with the other filtering code that's coming down the pipe21:36
rm_workwhat do you think of the way it is done in my patch... should i start over?21:37
rm_worknot sure if that's the right approach or not21:37
johnsomI think it works.  I'm just looking at the test now21:37
johnsomYeah, I am fine with that21:38
johnsomhttps://www.irccloud.com/pastebin/9eBbDTCW/21:39
rm_workgrrr why did sonar fail21:39
rm_worklooks like a legit error but i thought i ran etsts21:39
rm_workah21:39
rm_workaugh21:39
rm_workhow21:39
rm_work>_<21:39
rm_workdumb k21:40
rm_workgives me a chance to fix something else I wanted to tweak anyway21:40
rm_workhow did this slip through21:41
rm_worki ran functional locally >_<21:41
johnsomMaybe because it's like almost 7am there?21:42
rm_workwait no21:42
rm_workthis IS right21:42
rm_workself.conf has a subobject conf21:42
rm_work>_>21:42
rm_workthe sonar fail must be something else?21:42
johnsomIt failed on zuul too21:43
rm_workaaah i see21:43
rm_workbecause i had changed base.py21:43
rm_workbut i didn't move that over21:43
xgermanI guess somebody gets to eat a hat21:43
rm_worki'll just rebase this on top of the listeners change21:43
rm_workxgerman: yeah it's all prepared and ready to ingest21:44
xgermanwell, I will be back in a couple of hours if you need +2s21:44
xgerman(and it tests well)21:44
johnsomHa, it's pretty darn close.  Could still happen pacific time21:44
xgerman;-)21:45
xgermanping me if you. need me should be back on 2-3 hours for a bit21:45
johnsomOk21:45
rm_workok fixed21:45
openstackgerritAdam Harwell proposed openstack/octavia master: Fix get_all method for v2 LB controller  https://review.openstack.org/44982221:45
rm_workanywho21:45
rm_worklisteners should be good21:45
rm_workright now IMO, or close21:45
rm_workunless i missed something else major21:45
rm_workoh i didn't look at the duplicate thing yet21:45
rm_work>_>21:45
rm_workyou just created a second listener with the same stuff?21:46
johnsomYEs21:46
johnsomIt is odd, the DB should be throwing a fit for that21:46
rm_workprolly something simple21:46
rm_workhmm21:48
rm_workwebtest.app.AppError: Bad response: 409 Conflict (not 201)21:48
rm_work{"debuginfo": null, "faultcode": "Client", "faultstring": "Another Listener on this Load Balancer is already using protocol_port 80"}21:48
rm_workthat's what I get21:48
rm_workwhen I try to create the same listener again21:48
rm_workwhat EXACTLY did you do?21:48
johnsomThat is what I would have expected too21:48
johnsomcurl -v -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: $current_token" -d "{\"listener\": {\"protocol\": \"HTTP\", \"description\": \"test description\", \"admin_state_up\": false, \"connection_limit\": 200, \"protocol_port\": \"80\", \"loadbalancer_id\": \"$test_lb_id\", \"name\": \"test-listener\"}}"21:49
johnsomhttp://$test_API_IP:$test_API_PORT/v2.0/lbaas/listeners21:49
johnsomI ran that twice21:49
johnsomLet me see if I can repro21:50
johnsomYeah, reproduces for me21:51
johnsomThough I am still a few patches back21:52
rm_workhmmmmmm21:52
rm_workit shouldn't work :/21:53
rm_worki think I did fix that but it was a WHILE ago21:53
rm_workhow far back are you?21:53
rm_workwell anyway, I added a test for it21:53
rm_workif I need to make another patchset21:53
johnsom36bc31b6380557259e2afeda4402efdb4de4c393 I think21:53
johnsomYeah, I still get it with the current patch.  I know I'm running the new code as I have the "" for name now instead of null21:57
rm_workthat's only one back21:58
rm_workhmmmmmm21:58
rm_workwtf21:58
rm_worki can't repro21:58
rm_workwell21:58
rm_worki can't repro *in functional testing*21:58
rm_workI am not testing a deploy21:58
johnsomMaybe I just have my db scrambled, let me look21:58
johnsomWell, after I look at the changes I will restack and try again21:59
rm_workhmm k22:03
rm_worki'll push up the test22:03
rm_workmay as well22:03
johnsomOk, I'm stacking.  I needed barbican anyway22:03
openstackgerritAdam Harwell proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474422:04
rm_workjust one functional test ^^22:04
openstackgerritAdam Harwell proposed openstack/octavia master: Implement sorting and pagination for octavia  https://review.openstack.org/38214722:06
rm_workrebase ^^22:07
rm_workactually... i should rebase that on the end of the chain22:07
rm_workok some more fixes incoming...22:19
rm_workbut not to Listener22:20
rm_workso whatev22:20
openstackgerritAdam Harwell proposed openstack/octavia master: Introduce Octavia v2 API for Members  https://review.openstack.org/40593222:20
openstackgerritAdam Harwell proposed openstack/octavia master: Implement sorting and pagination for octavia  https://review.openstack.org/38214722:20
openstackgerritAdam Harwell proposed openstack/octavia master: Introduce Octavia v2 API for pools  https://review.openstack.org/40592222:20
rm_workalright i am out for a little22:20
rm_workI probably shouldn't +2 anything in this chain at this point anyway22:21
johnsomOk, have a good one22:22
*** sanfern has quit IRC22:23
*** sanfern has joined #openstack-lbaas22:26
*** eezhova has quit IRC22:28
johnsomYeah, still reproducing that bug with duplicate listeners22:36
*** sanfern has quit IRC22:39
rm_workwtf22:39
rm_workhow22:39
*** fnaval has quit IRC22:39
rm_workhold on, what was the trace again22:39
johnsomNot sure, debugging now22:40
johnsomhttps://www.irccloud.com/pastebin/CjjmehSQ/22:40
rm_workyeah it should get caught in except odb_exceptions.DBDuplicateEntry22:41
rm_workaaah22:44
rm_workit's a multi-column key isn't it22:44
rm_workif ['id'] == de.columns22:44
rm_workor ... no22:44
rm_workit should just be ID22:44
johnsom2017-03-24 15:42:40.301 120351 ERROR octavia.api.v2.controllers.listener [req-44cfd488-b2f3-4b86-b1ff-428135404e43 - bfd03e05311d4fafa659339cb3d84c60 - default default] {'insert_headers': None, 'l7policies': [], 'protocol': 'HTTP', 'description': 'test description', 'default_pool': None, 'enabled': False, 'provisioning_status': 'PENDING_CREATE',22:45
johnsom'connection_limit': 200, 'id': '2292d5dd-e9de-4c03-8556-0d3f860c78f4', 'tls_certificate_id': None, 'project_id': u'bfd03e05311d4fafa659339cb3d84c60', 'protocol_port': 80, 'load_balancer_id': u'8832d83a-dc96-42f7-b879-da3472980db9', 'default_pool_id': None, 'operating_status': 'OFFLINE', 'name': 'test-listener'}22:45
johnsomSome debug logging of the listener_dict right before the create22:45
rm_workuhh22:45
johnsomThe constraint that should fire is   UNIQUE KEY `uq_listener_load_balancer_id_protocol_port` (`load_balancer_id`,`protocol_port`),22:46
*** sanfern has joined #openstack-lbaas22:46
rm_workyeah22:47
rm_workjust saw that22:47
rm_worki'm tired T_T22:47
rm_workbut yeah it should be hitting that22:47
johnsomThe other odd thing, it's not creating a record22:48
rm_workummmmm22:48
rm_worklike22:48
rm_workthe first one isn't created?22:48
rm_workor, the second one isn't22:48
johnsomOk, so odd, the first exception is firing22:49
*** fnaval has joined #openstack-lbaas22:49
johnsomIt's walking off the end of the except block22:51
rm_workO_o22:51
johnsomde.columns  == ['uq_listener_load_balancer_id_protocol_port']22:52
johnsomWell, that is interesting22:52
rm_workuhh22:53
rm_workit's the unique constraint NAME and not the columns??22:53
rm_worksqlalchemy change?22:53
rm_worklet me rebuild my env22:53
johnsomI did this: LOG.error(de.columns)22:54
johnsom2017-03-24 15:52:01.362 120596 ERROR octavia.api.v2.controllers.listener [req-02e43177-7b30-4a4c-bd97-7096b94159e4 - bfd03e05311d4fafa659339cb3d84c60 - default default] ['uq_listener_load_balancer_id_protocol_port']22:54
rm_workok so i'm on SQLAlchemy 1.0.1722:54
rm_workupdating22:54
johnsomSQLAlchemy (1.0.17)22:55
rm_work...22:55
johnsommysql-server                       5.7.17-0ubuntu0.16.04.122:55
rm_workthis is sqlite22:55
rm_worksooooo22:55
rm_worki could see it being different, because it always is22:55
johnsomYeah, I'm running live22:56
johnsomso It's mysql22:56
rm_workso guessing sqlite returns column names, mysql returns constraint name22:56
rm_workeven though it's called .columns22:57
johnsomThat would be my guess as well....  Another sqlalchemy failure22:57
rm_workuhh22:57
rm_workmaybe we need to update22:57
rm_workcan you manually update sqlalchemy22:57
rm_workin your devstack22:57
rm_workit has like 1.1.622:57
rm_workmaybe they already fixed it22:57
johnsomNope, same thing with 1.1.622:59
johnsomYou have much higher expectations of sqlalchemy than my experience leads me to have22:59
*** aojea has quit IRC22:59
johnsomWell, this is easy enough to fix22:59
johnsomI'm going to push up a fix23:01
rm_workerr23:05
rm_workok but23:05
rm_workjust doing an or?23:05
johnsomyeah23:06
rm_workand no way to test for it <_<23:06
johnsomThe joy of sqlite.  I mean we could switch functional over to running with a mysql DB...  It's some project-config fun23:07
rm_workerrr23:08
rm_workthat'd be difficult because functionals run locally23:08
rm_workand ... after that, they wouldn't23:08
rm_work<_<23:08
johnsomRight,23:09
*** ndahiwade has joined #openstack-lbaas23:10
johnsomI am now going to spend the reset of the day trying to get pep8 happy with these, ugh....23:13
rm_work?23:14
johnsomlong strings, etc.  Getting the wrapping right23:15
rm_workit COULD be an oslo_db bug23:17
rm_workactually23:17
rm_worktechnically23:17
rm_workprobably not <_<23:17
rm_workk, really out23:19
openstackgerritMichael Johnson proposed openstack/octavia master: Octavia v2 API for listeners  https://review.openstack.org/42474423:19
*** links has quit IRC23:24
ankur-gupta-f4johnsom: https://review.openstack.org/#/c/403938/ is it even necessary to add the apiv1 testenv if I already discussed how to run the scenario tests?23:39
johnsomTwo different tempest test suites23:40
johnsomIn theory23:40
ankur-gupta-f4So what would i write23:41
johnsomBut, yeah, that could be too much detail.  It's not like you are listing every test option here23:41
ankur-gupta-f4the apiv1 testenv runs the tempest api tests and the scenario runs scenario tests23:41
ankur-gupta-f4that is just confusing23:41
johnsomSorry, slow typing, my main system is patching...23:42
ankur-gupta-f4how would one use the --failing and --until-failure flags23:48
openstackgerritAnkur proposed openstack/octavia master: Introduce TESTING.rst for quick developer reference  https://review.openstack.org/40393823:52
johnsomTox -e py27 -- --failing23:52
johnsomIt only runs the tests that failed the last run23:53
johnsomUntil fail runs the tests in a loop, randomizing the order each time (as it always does)23:53

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