Thursday, 2019-11-21

openstackgerritMichael Johnson proposed openstack/octavia master: Remove unnecessary interface configurations  https://review.opendev.org/58077800:02
*** gthiemonge has quit IRC00:11
*** gthiemonge has joined #openstack-lbaas00:12
*** sapd1 has joined #openstack-lbaas00:39
johnsomrm_work Not sure if you are around, but I looked at your AZ patches. You have them out of order and might need to break them apart more to avoid the "tips" job issue. The "tips" job is doing exactly what it is meant to do, stop you from adding octavia-lib functions that there is no code for in Octavia.00:41
*** sapd1 has quit IRC01:06
gmannhaleyb: seems like resource provider name 'openstack:' causing the octavia greande job failing on py3 - https://zuul.opendev.org/t/openstack/build/b26bd7fc82d94d4cac97b5481623b629/log/logs/grenade.sh.txt.gz#3039701:18
*** armax has quit IRC01:48
*** ricolin has joined #openstack-lbaas01:55
*** abaindur has quit IRC03:14
rm_workjohnsom: hmm but if those two patches were the other way, they wouldn't work either03:17
johnsomYou have to do the dat03:18
johnsomdata model work in octavia first03:18
rm_worksorrison: ok so we can make a new two node job specifically to test the az stuff03:19
johnsomHa, if you can get a two node devstack actually work03:19
sorrisonrm_work: Yeah been looking into that a little. I think this should be a scenario test?03:19
rm_workjohnsom: so we need to split sorrison's patch into two?03:19
sorrisonI'll need to use the compute client to create a couple AZs first03:20
sorrisonInteresting think is nova doesn't have a test for this really either03:20
sorrison*thing03:20
rm_worklol k. Yeah03:21
sorrisonAlso I'm wondering if we do need a 2 node one as can just have one compute AZ to test this I think03:22
sorrisonI'm just trying to figure out exactly what I should be testing for03:23
rm_workI mean, I was going to do the rest03:24
rm_workI figured I'd create two AZs in Octavia, one for each Nova AZ, create one LB on each, and then check traffic on them both, and then check their amps and look at the compute used in nova to make sure they actually went to the right AZs03:25
sorrisonyeah ok, however. If the nova boot command has the az passed in then it will fail if AZ doesn't exist. Also if there is a bug in octavia and the az isn't passed to the nova boot command then they could still end up where they are meant to go by chance03:29
sorrisonThere is no way to ask nova that the instance was booted with the intended AZ boot option sadly03:30
sorrisonI was thinking about your idea too, I think it's the best way but still open for edge cases03:31
rm_workRight so we want to make the Nova AZs first ;)03:31
rm_workYeah but we can just look up the amp vm after and see what AZ it's in03:32
sorrisonyeah I can whip that up pretty quickly03:32
rm_workThe tempest stuff is entirely real operations, we don't have to know what args were passed exactly, we just check the resulting objects03:32
rm_workI'll probably also do a test to try creating an Octavia AZ and telling it to use an invalid nova AZ and neutron network and make sure both of those things fail at the API create stage03:33
rm_workCould do that already ;)03:33
sorrisonshould I make the scenario test have a ipv4 and ipv6 version like the other create_lb tests?03:35
johnsomI don’t think ipv6 vs ipv4 matters for the AZ tests03:41
rm_workNo03:45
rm_workJust copy one of the two node jobs, rename it to something about AZs03:46
*** ataraday_ has quit IRC03:50
*** armax has joined #openstack-lbaas03:59
*** armax has quit IRC04:10
*** ramishra has joined #openstack-lbaas04:37
openstackgerritSam Morrison proposed openstack/octavia-tempest-plugin master: Test the Availability Zone [Profile] admin API  https://review.opendev.org/69529104:53
openstackgerritSam Morrison proposed openstack/octavia-tempest-plugin master: Add new scenario test to create LB in specific AZ  https://review.opendev.org/69534904:53
sorrisonrm_work: Haven't done the 2 node one yet but just wanted to get a single node one working first. Looking into 2-node one now04:54
rm_workk04:55
rm_workahh i spy a few issues05:04
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: Test the Availability Zone [Profile] admin API  https://review.opendev.org/69529105:04
rm_workmaybe get closer to a pass now on the api tests05:04
rm_workthe clients were a little borked05:05
sorrisonah, I just realised I completely forgot to actually create the octavia AZ and profile, had been fudging it in my local env with a pre created one05:09
rm_workhaha05:10
rm_workwell05:10
rm_workrebase, since the clients in the one you were on didn't work (I just fixed them I think)05:10
sorrisonLooks like you have AZ expecting an ID/uuid when we use name for the AZ primary key right?05:16
rm_workhmmm maybe, need to check again06:16
rm_worki thought i fixed that06:16
rm_worklooking06:17
rm_workahhh well no06:17
rm_workfff ok this is an issue06:17
rm_workthe resource name in the URL is different than the resource name in the JSON, but we expect them to be the same06:18
rm_workI need to split it out for this T_T06:18
rm_workor re-evaluate my decision to use "availability_zone_profile" instead of "availabilityzoneprofile" in the json response06:18
*** gcheresh has joined #openstack-lbaas06:19
rm_workoopsies :D06:22
rm_workfixed here:06:22
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: Test the Availability Zone [Profile] admin API  https://review.opendev.org/69529106:22
rm_workerr ok now i need to check what you were saying, got distracted and forgot06:23
rm_worki have one more update i guess, which is to remove "name" from the update call for AZ, since it can't be updated. otherwise I THINK it should just pass through the right thing06:25
rm_work"id" is really just "what goes in that space in the URL", putting the name in the "id" field in those functions will fill the right thing06:25
rm_workwe'll see when these tests finish06:25
rm_workah in some of the tests yeah it's trying to use name, will fix06:27
*** numans has joined #openstack-lbaas06:28
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: Test the Availability Zone [Profile] admin API  https://review.opendev.org/69529106:30
rm_workok that should be ... better. going to let that one run through.06:30
rm_workI lied, adding a thing to stop making it run like 100 tests06:35
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: [WIP] Test the Availability Zone [Profile] admin API  https://review.opendev.org/69529106:36
rm_workthere, better. 3 tests. lol06:37
rm_workreally could have killed the py2 one as well... i will next time i make a change06:37
*** rcernin has quit IRC07:12
*** abaindur has joined #openstack-lbaas07:22
*** pcaruana has joined #openstack-lbaas07:27
*** abaindur has quit IRC07:35
*** abaindur has joined #openstack-lbaas07:35
*** ccamposr__ has joined #openstack-lbaas07:54
*** ccamposr has quit IRC07:56
rm_workahh and i totally forgot to fix the capabilities used08:09
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: [WIP] Test the Availability Zone [Profile] admin API  https://review.opendev.org/69529108:10
openstackgerritGregory Thiemonge proposed openstack/octavia-tempest-plugin master: Add tests for mixed IP networks UDP members  https://review.opendev.org/66861908:20
openstackgerritGregory Thiemonge proposed openstack/octavia-tempest-plugin master: Add UDP test scenario  https://review.opendev.org/65651508:20
*** rpittau|afk is now known as rpittau08:20
*** tkajinam has quit IRC08:28
*** maciejjozefczyk has joined #openstack-lbaas09:01
*** maciejjozefczyk has quit IRC09:14
*** ricolin has quit IRC09:22
openstackgerritGregory Thiemonge proposed openstack/octavia stable/train: Fix controller worker graceful shutdown  https://review.opendev.org/69537409:22
openstackgerritGregory Thiemonge proposed openstack/octavia stable/stein: Fix controller worker graceful shutdown  https://review.opendev.org/69537609:25
openstackgerritGregory Thiemonge proposed openstack/octavia stable/rocky: Fix controller worker graceful shutdown  https://review.opendev.org/69537709:29
openstackgerritGregory Thiemonge proposed openstack/octavia stable/queens: Fix controller worker graceful shutdown  https://review.opendev.org/69537909:31
*** abaindur has quit IRC09:45
*** abaindur has joined #openstack-lbaas09:45
*** ccamposr has joined #openstack-lbaas10:12
*** ccamposr__ has quit IRC10:14
*** ccamposr__ has joined #openstack-lbaas10:15
*** ccamposr has quit IRC10:18
openstackgerritGregory Thiemonge proposed openstack/octavia-tempest-plugin master: Add tests for mixed IP networks UDP members  https://review.opendev.org/66861910:50
*** ccamposr__ has quit IRC11:08
*** ccamposr__ has joined #openstack-lbaas11:09
*** rpittau is now known as rpittau|bbl11:11
*** ramishra has quit IRC11:38
*** ricolin has joined #openstack-lbaas12:27
openstackgerritAdam Harwell proposed openstack/octavia-tempest-plugin master: [WIP] Test the Availability Zone [Profile] admin API  https://review.opendev.org/69529112:34
rm_workjohnsom: yeah, it's a circular dependency. I checked again. can't add the thing where you claim in octavia, because adding it there requires it exists in octavia-lib. can't add it in octavia-lib without it breaking the tips job because it's missing in octavia.12:34
rm_workwe need to temporarily disable the tips job on octavia-lib so we can merge it in and then merge the octavia side12:35
rm_workif you try it, just run the unit tests locally and you'll see12:36
rm_worki guess the alternative is to just add a skip on that test temporarily...12:37
rm_workthat might be safer12:37
openstackgerritGregory Thiemonge proposed openstack/octavia-tempest-plugin master: Add tests for mixed IP networks UDP members  https://review.opendev.org/66861913:12
*** rpittau|bbl is now known as rpittau13:12
*** armax has joined #openstack-lbaas13:23
rm_worksorrison: ok, clients are good, tests are passing for the API13:44
rm_workgonna take this out of WIP in a sec13:44
haleybgmann: so the command there, 'openstack resource provider inventory ...' looks like it's implemented in osc-placement - i didn't know we had to worry about installing that13:46
gmannhaleyb: we are discussing in nova channel. it is parging of that command failing and pipeline broken so provider name is not what it shoule be13:47
haleybgmann: ack, thanks, it didn't look like that failure was specific to my octavia patch13:49
gmannyeah, it is not.13:49
gmannsomehow that commad failing on py3 on your patch only13:49
haleybunicorn patch i guess13:50
haleybor we're missing some requirement13:51
*** ramishra has joined #openstack-lbaas14:13
johnsomhaleyb In case you aren't following the #openstack-nova thread, python-openstackclient is installed as python2 in the down (train) part of grenade, then on upgrade installed on python3 and the osc-placement package installed in python3. However, since python-openstackclient was first installed as python2, the python command file installed will still point to python2.14:34
haleybjohnsom: yes, i'14:34
haleybi've got out the popcorn14:34
johnsomNice14:34
johnsomIt is entertaining me as I wake up14:35
*** goldyfruit has joined #openstack-lbaas14:46
rm_workjohnsom: this circular dependency issue is less entertaining T_T14:53
johnsomrm_work Yes. If I fix your issue with an demo patch, what are you going to owe me? lol14:53
rm_workJust fix it on my CR if you think it's so easy :D if you try it though, you'll see what I mean14:54
johnsomChallenge accepted. However you will need to call me "The most excellent johnsom" for at least a week.14:58
* johnsom notes that he was awake way too early for a meeting that ended up cancelled and has not had his coffee yet.14:59
*** TrevorV has joined #openstack-lbaas15:00
rm_workHey if you make it work and then give me some +2s I'll call you whatever you want :D15:01
*** pcaruana has quit IRC15:02
*** pcaruana has joined #openstack-lbaas15:20
haleybgmann: don't know whether to continue in nova channel, but the recheck failed on the grenade, https://storage.bhs1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_9e4/693486/4/check/octavia-grenade/9e4bdff/logs/grenade.sh.txt.gz15:51
*** sapd1 has joined #openstack-lbaas16:12
haleybgmann: actually, look at https://bugs.launchpad.net/grenade/+bug/1805156 and related change, i was going to propose a patch to pip install osc-placement in the nova upgrade script16:22
openstackLaunchpad bug 1805156 in grenade "In a python3 grenade run, openstack client plugins are lost after swift install" [Undecided,Fix released] - Assigned to Chris Dent (cdent)16:22
openstackgerritBrian Haley proposed openstack/octavia master: Make octavia-grenade job use python3  https://review.opendev.org/69348616:24
*** ricolin has quit IRC16:39
*** sapd1 has quit IRC16:56
*** rpittau is now known as rpittau|afk17:06
*** ccamposr has joined #openstack-lbaas17:07
*** ccamposr__ has quit IRC17:11
*** goldyfruit_ has joined #openstack-lbaas17:14
*** goldyfruit has quit IRC17:17
*** AlexStaf has quit IRC17:20
*** gcheresh has quit IRC17:26
*** pcaruana has quit IRC17:51
*** pcaruana has joined #openstack-lbaas18:14
*** armax has quit IRC18:20
*** gmann is now known as gmann_afk18:38
*** pcaruana has quit IRC18:42
*** mloza has joined #openstack-lbaas18:51
openstackgerritMichael Johnson proposed openstack/octavia master: DNM: Example intermediate patch  https://review.opendev.org/69555318:53
openstackgerritMichael Johnson proposed openstack/octavia master: DNM: Example intermediate patch  https://review.opendev.org/69555318:54
openstackgerritMichael Johnson proposed openstack/octavia-lib master: Add availability_zone to the LoadBalancer model  https://review.opendev.org/69470718:58
*** armax has joined #openstack-lbaas19:01
*** pcaruana has joined #openstack-lbaas19:06
openstackgerritMichael Johnson proposed openstack/octavia master: DNM: Example intermediate patch  https://review.opendev.org/69555319:25
openstackgerritMichael Johnson proposed openstack/octavia master: DNM: Example intermediate patch  https://review.opendev.org/69555319:27
openstackgerritMichael Johnson proposed openstack/octavia-lib master: Add availability_zone to the LoadBalancer model  https://review.opendev.org/69470719:27
openstackgerritMichael Johnson proposed openstack/octavia-lib master: Add availability_zone to the LoadBalancer model  https://review.opendev.org/69470719:41
*** openstackstatus has quit IRC19:50
*** Trevor_V has joined #openstack-lbaas19:50
*** TrevorV has quit IRC19:50
*** openstackstatus has joined #openstack-lbaas19:51
*** ChanServ sets mode: +v openstackstatus19:51
*** gmann_afk is now known as gmann20:45
*** spatel has joined #openstack-lbaas20:48
*** spatel has quit IRC21:00
*** openstack has joined #openstack-lbaas21:17
*** ChanServ sets mode: +o openstack21:17
*** pcaruana has quit IRC21:25
*** gcheresh has joined #openstack-lbaas21:32
*** gcheresh has quit IRC21:38
*** ramishra has quit IRC21:57
*** abaindur has quit IRC22:05
*** rcernin has joined #openstack-lbaas22:09
Trevor_VHey guys!  Could I bother one of you to let me know if we're supposed to start deploying Octavia without the neutron lbaas plugin enabled?22:13
johnsomneutron-lbaas is end-of-life....  https://github.com/openstack/neutron-lbaas22:13
johnsomAs of Pike you do not need neutron-lbaas to run Octavia22:14
johnsomThere is also an FAQ here: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation22:14
Trevor_VOh goody!  Guess I did some dumb stuff then... lol22:14
Trevor_VHmm... I'm gonna mess with some stuff, then.22:16
Trevor_Vjohnsom do I still use a service entry in the neutron conf to point to octavia?22:18
johnsomNo22:18
Trevor_VThere lies my bad assumption.22:18
johnsomThere is no configuration required in neutron for LBaaS any longer22:18
Trevor_Vjohnsom thanks, much appreciated.22:19
johnsomNP22:19
johnsomrm_work Since I was wrong on the re-ordering thing you get some coveted review cycles....22:31
*** sapd1 has joined #openstack-lbaas23:09
sorrisonjohnsom: So there is a circular dependency with octavia and octavia-lib? (Sorry in the office today and lost my IRC history)23:12
johnsomYeah, there is in the driver utils in octavia and the data model in octavia-lib.23:12
johnsomI put the patches back the way they were and started reviewing.23:12
johnsomI thought I could get around it, but my plan didn't work.  It did have the side effect of validating the code though.23:13
johnsomSo I didn't completely waste my time.23:13
johnsomI'm 35 out of 69 files in the first octavia patch. It will need an update.23:14
johnsomI think the octavia-lib side all looked good. I have already reviewed that chain23:15
sorrisonok thanks23:33
johnsomOk, I have made a review pass across the API patch23:49

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