*** abaindur has quit IRC | 00:30 | |
*** hongbin has joined #openstack-lbaas | 01:03 | |
*** sapd1 has joined #openstack-lbaas | 01:56 | |
sapd1 | Does anyone know Vietnam Openinfra Days 2018? | 01:57 |
---|---|---|
*** ramishra has joined #openstack-lbaas | 02:09 | |
*** ramishra has quit IRC | 03:00 | |
*** ramishra has joined #openstack-lbaas | 03:08 | |
*** hongbin has quit IRC | 05:27 | |
*** numans has joined #openstack-lbaas | 05:29 | |
*** reedipb has joined #openstack-lbaas | 05:39 | |
*** sapd1 has quit IRC | 06:00 | |
*** pcaruana has joined #openstack-lbaas | 06:49 | |
*** velizarx has joined #openstack-lbaas | 06:58 | |
*** dmellado has quit IRC | 07:00 | |
*** dmellado has joined #openstack-lbaas | 07:02 | |
*** sapd1 has joined #openstack-lbaas | 07:04 | |
*** velizarx has quit IRC | 07:24 | |
*** rcernin has quit IRC | 07:31 | |
*** velizarx has joined #openstack-lbaas | 07:36 | |
*** dolly has quit IRC | 08:04 | |
*** celebdor has joined #openstack-lbaas | 08:07 | |
*** yboaron has joined #openstack-lbaas | 08:15 | |
openstackgerrit | Yang JianFeng proposed openstack/octavia master: Add quota support to octavia's l7policy and l7rule https://review.openstack.org/590620 | 08:29 |
*** celebdor has quit IRC | 08:34 | |
*** celebdor has joined #openstack-lbaas | 08:35 | |
openstackgerrit | Yang JianFeng proposed openstack/octavia master: [WIP] Refactor 'check_quota_met' and 'decrement_quota' https://review.openstack.org/596665 | 08:38 |
openstackgerrit | Yang JianFeng proposed openstack/octavia master: [WIP] Refactor 'check_quota_met' and 'decrement_quota' https://review.openstack.org/596665 | 08:44 |
*** velizarx has quit IRC | 09:03 | |
*** velizarx has joined #openstack-lbaas | 09:09 | |
*** ataraday has joined #openstack-lbaas | 09:20 | |
*** sapd1 has quit IRC | 09:26 | |
openstackgerrit | Yang JianFeng proposed openstack/octavia master: [WIP] Refactor 'check_quota_met' and 'decrement_quota' https://review.openstack.org/596665 | 09:35 |
ataraday | Hello everyone! I reviewed this change https://review.openstack.org/#/c/587400/ and saw that there is no ModelMigrationtest in Octavia https://docs.openstack.org/neutron/pike/contributor/testing/template_model_sync_test.html which allows to run migrations against different backends, so it will help to avoid errors in migrations. Do you have any plans on implementing it? neutron-lbaas had it. | 09:41 |
*** sapd1 has joined #openstack-lbaas | 10:01 | |
*** dolly has joined #openstack-lbaas | 10:13 | |
sapd1 | johnsom: Which tool you are using to benchmark Octavia Performance? | 10:15 |
nmagnezi | sapd1, https://github.com/johnsom/stressoctaviaapi | 10:22 |
sapd1 | nmagnezi: I mean, Test Performance of Octavia amphora. :D (HaProxy) | 10:23 |
*** celebdor has quit IRC | 10:26 | |
*** pcaruana has quit IRC | 10:32 | |
*** pcaruana has joined #openstack-lbaas | 10:32 | |
cgoncalves | dayou, hi. please see my comment in https://review.openstack.org/#/c/595775/ and if you agree please remove +W | 10:46 |
*** ataraday has quit IRC | 10:47 | |
*** celebdor has joined #openstack-lbaas | 10:51 | |
*** celebdor has quit IRC | 11:25 | |
openstackgerrit | Yang JianFeng proposed openstack/octavia master: [WIP] Refactor 'check_quota_met' and 'decrement_quota' https://review.openstack.org/596665 | 11:42 |
*** rtjure has quit IRC | 11:44 | |
*** rtjure has joined #openstack-lbaas | 11:58 | |
*** ktibi has joined #openstack-lbaas | 12:10 | |
*** celebdor has joined #openstack-lbaas | 12:37 | |
*** celebdor has quit IRC | 12:38 | |
*** celebdor has joined #openstack-lbaas | 12:38 | |
*** rtjure has quit IRC | 12:43 | |
*** ramishra has quit IRC | 12:46 | |
*** rtjure has joined #openstack-lbaas | 12:48 | |
*** amuller has joined #openstack-lbaas | 12:52 | |
*** yboaron_ has joined #openstack-lbaas | 13:31 | |
*** yboaron has quit IRC | 13:34 | |
*** hvhaugwitz has quit IRC | 13:37 | |
*** hvhaugwitz has joined #openstack-lbaas | 13:39 | |
*** yboaron_ has quit IRC | 14:14 | |
johnsom | sapd1: I use Tsung and iPerf3 | 14:14 |
*** yboaron_ has joined #openstack-lbaas | 14:16 | |
*** ramishra has joined #openstack-lbaas | 14:30 | |
*** ianychoi has quit IRC | 14:36 | |
*** ianychoi has joined #openstack-lbaas | 14:42 | |
*** yboaron_ has quit IRC | 14:48 | |
johnsom | cgoncalves I was going to let the zuul yaml thing go on the old branches, but it would be a quick patch to split them into the same format we use for the other branches..... grin | 15:14 |
cgoncalves | johnsom, yeah. I've just lifted my -1. up to cores :) | 15:14 |
johnsom | So you aren't taking the bait and fixing it? grin | 15:15 |
cgoncalves | didn't you have enough of fishing last Friday? :P | 15:16 |
cgoncalves | k, I'll do it | 15:16 |
johnsom | Got cancelled due to weather sadly. | 15:16 |
xgerman_ | :-( | 15:17 |
xgerman_ | Going through my patches - it seems nothing got merged while I was on vacation | 15:17 |
cgoncalves | fixed | 15:17 |
xgerman_ | https://review.openstack.org/#/c/539350/ -- will that still be in R | 15:18 |
xgerman_ | ? | 15:18 |
johnsom | R shipped | 15:18 |
xgerman_ | cgoncalves: and I need to present something - and I don't like to start pull this PR and | 15:18 |
xgerman_ | ok, then this will be our presentation | 15:18 |
xgerman_ | fortunately we don;t have a limit on backport so I can throw https://review.openstack.org/#/c/587505/ into Pike... | 15:19 |
cgoncalves | xgerman_, summit presentation? | 15:20 |
xgerman_ | yep, in order to migrate you might want to run the proxy | 15:21 |
xgerman_ | well, we can maybe backport to older version since it's a gate... not sure if that's ok | 15:24 |
dayou | sigh, just back to computer after a babysitting day | 15:24 |
xgerman_ | it's the first day of school for my kids... | 15:24 |
xgerman_ | so likely will throw a party in a bit :-) | 15:25 |
johnsom | lol | 15:25 |
dayou | :-) Lucky man, I should learn cooking, actually I am learning, so my wife won't bother with that | 15:26 |
*** velizarx has quit IRC | 15:27 | |
xgerman_ | cooking: open package, put in microwave, follow instructions? | 15:27 |
dayou | Now I make fruit juices for my kids and my wife everyday | 15:28 |
cgoncalves | xgerman_, it is not gate stuff but I agree with the relevance of backporting it to queens at least | 15:29 |
*** pcaruana has quit IRC | 15:29 | |
xgerman_ | yeah, would love to have the gate on R so we can recommend something gated | 15:29 |
cgoncalves | having it in queens too would be nice as we deprecated nlbaas in queens | 15:31 |
xgerman_ | agreed... let's get it merged and then we can backport. | 15:35 |
jiteka | Hello, I've got a question regarding LB building time and spare pool | 15:44 |
jiteka | From what I read on documentation, using spare pool doesn't guarantee anti-affinity server group in case of failover | 15:44 |
jiteka | Is it something that is currently looked at to have that feature with server group supported ? | 15:44 |
jiteka | I'm trying to reduce LB creation time that is currently around 3min | 15:44 |
jiteka | I'm also reviewing our current image cache strategy to see if amphora VM build time could be reduce as it seems to be the principal bottleneck here | 15:46 |
xgerman_ | jiteka: our problem is nova not being able to "migrate" vms accordingly. There is a multi AZ patch though... | 15:55 |
*** ktibi_ has joined #openstack-lbaas | 16:00 | |
*** ktibi has quit IRC | 16:02 | |
*** pcaruana has joined #openstack-lbaas | 16:26 | |
*** celebdor has quit IRC | 17:02 | |
*** velizarx has joined #openstack-lbaas | 17:02 | |
*** openstackgerrit has quit IRC | 17:04 | |
*** dayou has quit IRC | 17:21 | |
*** dayou has joined #openstack-lbaas | 17:22 | |
*** openstackgerrit has joined #openstack-lbaas | 17:23 | |
openstackgerrit | German Eichberger proposed openstack/octavia master: Delete zombie amphora when detected https://review.openstack.org/587505 | 17:23 |
*** velizarx has quit IRC | 17:27 | |
johnsom | jiteka 3 minutes for a LB build seems long, mine are less than a minute. We currently use the nova anti-affinity server groups, but we can't use a spares pool with it as we can't add pre-booted instances to the server group. | 17:39 |
*** sapd1_ has joined #openstack-lbaas | 17:45 | |
colin- | what flavor typically? just curious | 17:47 |
colin- | @johnsom | 17:47 |
johnsom | colin- Which nova flavor? 1GB RAM, 1vCPU, 2GB disk | 17:48 |
colin- | got it, apples to apples in that case | 17:48 |
johnsom | Yeah, with the current version of HAProxy and disabled flow logs, you don't get much benefit from giving it more resources. I think that will change in Stein forward though. | 17:49 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add amphora statistics to the admin API https://review.openstack.org/585031 | 17:51 |
sapd1_ | I shared this architecture to my community in Vietnam Openinfra Days 2018 (on August 25) https://docs.google.com/presentation/d/17b_r2flQn2mVOu2Ybdlxnb1gJuQqqE3cQfvtv0vTEhw/edit?usp=sharing | 17:55 |
sapd1_ | :D | 17:55 |
sapd1_ | johnsom: nmagnezi Take your time to check my slides :D | 17:56 |
johnsom | sapd1_ Interesting. Thanks for spreading word of Octavia. | 18:03 |
sapd1_ | I want Octavia has more features than this :D | 18:04 |
johnsom | sapd1_ Are you planning to upstream this work? | 18:05 |
sapd1_ | johnsom: I added nameserver to /etc/resolv.conf but I can't resolve domain. | 18:06 |
sapd1_ | in amphora | 18:06 |
johnsom | I have been thinking about gnocchi as well | 18:06 |
johnsom | sapd1_ Yes, we have done a number of things to disable DNS in the amphora | 18:06 |
sapd1_ | johnsom: I would like. But I have to complete my working in my company. | 18:07 |
sapd1_ | use gnocchi to store metric and monasca to store log. :D | 18:07 |
johnsom | sapd1_ If you must have DNS, this is the element to disable: https://github.com/openstack/octavia/blob/master/elements/no-resolvconf/finalise.d/99-disable-resolv-conf | 18:07 |
johnsom | But it can slow down some operations (boot, etc.) having it enabled | 18:08 |
sapd1_ | johnsom: visualize by grafana: https://imgur.com/a/B7ydth8 | 18:09 |
sapd1_ | I'm trying to collect from multi-process. | 18:09 |
johnsom | Yeah, nice graphs | 18:10 |
sapd1_ | johnsom: Ok, I will enable on running amphora. | 18:11 |
sapd1_ | It's working now :D | 18:12 |
sapd1_ | johnsom: I need finish boot from volume feature first. :( | 18:14 |
*** sapd1_ has quit IRC | 18:16 | |
*** fnaval has joined #openstack-lbaas | 18:20 | |
*** celebdor has joined #openstack-lbaas | 18:38 | |
*** abaindur has joined #openstack-lbaas | 18:40 | |
abaindur | johnsom: or rm_work: hey, discussing from last week... | 18:47 |
abaindur | You mentioned that in [certificates] section, "ca_certificate = server CA's "server.pem" file. Which file is this exactly? Perhaps my understanding of TLS/self-signed certs isn't complete, but as I understand, there is the CA's private key, and the CA's cert. From here a user can generate their own private key, then use the CA's cer to generate a client cert. | 18:47 |
abaindur | This is what I see the create_certificates.sh script creating: First private key for CA (private/cakey.pem), then the CA cert (ca_01.pem). It then generates a client key and client cert (client.pem), using the CA's cert to do so. | 18:48 |
abaindur | So in this case, what is 'ca_certificate = server CA's "server.pem"'? Is it not ca_01.pem, the CA's cert? | 18:48 |
abaindur | Forget about the whole client CA side of things, client_ca and client_cert, because I understand those (from a separate run of create_certificates.sh, i set client_ca = ca_01.pem, and client_cert = client.pem). | 18:50 |
abaindur | so basiclly... i'm still confused as to the difference between ca_certificate and server_ca. One is used to generate the amphora certs, the other is used to validate them. Seems like exactly the same thing from my basic knowledge of certs... wouldnt they both be ca_01.pem generated by the script? | 18:54 |
abaindur | devstack and other online examples set them to exact same thing as well | 18:55 |
johnsom | Give me 5 minutes or so, then I can chat for a bit | 18:55 |
abaindur | np | 18:55 |
johnsom | ok, reading | 19:03 |
johnsom | Let me try re-running that script and look at what I puts out. I didn't write it and it is auto-magic for me most of the time, so need to refresh my memory | 19:07 |
abaindur | [root@arjun octcerts2]# ls | 19:09 |
abaindur | ca_01.pem client.csr client.key client-.pem client.pem index.txt index.txt.attr index.txt.old newcerts private serial serial.old | 19:09 |
abaindur | [root@arjun octcerts2]# ls private/ | 19:09 |
abaindur | cakey.pem | 19:09 |
abaindur | client.pem is a certificate generated using the ca_01.pem, which is the x509 CA cert. and private/cakey.pem is the CA's private key | 19:10 |
abaindur | for server side of things, i think client.pem can be ignored - since the amp certificates are generated by octavia code and injected into the VM. To do this, "ca_certificate" is used here: https://github.com/openstack/octavia/blob/stable/queens/octavia/certificates/generator/local.py#L102 | 19:13 |
*** pcaruana has quit IRC | 19:13 | |
johnsom | Well, let's split things into two parts, client and server. | 19:15 |
johnsom | Client: | 19:15 |
johnsom | this is the mechanism the controllers uses to identify themselves to the amphora-agent. | 19:16 |
abaindur | clien_cert and client_ca... yep | 19:16 |
johnsom | I create a directory "client_ca" and run the script in that directory to create the "client side" certs/keys. | 19:16 |
abaindur | Yep did that. Ran script twice into separate output folders to simulate a different server and client CAs | 19:17 |
johnsom | each controller will need a "client.pem" file which has the cert and key appended to each other. | 19:17 |
abaindur | yes, Thats the client.pem file generated by that script. We set that to client_cert. | 19:18 |
johnsom | [haproxy_amphora] client_cert points to this "client.pem" file | 19:18 |
johnsom | [controller_worker] client_ca points to the "ca_01.pem" file from this directory | 19:18 |
abaindur | Yes, we have that. as mentioned the "Client" side of things is self explanatory | 19:19 |
johnsom | Ok, just working through it. | 19:19 |
johnsom | Server side | 19:19 |
johnsom | in the server directory, I run the same script | 19:19 |
johnsom | [haproxy_amphora] server_cert points to the "ca_01.pem" | 19:20 |
abaindur | thats not an option | 19:21 |
abaindur | did you mean, server_ca ? | 19:21 |
johnsom | Yes, I did, sorry | 19:21 |
abaindur | https://github.com/openstack/octavia/blob/stable/queens/octavia/common/config.py#L285 | 19:21 |
abaindur | kk | 19:22 |
johnsom | cut/paste error | 19:22 |
abaindur | ok yep... server_ca == /root/server/ca_01.pem | 19:22 |
johnsom | [certificates] ca_private_key = private/cakey.pem | 19:23 |
johnsom | [certificates] ca_certificate = ca_01.pem | 19:23 |
johnsom | I think. | 19:23 |
abaindur | right sooo thats what i had asked first. server_ca is the exact same as ca_certificate? | 19:24 |
abaindur | One is used to sign the amph server certs... the other is used to verify. They both seem to be ca_01.pem | 19:25 |
johnsom | Yes, I think it is in this case. If not it's ca_certificate = client.pem and ca_private_key = client.key, but I don't think that is the right answer. | 19:25 |
johnsom | Right | 19:25 |
abaindur | yea it doesnt seem to be client. here client is generated/signed *by* the CA cert. and octavia generates amp client certs separately in the code | 19:25 |
johnsom | Yeah, I think that would maker certs that have an intermediate CA, which we don't need here | 19:26 |
abaindur | johnsom: ok great so then seems we are in agreement. i was confused for longest time as to the difference between the two | 19:26 |
johnsom | This is certainly an area that could use improvement in Octavia. | 19:27 |
johnsom | And the darn detailed install guide that I never get time to work on.... | 19:27 |
abaindur | When the amphora certs expire (the server certs), Octavia will re-gen and take care of it all automatically, right? | 19:27 |
abaindur | Only thing we need to monitor for and re-gen, would be the "Client" side of things - the clien_cert and client CA | 19:28 |
johnsom | Yes, the housekeeping process has a thread that rotates those | 19:28 |
abaindur | And to do this, we need to basically admin shut the LB mgmt ports, to trigger a failover? | 19:28 |
johnsom | Right, there are some issues with rotating the controller side that I think are documented in the maintenance guide | 19:28 |
johnsom | https://docs.openstack.org/octavia/latest/admin/guides/operator-maintenance.html | 19:29 |
*** celebdor1 has joined #openstack-lbaas | 19:29 | |
johnsom | https://docs.openstack.org/octavia/latest/admin/guides/operator-maintenance.html#rotating-cryptographic-certificates | 19:29 |
johnsom | Depending on the version of Octavia you deployed, there are also "failover" APIs to trigger safe failovers | 19:30 |
johnsom | https://developer.openstack.org/api-ref/load-balancer/v2/index.html#failover-a-load-balancer and https://developer.openstack.org/api-ref/load-balancer/v2/index.html#failover-amphora | 19:30 |
*** celebdor has quit IRC | 19:31 | |
johnsom | I would like to have an "update amphora config" API, but no one has had time to contribute that either. | 19:33 |
*** ramishra has quit IRC | 19:38 | |
*** amuller has quit IRC | 19:45 | |
*** celebdor1 has quit IRC | 19:50 | |
abaindur | whats the difference between failover of a LB vs amphora? | 20:27 |
abaindur | johnsom: or would the diff only be when you have amphora in active active or standby configs? If SINGLE topology, is it fundamentally the same? | 20:27 |
abaindur | I guess the opeator maintenace doc suggests shutting the mgmt port. Is that a deprecated method now and the APIs above are preferred? https://docs.openstack.org/octavia/queens/admin/guides/operator-maintenance.html#rotate-an-amphora | 20:31 |
johnsom | Correct, if load balancer failover it sequences the active and standby failovers for you | 20:32 |
*** ktibi_ has quit IRC | 20:32 | |
openstackgerrit | German Eichberger proposed openstack/octavia master: Delete zombie amphora when detected https://review.openstack.org/587505 | 21:18 |
*** rcernin has joined #openstack-lbaas | 21:51 | |
*** fnaval has quit IRC | 22:21 | |
openstackgerrit | German Eichberger proposed openstack/octavia master: Delete zombie amphora when detected https://review.openstack.org/587505 | 22:40 |
*** celebdor1 has joined #openstack-lbaas | 22:45 | |
*** celebdor1 has quit IRC | 23:06 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!