Thursday, 2017-12-14

bar_so... there isn't really a way to test your amphora API in devstack deployment, or is there?00:00
*** longstaff has quit IRC00:00
rm_workthe amp API?00:01
rm_workyeah that works00:01
rm_workyou can devstack it00:01
rm_workthat's one of the pieces that was originally *in* my WIP driver patch, but I pulled out and made sure worked upstream00:01
openstackgerritAdam Harwell proposed openstack/octavia master: Amphora API Failover call  https://review.openstack.org/52577800:02
rm_workfixed it a little00:02
openstackgerritAdam Harwell proposed openstack/octavia master: Add unit tests for neutron utils, add model/util for floating_ip  https://review.openstack.org/52535300:02
rm_workand rebases00:02
*** sshank has quit IRC00:05
bar_rm_work, can amphora and its load balancer reside in different projects?00:05
johnsombar_ They do00:05
rm_workyeah they always do :)00:06
johnsomThe amphora is under the octavia service account project and the load balancer is under the tenant00:06
rm_workthe /octavia/ endpoint is admin00:06
johnsomWell, if you run everything under "admin"....00:06
rm_workit's not intended for end-users00:06
bar_so if we failover amphora, don't we need to check authorize against both the amphora.project_id and amphora.lb.project_id?00:06
rm_workit's the same00:06
rm_workor rather00:07
rm_workproject-id of the amphora is kinda meaningless00:07
rm_workdo we even have that field?00:07
rm_workyou could loosely say the amphora belongs to the LB's project but the compute instance that runs it doesn't00:07
johnsomno00:07
rm_workand again, this call is "admin only"00:07
rm_workusers don't go to anything under /v2.0/octavia/00:08
rm_workthat's where we put our "admin API" functions00:08
rm_workjohnsom: feel free to review that patch, in your copious free time :P:P00:08
johnsomFunny man00:08
johnsomThe project_id thing does look odd, but the key line is: https://review.openstack.org/#/c/525778/7/octavia/policies/amphora.py:3500:10
rm_workerrr00:10
rm_workwut00:11
johnsomopps, :35 doesn't work there00:11
rm_workweird lol00:11
johnsomhttps://review.openstack.org/#/c/525778/7/octavia/policies/amphora.py Line 3500:11
rm_workaugh00:12
openstackgerritAdam Harwell proposed openstack/octavia master: Amphora API Failover call  https://review.openstack.org/52577800:13
rm_workself.assertFalse wasn't autocompleting so i did assertEquals(False00:14
rm_workapparently i was right at first even though it doesn't autocomplete00:14
openstackgerritAdam Harwell proposed openstack/octavia master: Add unit tests for neutron utils, add model/util for floating_ip  https://review.openstack.org/52535300:15
rm_workpatch chains >_< so fun00:15
rm_workthe biggest reason i'd like to merge the first two ;P00:15
bar_same with _get_resource(). 5 patch-sets, 3 of them to resolve conflicts.00:19
bar_and already rebased ontop of it to resolve more.00:19
*** fnaval has joined #openstack-lbaas00:24
*** yuanying_ has joined #openstack-lbaas00:25
*** yuanying has quit IRC00:27
bar_rm_work, load balancer that go into ERROR state make me sad. Would you mind considering a more conservative approach where the load balancer is to ERROR only if the Amphora is already in ERROR state?00:29
rm_workif the Amp goes to ERROR, the LB has to00:31
rm_workthere's not really a way around that AFAIK00:31
rm_workthe purpose is to block updates00:31
rm_workbecause if you leave the LB mutable, it will be unable to provision changes00:31
rm_workbecause the amp is in ERROR00:31
bar_sure, but currently any exception would result in load balancer go into error, correct?00:32
openstackgerritAdam Harwell proposed openstack/octavia master: WIP: Floating IP Network Driver (spans L3s)  https://review.openstack.org/43561200:32
rm_workany exception on the amp flows would, yes00:32
*** armax has joined #openstack-lbaas00:33
bar_Would you say that for any exception that might arise during amphora failover, it is guaranteed that the amphora will be in state of ERROR?00:33
rm_workyes00:34
bar_ah00:34
rm_workif we can't failover the amp ... SOMETHING is wrong00:34
rm_workand we can't trust the amp anymore to be working00:34
bar_perhaps we didn't even get to execute the flow...00:35
bar_something has failed before we began00:35
*** Swami has quit IRC00:35
rm_workstill we don't know what's going on because we can't do anything with the amp...00:39
rm_workthough if something fails before the flows00:39
*** ssmith has quit IRC00:39
rm_workthe LB will actually be stuck in PENDING_UPDATE I think00:39
rm_workit won't be in ERROR technically :P00:39
dayou@johnsom, I heard you were able to do a test with slaac and it worked, where cloud-init wrote it as a static config.00:39
dayouCould you post your solution so I can take a look?00:39
johnsomdayou Give me 20 minutes00:41
*** harlowja has quit IRC00:45
rm_workit's interesting that we don't stamp the topology on the LB object until AFTER it's created00:52
rm_workshouldn't we stamp that on there on the initial create of the DB object?00:52
rm_workwe KNOW then...00:52
rm_workfor stuff that goes to ERROR during a create, it ends up with NULL topology in the DB00:52
*** AlexeyAbashkin has joined #openstack-lbaas00:53
johnsomrm_work It is that way to deal with spares pool amps00:54
rm_workit is? O_o00:54
johnsomThere is a chicken/egg timing thing.  I think I put a comment in the code about it00:54
*** AlexeyAbashkin has quit IRC00:57
johnsomhttps://www.irccloud.com/pastebin/OJA4RPRu/00:58
johnsomdayou ^^^ that is how I set it up. The amp comes up fine.  You of course have to change your o-hm0 devstack config or however you have your lb-mgmt-net configured  to have access to that network00:59
*** longstaff has joined #openstack-lbaas00:59
*** yuanying_ has quit IRC01:00
*** longstaff has quit IRC01:00
dayouIs it v6 only or v4 + v6?01:00
dayouI know v4 + v6 should work since it first gets the v4 address from dhcp and then v6 slacc.01:01
*** yuanying has joined #openstack-lbaas01:09
rm_workuuuuugh ok this is dumb01:30
johnsomdayou It is IPv6 only01:31
rm_workif we delete an LB, and mark its amp deleted, and we delete the amp-health record for them ... and then a new health record comes in ... and then expires... we try to failover the amp even though it was deleted. which actually brings the loadbalancer back to active.01:31
johnsomrm_work ummm, if it's deleted how is it sending another heartbeat?  Or is this, "see above delays"01:32
rm_work^^01:33
rm_workwell actually01:33
rm_workit's that AND somehow right now deletes aren't working always01:33
rm_worktrying to figure out why on that last one01:33
rm_worklike, nova says it deleted it to the worker.... buuut it's still active01:33
rm_worki've got some bug somewhere01:33
rm_workmaybe around what auth it's using?01:34
rm_workneed to dig through logs01:34
dayoujohnsom, this seems has nothing to do with cloud init01:34
johnsomOk, I am about to disappear for the evening.  Just had a fun 30 minutes on the phone playing IT for my mother, so...01:34
rm_work>_<01:35
johnsomdayou Correct, cloud-init "does the right thing" in this scenario01:35
johnsomIt just works01:35
dayouWhat's the cloud init generated config file ?01:35
dayouI am curious to take a look at that also01:36
johnsomUmm, I deleted that VM after chatting with Jason.  It's a standard interfaces.d file. It does have a static address because nova/neutron puts one in for it (since it knows the prefix and MAC for the NIC)01:37
dayouauto lo01:38
dayouiface lo inet loopback01:38
dayouauto eth001:38
dayouiface eth0 inet manual01:38
dayouauto eth001:38
dayouiface eth0 inet6 auto01:38
johnsomdayou This was the cloud-init metadata file I shared with Jason:01:38
johnsomhttps://www.irccloud.com/pastebin/H3zWM4js/01:38
johnsomdayou No, that is an invalid interfaces file01:38
dayoujohnsom, seems you are using ovs01:41
dayouI don01:41
dayou't know whether that makes a difference01:41
johnsomrm_work I did find that IPv6 VIPs aren't working right however.  Sigh. ifup -a throws an error that the secondary IP is already up.  I need to look into that01:41
dayouSince we are not using ovs at all01:41
johnsomdayou Yeah, that doesn't matter here really01:41
rm_workjohnsom: i thought dlundquist was looking into that forever ago01:41
rm_worki remember specifically that -a didn't work01:41
rm_workand he had some workaround01:42
johnsomrm_work Well, it *was* working fine01:42
dayouIf I can get the interfaces file I can be more sure about it01:42
johnsomrm_work I fixed that CentOS doesn't have -a, that was a different issue01:42
rm_workhmm k01:42
rm_workyeah i thought it had to do with local scoping or something01:42
rm_worklike, we were adding an address that was kinda a dupe? or something01:43
johnsomdayou Ugh, umm, ok, I will run those instructions and grab it.  10-20 minutes.01:43
rm_workanyway, dlundquist might know01:43
dayoujohnsom, thanks01:43
johnsomdayou My wife can give you the stare....  grin01:43
rm_workthough he may not want to touch this stuff with a 10 foot pole :P01:43
dayoujohnsom, what's the stare?01:43
johnsomrm_work Oh, link-local addresses, whole different animal, there is a patch up about that .01:43
dayoujohnsom, I'd rather have some steak01:43
johnsomdayou stare of why aren't you cooking dinner with me stare01:44
dayoujohnsom, because I get up at 4 and watched your meeting silently and pushed changed and go back to irc to get a stare01:44
dayouafter a snap01:45
dayou:-C01:45
rm_workaugh01:46
rm_workjohnsom: ok so you have to go but01:46
johnsomdayou https://wiki.openstack.org/wiki/Octavia/Meeting_Minutes#2017-12-13_Weekly_meeting:01:46
rm_workLATER....01:46
rm_worksomething happened...01:46
dayouwhat happened?01:46
dayouAlso, what is IT, kind of phone game?01:46
dayouIt's the first time I heard that01:46
johnsom"Information Technology" (IT) also known as technical support01:47
johnsomHelping her with Wifi issues01:47
dayouAh, kind of joke, I thought it was a game01:48
rm_workunknown keyword 'external-check' in 'global' section01:48
rm_workwhen trying to upload listener config01:48
rm_workon the amp agent01:48
johnsomYou are missing the patch for RHEL in the amp image01:48
rm_workeugh01:49
johnsomhttps://docs.openstack.org/releasenotes/octavia/unreleased.html#upgrade-notes01:49
rm_workso i need a new amp image01:49
rm_workgross01:49
johnsomType PING?01:49
rm_workno HM01:49
johnsomUmm, that is unexpected01:49
rm_work:/01:49
rm_workjust on listener create01:49
rm_workand ... interestingly, it is marked as ACTIVE (like, it worked? or something)01:50
johnsomOh, that is a bug isn't it01:50
rm_workyeah so it looks like it fails but doesn't revert the flow / mark as ERROR01:50
rm_workfor some reason01:50
johnsomrm_work This line: https://review.openstack.org/#/c/518632/11/octavia/common/jinja/haproxy/templates/base.j201:50
johnsomThe other has a HM PING wrapper01:50
johnsomhttps://review.openstack.org/#/c/518632/11/octavia/common/jinja/haproxy/templates/macros.j201:52
rm_worksoooo01:52
johnsomSo, yeah, my bad on that.  It was planned to be only need to roll the amp if HM of PING01:52
rm_work:/01:52
rm_workso there's the other bug you uncovered somehow01:53
rm_workwhich is... i have no idea how, but01:53
rm_workwhen it fails in this way01:53
rm_workit doesn't send the LB to ERROR01:53
rm_workit sends it to ACTIVE01:54
rm_workis that a bug?01:54
rm_workit doesn't create the listener and just sends it back to ACTIVE?01:54
johnsomWell, the jinja stuff succeeds, but the restart/start should have raised the failure01:54
rm_workso now i've got an ACTIVE LB01:54
rm_workwithout the listener i just created01:54
rm_work(tried to create)01:55
rm_workthat is ... confusing01:55
rm_workk i'll let you go, this is sucky but i can look at it tomorrow, it's just in Staging01:55
johnsomdayou01:57
johnsomhttps://www.irccloud.com/pastebin/yjfwHgc8/01:57
rm_workoh nm the Listener *does get created in the DB*01:57
rm_workbut the LB goes back to ACTIVE somehow01:57
rm_workinstead of ERROR01:57
rm_workwhen haproxy fails to start01:57
rm_workor ... i need to get some logs i think, this is weird01:57
johnsomYeah, it's the restart/reload/start code that should have raised an error01:57
rm_workhmmm but i did get01:58
rm_workFlow 'octavia-create-listener_flow' (d972404d-b881-42fb-abdd-4672dbac4159) transitioned into state 'REVERTED' from state 'RUNNING'01:58
rm_workbut ... that put it in ACTIVE status01:58
rm_workeven though the listener object is now created01:58
johnsomSay what?01:58
rm_workwhich guarantees a failover because the listener count is wrong01:58
rm_workthis is what i'm seeing01:58
rm_worki can do it again from scratch to prove it01:59
rm_workone sec01:59
johnsomOh, so listener is in error, but LB is active?01:59
johnsomThat is normal01:59
rm_workhmm k01:59
rm_workinterestingly in the client we don't return prov-status for Listeners? O_o02:00
johnsomThat allows the "delete listener" to try again thing02:00
rm_workerr, we don't display it02:00
rm_workjohnsom: ok well that's great and all but02:00
johnsomWe don't?02:00
rm_workwe do not seem to, no02:00
rm_workanyway02:00
rm_workin most deployments, what is the health failover time? a minute or two?02:00
rm_workso if the user doesn't delete that Listener...02:00
johnsomrm_work https://github.com/openstack/python-octaviaclient/blob/master/octaviaclient/osc/v2/constants.py#L6602:01
johnsomIt's in the client02:01
rm_workwe will do a failover02:01
rm_workand continue to do so02:01
rm_workuntil they fix it02:01
rm_workmaybe i need to update02:01
johnsomWell, it will only try a failover once, then should leave the LB in error02:01
rm_workah true02:01
rm_workbut ... then the user can't delete the listener anymore02:01
rm_workso they're stuck02:01
johnsomYeah, cascade delete works02:02
rm_workso if a Listener create fails, it starts a timer for them for like ... 1-2 minutes02:02
rm_workthey need to delete the Listener or the LB is doomed02:02
rm_workah i'm looking at a `listener list` not a show02:02
johnsomoh, yeah, that is a shorter list of columns.  Otherwise the output is unreadable02:02
rm_workyeah i guess so but status seems important <_<02:03
rm_workanyway02:03
rm_workthis seems like a shitty workflow02:03
rm_work"create listener fails, put LB to ACTIVE and Listener to ERROR so the user can fix it" *2 minutes later* "health failover happens, LB is immutable and dead"02:04
johnsomSo if the listener is error it should *not* attempt a failover recovery?02:04
rm_worki mean02:05
rm_workyeah maybe it shouldn't count that toward listener count02:05
johnsomLB can still be deleted with cascade02:05
rm_workwhen deciding whether to store health data02:05
johnsomI mean, this is a coding error on our part, not exactly a "something that randomly happens".02:06
johnsomI think I would rather have it try a failover for cases where the host ran out of disk or something like that02:06
rm_workhmm k02:07
rm_workjust seems lame02:07
rm_workanyway i guess it's fine so long as failures don't happen very often02:07
rm_workjust need to fix this to not explode02:07
*** jniesz has quit IRC02:07
rm_worki guess I can roll a new image but testing it is difficult in my new env <_<02:07
johnsomJust saying, but happy to start a brain storming etherpad and talk through scenarios to see if we can come to a better conclusion02:07
rm_workthis ping patch is T_T02:07
rm_worki would rather literally remove PING as an option02:07
rm_workthan have to deal with this patch, lol02:08
johnsomWell, there is that.  Sadly we have had it as part of the API forever02:08
rm_workyeah02:08
johnsomnever worked for the reference drivers02:08
johnsomYou are welcome to propose a patch to fix my sins02:09
rm_worki'll think on it02:09
*** bar_ has quit IRC02:09
rm_worki don't really understand what is happening here yet02:09
johnsomThe other option is to load a real version of haproxy up and move on02:09
rm_worklike why it's trying to pass that option to my amp02:09
johnsomhaproxy doesn't support PING, so I had to add an external monitor command to do the ping.  That line enables external commands, the lower line defines the command, etc.02:10
johnsomOn versions of haproxy that weren't from our high school years, that command does not fail.02:11
johnsomgrin02:11
rm_workhmm but02:12
rm_workwhy is that line there02:12
rm_workin the case of centos amps02:12
rm_workshouldn't it depend on the amp type02:12
rm_workif we know centos amps don't have that ability02:12
johnsomBecause this: https://review.openstack.org/#/c/518632/11/octavia/amphorae/backends/agent/api_server/haproxy_compatibility.py02:13
rm_workblagh02:13
rm_workok so yeah i just need to roll a new amp02:13
rm_work>_>02:13
johnsomdidn't run and strip it from the config because your amphora-agent doesn't have that code, so it doesn't look for ancient haproxy versions and remove it02:13
rm_workbut ummm02:13
rm_workthis means existing amps can't create listeners02:13
rm_workso i have to recycle my whole fleet02:13
rm_worksrsly02:13
johnsomOn CentOS, that is the bug.02:13
rm_workugh.02:14
johnsomWe probably just need to fix it differently02:14
rm_workyes prolly02:14
rm_worki'll think on it02:14
johnsomI have been explaining what it is, not an idea of how to do it different/better02:14
rm_workyeah k02:14
johnsomMaybe query the amp details call before rendering the config to send down?02:15
rm_worksooo what i'm going to do is patch this out locally <_<02:15
rm_workbecause I need this working NOW02:15
johnsomIt's evil either way really02:15
johnsomYeah, just rip it out of the templates02:15
*** bar_ has joined #openstack-lbaas02:16
*** threestrands_ has joined #openstack-lbaas02:22
*** threestrands_ has quit IRC02:22
*** threestrands_ has joined #openstack-lbaas02:22
*** threestrands has quit IRC02:22
*** threestrands_ has quit IRC02:22
*** threestrands_ has joined #openstack-lbaas02:23
*** threestrands_ has quit IRC02:23
*** threestrands_ has joined #openstack-lbaas02:23
rm_workk that works02:23
openstackgerritAdam Harwell proposed openstack/octavia master: WIP: Floating IP Network Driver (spans L3s)  https://review.openstack.org/43561202:23
*** numans has quit IRC02:29
*** numans has joined #openstack-lbaas02:32
*** threestrands_ has quit IRC02:32
*** bar_ has quit IRC02:32
*** yuanying has quit IRC02:32
*** amotoki has quit IRC02:32
*** openstackstatus has quit IRC02:32
*** dmellado has quit IRC02:32
openstackgerritBar RH proposed openstack/octavia master: [WIP] Remove reliance on NeutronException message field  https://review.openstack.org/52783902:34
*** threestrands_ has joined #openstack-lbaas02:36
*** yuanying has joined #openstack-lbaas02:36
*** amotoki has joined #openstack-lbaas02:36
*** openstackstatus has joined #openstack-lbaas02:36
*** dmellado has joined #openstack-lbaas02:36
*** barjavel.freenode.net sets mode: +v openstackstatus02:36
openstackgerritHengqing Hu proposed openstack/octavia-dashboard master: Handle singular and plural when deleting resources  https://review.openstack.org/52784002:55
*** tongl has quit IRC03:07
*** tongl has joined #openstack-lbaas03:09
*** armax has quit IRC03:21
*** annp has joined #openstack-lbaas03:31
*** armax has joined #openstack-lbaas03:55
openstackgerritAdam Harwell proposed openstack/octavia master: WIP: Floating IP Network Driver (spans L3s)  https://review.openstack.org/43561204:07
*** tongl has quit IRC04:09
*** armax has quit IRC04:12
*** armax has joined #openstack-lbaas04:13
*** armax has quit IRC04:13
*** armax has joined #openstack-lbaas04:14
*** armax has quit IRC04:14
*** armax has joined #openstack-lbaas04:14
*** armax has quit IRC04:15
*** yamamoto has joined #openstack-lbaas04:18
openstackgerritSanthosh Fernandes proposed openstack/octavia master: [WIP] ACTIVE-ACTIVE create distributor flow  https://review.openstack.org/52778404:31
*** annp has quit IRC04:40
*** annp has joined #openstack-lbaas04:40
*** links has joined #openstack-lbaas05:35
*** sapd has quit IRC05:38
*** sapd_ has joined #openstack-lbaas05:38
*** eandersson has quit IRC05:47
*** sticker has quit IRC05:49
*** links has quit IRC06:13
openstackgerritAndreas Jaeger proposed openstack/octavia-dashboard master: WIP: Use standard nodejs4 tests  https://review.openstack.org/52786106:17
openstackgerritAndreas Jaeger proposed openstack/neutron-lbaas-dashboard master: WIP: Use standard nodejs4 tests  https://review.openstack.org/52786306:19
*** links has joined #openstack-lbaas06:21
*** links has quit IRC06:21
*** annp has quit IRC06:41
*** annp has joined #openstack-lbaas06:41
*** openstackgerrit has quit IRC06:47
*** threestrands_ has quit IRC06:53
*** sapd__ has joined #openstack-lbaas07:07
*** sapd_ has quit IRC07:07
*** annp has quit IRC07:14
*** annp has joined #openstack-lbaas07:14
*** Alex_Staf has joined #openstack-lbaas07:27
*** openstackgerrit has joined #openstack-lbaas07:28
openstackgerritAndreas Jaeger proposed openstack/octavia-dashboard master: WIP: Use standard nodejs4 tests  https://review.openstack.org/52786107:28
*** gcheresh has joined #openstack-lbaas07:32
dayou@johnsom, I just remembered with v6 it can get slacc address, but the problem is the boot tooks up to 3 minutes07:35
dayoubecause cloud init is trying to get an ip address with dhcp07:36
dayouThat's the reason I disabled cloud init networking for slaac totally07:36
*** AlexeyAbashkin has joined #openstack-lbaas08:09
*** reedip has quit IRC08:15
*** rcernin has quit IRC08:15
*** reedip has joined #openstack-lbaas08:18
*** tesseract has joined #openstack-lbaas08:28
*** links has joined #openstack-lbaas08:52
*** pckizer_ has joined #openstack-lbaas08:52
*** pckizer has quit IRC08:54
*** links has quit IRC08:57
*** Alex_Staf has quit IRC08:59
nmagnezirm_work, o/09:07
*** links has joined #openstack-lbaas09:10
openstackgerritNguyen Van Trung proposed openstack/neutron-lbaas master: Avoid tox_install.sh for constraints support  https://review.openstack.org/52790109:12
*** Alex_Staf has joined #openstack-lbaas09:16
*** sanfern has quit IRC09:17
*** eN_Guruprasad_Rn has joined #openstack-lbaas09:17
*** rcernin has joined #openstack-lbaas09:23
*** dokua has joined #openstack-lbaas09:27
rm_workdayou: yeah see that sounds like my issue again -- the dhcp process happens BEFORE cloud-init, so you have to disable it on the image first, THEN cloud-init can take care of the real config after09:31
rm_worknmagnezi: o/ unfortunately about to head to bed T_T09:32
nmagnezirm_work, understandable..09:32
nmagnezi:)09:32
openstackgerritSanthosh Fernandes proposed openstack/octavia master: Adding exabgp-speaker element to amphora image  https://review.openstack.org/49016409:32
rm_worknmagnezi: maybe i can catch you in the morning for me <_<09:35
nmagnezirm_work, maybe :-)09:35
nmagnezirm_work, no worries. we'll sync eventually..09:36
dayourm_work: yes, so many issues and headaches10:00
dayourm_work: needs to gets some good sleep tonight and then continue solving this one by one10:01
*** annp has quit IRC10:07
*** salmankhan has joined #openstack-lbaas10:14
dayourm_work: in my case, for slacc,cloud init is not needed at all, all interface should get slaas with router announcement or other means of layer two address assignment facility10:19
*** sapd__ has quit IRC10:37
*** links has quit IRC10:43
*** reedip has quit IRC10:44
*** sapd__ has joined #openstack-lbaas10:51
*** Alex_Staf has quit IRC10:55
*** eN_Guruprasad_Rn has quit IRC10:55
*** Alex_Staf has joined #openstack-lbaas10:55
*** links has joined #openstack-lbaas10:57
*** reedip has joined #openstack-lbaas10:59
*** AlexeyAbashkin has quit IRC11:10
*** AlexeyAbashkin has joined #openstack-lbaas11:11
*** yamamoto has quit IRC11:12
*** eN_Guruprasad_Rn has joined #openstack-lbaas11:27
*** dokua has quit IRC11:29
*** eN_Guruprasad_Rn has quit IRC11:31
*** bar_ has joined #openstack-lbaas11:49
openstackgerritHengqing Hu proposed openstack/neutron-lbaas-dashboard master: WIP: Use standard nodejs4 tests  https://review.openstack.org/52786311:52
*** yamamoto has joined #openstack-lbaas11:53
*** yamamoto has quit IRC11:54
*** yamamoto has joined #openstack-lbaas11:55
*** sapd__ has quit IRC12:11
*** sapd__ has joined #openstack-lbaas12:12
openstackgerritHengqing Hu proposed openstack/neutron-lbaas-dashboard master: WIP: Use standard nodejs4 tests  https://review.openstack.org/52786312:15
*** salmankhan has quit IRC12:19
*** yamamoto has quit IRC12:19
*** salmankhan has joined #openstack-lbaas12:25
*** eN_Guruprasad_Rn has joined #openstack-lbaas12:39
openstackgerritHengqing Hu proposed openstack/neutron-lbaas-dashboard master: WIP: Use standard nodejs4 tests  https://review.openstack.org/52786312:45
*** reedip has quit IRC12:54
*** fnaval has quit IRC12:55
*** yamamoto has joined #openstack-lbaas13:07
*** reedip has joined #openstack-lbaas13:08
openstackgerritBar RH proposed openstack/octavia master: Specify management IP addresses per amphora  https://review.openstack.org/50515813:17
openstackgerritSanthosh Fernandes proposed openstack/octavia master: Adding exabgp-speaker element to amphora image  https://review.openstack.org/49016413:21
*** fnaval has joined #openstack-lbaas13:35
*** yamamoto has quit IRC13:41
*** yamamoto has joined #openstack-lbaas13:50
*** yamamoto has quit IRC13:54
*** rcernin has quit IRC13:59
*** atoth has joined #openstack-lbaas14:00
*** dosaboy has quit IRC14:04
*** fnaval has quit IRC14:06
*** dosaboy has joined #openstack-lbaas14:10
*** salmankhan has quit IRC14:11
*** yamamoto has joined #openstack-lbaas14:14
*** salmankhan has joined #openstack-lbaas14:16
*** yamamoto has quit IRC14:19
*** sapd__ has quit IRC14:41
*** eN_Guruprasad_Rn has quit IRC14:50
*** fnaval has joined #openstack-lbaas14:51
*** fnaval has quit IRC14:56
*** fnaval has joined #openstack-lbaas14:59
*** fnaval has quit IRC15:03
*** fnaval has joined #openstack-lbaas15:07
*** fnaval_ has joined #openstack-lbaas15:08
*** fnaval has quit IRC15:11
*** fnaval has joined #openstack-lbaas15:12
*** fnaval_ has quit IRC15:14
*** amotoki has quit IRC15:22
*** Alex_Staf has quit IRC15:26
*** links has quit IRC15:26
*** armax has joined #openstack-lbaas15:47
*** Alex_Staf has joined #openstack-lbaas15:57
*** gcheresh has quit IRC15:57
openstackgerritBar RH proposed openstack/octavia master: Remove reliance on NeutronException message field  https://review.openstack.org/52783916:04
*** sanfern has joined #openstack-lbaas16:34
*** Alex_Staf has quit IRC16:37
johnsomdayou That is not how it works for me.  Please send the /etc/network/interfaces, /etc/network/interfaces.d/*, /etc/netns/amphora-haproxy/network/interfaces, /etc/netns/amphora-haproxy/network/interfaces.d/* , /var/log/cloud-init*, your config drive network_data.json file16:43
sanfernhi johnsom ,16:43
sanferndo u have any mechanism to have /usr/local/lib/python2.7/dist-packages/exabgp/ across all the versions and distributions16:45
*** yamamoto has joined #openstack-lbaas16:46
sanfernref - https://review.openstack.org/#/c/491016/13 line 3616:46
johnsomsanfern Hi, no, we install into the path appropriate for the python version the amphora image is created with.16:46
johnsomSo installation into the correct python environment is automatic.  The paths to those files varies with the distribution vendors.16:47
sanfernwe need to refer to env path variable instead of absolute path16:47
johnsomWell, yeah, that varies by package.  For example octavia installs the the binaries or links to the binaries into the path, so you can just run them16:48
johnsomThat happens here: https://github.com/openstack/octavia/blob/master/setup.cfg#L6416:50
*** slaweq has joined #openstack-lbaas16:51
*** slaweq has left #openstack-lbaas16:51
*** tongl has joined #openstack-lbaas16:51
sanfernshould I define here the path for exabgp16:53
johnsomNot in our code, no, it should be in the exabgp package if this is a runnable16:53
johnsomThat file defines runnables in our package16:53
*** yamamoto has quit IRC16:54
johnsomhttp://python-packaging.readthedocs.io/en/latest/command-line-scripts.html#the-console-scripts-entry-point16:56
*** bar_ has quit IRC16:56
sanfernok16:57
johnsomYou might check if other openstack projects are using that command and how they are handling it.  I just hope those other projects are py2.7/py35 safe16:58
johnsomIt looks to me like maybe exabgp is missing its setuptools config file to setup these tools.16:59
johnsomdayou I will also note, you have to have cloud-init, without it you will not have a proper instance configuration or interfaces configured to connect to the network you pass into the instance.17:02
sanfernok17:06
sanferndo we need to submit the fix for exabgp ?17:07
johnsomThat might be the best approach to solving the problem.17:07
*** sri_ has quit IRC17:07
*** sri_ has joined #openstack-lbaas17:21
*** AlexeyAbashkin has quit IRC17:23
sanfernhttps://github.com/Exa-Networks/exabgp/pull/735 is this a one17:28
johnsomNot quiet, but that is someone solving a similar problem for an RPM package17:31
sanfernok17:32
johnsomIt doesn't look like the RPM includes that command either....17:35
numansRequest to have a look at this patch - https://review.openstack.org/#/c/510921/17:38
johnsomnamans Thanks17:38
johnsomnumans ugh, my typing this morning17:39
numansjohnsom, thanks. no issues :)17:39
*** logan- has quit IRC17:44
*** logan- has joined #openstack-lbaas17:45
*** tesseract has quit IRC17:53
*** sanfern has quit IRC17:57
*** sanfern has joined #openstack-lbaas17:57
sanfernjohnsom, https://github.com/Exa-Networks/exabgp/issues/75717:57
sanfernjohnsom, finally gates were through for https://review.openstack.org/#/c/524722/17:58
johnsomCool, yeah, you might want to fill in a bit more information about the need (i.e. the installation of the CLI tools, etc.)17:58
*** Alex_Staf has joined #openstack-lbaas17:58
sanfernneed your help to fix those repo unit tests17:58
johnsomsanfern Ok, I will take a look18:00
sanfernThank you, I will be out of town next two weeks18:02
sanfernJacky and jneiz will continue18:03
*** Swami has joined #openstack-lbaas18:03
*** yamamoto has joined #openstack-lbaas18:05
johnsomsanfern Yeah, you already have a comment on that bug that it needs more info18:05
johnsomI can't edit it, so can't help you out there18:05
sanfernthere is already a issue  - https://github.com/Exa-Networks/exabgp/issues/72518:05
sanfernyeah :(18:07
sanfernjohnsom,  Anything other than cli tools, i am updating the issue18:15
johnsomI think that is the biggest issue you are facing there18:15
rm_workdayou: what amp OS are you using?18:15
rm_workjohnsom: maybe you don't see this issue because the networks you test with support DHCP or something?18:16
rm_workbecause my network (and dayou's it seems) have no DHCP server18:16
rm_workso the OS will sit and wait and wait and wait until timeout18:16
rm_workBEFORE it gets to cloud-init18:16
rm_workand it is difficult for me to log in prior to the networking coming up to get the logs18:16
rm_workerr, rather, to get the network files18:16
rm_workand once it DOES time out after 3-5 minutes, cloud-init runs and overwrites them18:17
rm_workmaybe it's just a CentOS boot services ordering problem?18:17
rm_worklike, cloud-init on ubuntu runs before the networking starts, but on centos it's after?18:17
johnsomNo, I'm asking for those file after the host is up.  I'm just trying to figure out what is going wrong there, I think it is the network dayou is plugging in.  Those files will help me see where/when he is seeing the issue.  The test I am running is a network/subnet with NO dhcp and NO IPv4 subnets18:19
rm_workok i mean18:19
rm_worklooking at the files that are there AFTER cloud-init on my cloud... they look correct18:19
rm_workbut cloud-init runs AFTER dhcp runs18:19
rm_workso ....18:19
rm_workit doesn't really matter what cloud-init puts18:20
johnsomThe question of timing very well may be a redhat thing, I am testing with Ubuntu.  It could be that on CentOS network manager is running and running first where Ubuntu the systemd is ordered correctly.  Again, just asking for logs here.18:20
rm_workk, well, getting logs from those runs is prohibitive18:20
johnsomI really matters to me to see the outcomes, those files and logs.  It will tell me ordering and actions taken.18:20
*** sanfern has quit IRC18:21
johnsomI understand you drop SSH so it's hard to get the logs, but he can.18:22
rm_workit's more like, i just can't test images right now18:22
*** SumitNaiksatam has joined #openstack-lbaas18:22
rm_workbecause i had to move my staging env to point to my prod cloud as a backend18:22
rm_workwhich means i'm on prod glance18:22
rm_workhmmm well... actually i guess i could adjust my image build automation to use a different tag for staging uploads18:23
rm_workand build an image without that patch and with a root password18:23
rm_workwhat it really boils down to is i have two days until i'm on vacation and i have a big task to finish so I don't really have time to do that at the moment >_>18:24
*** reedip has quit IRC18:29
*** harlowja has joined #openstack-lbaas18:29
*** reedip has joined #openstack-lbaas18:41
*** AlexeyAbashkin has joined #openstack-lbaas18:47
*** Alex_Staf has quit IRC18:49
*** AlexeyAbashkin has quit IRC18:52
*** salmankhan has quit IRC19:08
*** openstack has joined #openstack-lbaas20:33
*** ChanServ sets mode: +o openstack20:33
*** AlexeyAbashkin has joined #openstack-lbaas20:46
*** AlexeyAbashkin has quit IRC20:51
*** tongl has quit IRC20:52
*** tongl has joined #openstack-lbaas20:53
*** salmankhan has joined #openstack-lbaas21:00
*** AJaeger has joined #openstack-lbaas21:04
*** salmankhan has quit IRC21:04
openstackgerritAndreas Jaeger proposed openstack/neutron-lbaas-dashboard master: Use standard nodejs4 tests  https://review.openstack.org/52786321:06
openstackgerritAndreas Jaeger proposed openstack/octavia-dashboard master: Use standard nodejs4 tests  https://review.openstack.org/52786121:06
*** yamamoto has joined #openstack-lbaas21:07
AJaegerjohnsom: I converted the jobs to native Zuul v3, your previous change is reverted ^21:08
johnsomAJaeger Cool, thanks for working on that.  Glad to have more central jobs21:09
*** openstack has joined #openstack-lbaas21:13
*** ChanServ sets mode: +o openstack21:13
AJaegerjohnsom: once the dependent job is in, I'll ping for merge to not have both old and new jobs run - feel free to review already here and the dependent change as well.21:15
*** yamamoto has quit IRC21:15
johnsomYep, will do, saw the fix just go in21:16
*** threestrands has joined #openstack-lbaas21:31
AJaegerok, dependency merged - cores, please review and merge my two changes above ^21:45
AJaegerjohnsom: thanks!21:45
AJaegerbtw. no need to merge *now* - just wanted to join and ping in case of questions before I sign off for the day21:46
*** sticker has joined #openstack-lbaas21:46
*** sshank has joined #openstack-lbaas21:48
*** yamamoto has joined #openstack-lbaas21:51
*** rcernin has joined #openstack-lbaas21:58
*** eandersson has joined #openstack-lbaas22:03
johnsomYeah, I think we are good22:07
openstackgerritAdam Harwell proposed openstack/octavia master: WIP: Floating IP Network Driver (spans L3s)  https://review.openstack.org/43561222:17
*** bar_ has joined #openstack-lbaas22:21
*** sshank has quit IRC22:35
*** tongl has quit IRC22:36
*** sshank has joined #openstack-lbaas22:50
rm_workhmm, amphora-api bug ... trying to show an amp by ID when it's a spare doesn't work, because it tries to do the validate-auth based on the project_id of the amp's LB which it doesn't have23:07
*** threestrands_ has joined #openstack-lbaas23:10
bar_rm_work, Even in SINGLE mode, am I correct?23:12
*** threestrands has quit IRC23:13
rm_workyeah it won't matter23:14
johnsomUse the context project_id23:22
johnsomShould be fine23:22
johnsomMaybe put a comment as to why that one is different23:22
bar_Is there work left to do on that basic tempest test to get it in? (https://review.openstack.org/#/c/492311/)23:27
bar_(If so, than what? rm_work ?)23:28
*** harlowja has quit IRC23:32
rm_workjohnsom: yeah not sure why i didn't do that before, did it on the get_all >_>23:35
rm_workprolly copy/paste fail23:35
*** harlowja has joined #openstack-lbaas23:39
*** harlowja has quit IRC23:40
*** harlowja has joined #openstack-lbaas23:42
*** tongl has joined #openstack-lbaas23:50
*** bar_ has quit IRC23:50
*** harlowja has quit IRC23:50
*** bar_ has joined #openstack-lbaas23:54

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