*** cgoncalves has quit IRC | 00:00 | |
*** pbourke_ has quit IRC | 00:13 | |
*** pbourke_ has joined #openstack-lbaas | 00:13 | |
*** sapd1_ has joined #openstack-lbaas | 00:36 | |
*** PagliaccisCloud has quit IRC | 00:37 | |
*** sapd1_ has quit IRC | 00:44 | |
*** sapd1_ has joined #openstack-lbaas | 01:07 | |
*** sapd1_ has quit IRC | 01:19 | |
*** hongbin has quit IRC | 01:45 | |
*** PagliaccisCloud has joined #openstack-lbaas | 01:49 | |
*** yamamoto has quit IRC | 01:50 | |
*** sapd1_ has joined #openstack-lbaas | 01:50 | |
*** yamamoto has joined #openstack-lbaas | 01:53 | |
*** yamamoto has quit IRC | 01:53 | |
*** yamamoto has joined #openstack-lbaas | 01:56 | |
*** yamamoto has quit IRC | 01:56 | |
*** yamamoto has joined #openstack-lbaas | 01:57 | |
*** yamamoto has quit IRC | 02:05 | |
openstackgerrit | Yang JianFeng proposed openstack/octavia master: Add listener and pool protocol validation https://review.openstack.org/594040 | 02:17 |
---|---|---|
*** yamamoto has joined #openstack-lbaas | 02:39 | |
*** yamamoto has quit IRC | 02:46 | |
*** yamamoto has joined #openstack-lbaas | 02:50 | |
*** hongbin has joined #openstack-lbaas | 03:05 | |
*** hongbin has quit IRC | 04:00 | |
*** ramishra has joined #openstack-lbaas | 04:34 | |
*** sapd1_ has quit IRC | 05:05 | |
*** sapd1_ has joined #openstack-lbaas | 05:18 | |
*** sapd1_ has quit IRC | 05:23 | |
*** khomesh has joined #openstack-lbaas | 05:24 | |
*** abaindur has joined #openstack-lbaas | 05:35 | |
*** yamamoto has quit IRC | 05:36 | |
*** yamamoto has joined #openstack-lbaas | 05:39 | |
*** yamamoto has quit IRC | 05:44 | |
*** sapd1_ has joined #openstack-lbaas | 06:03 | |
*** zufar has joined #openstack-lbaas | 06:17 | |
zufar | Hello all, it is possible to deploy octavia on multi master node on openstack? | 06:18 |
*** yamamoto has joined #openstack-lbaas | 06:37 | |
*** yamamoto has quit IRC | 06:42 | |
*** sapd1_ has quit IRC | 06:48 | |
*** sapd__ has joined #openstack-lbaas | 06:48 | |
johnsom | zufar: what do you mean by multi master? | 06:54 |
johnsom | The control plane processes are all HA capable and the amphora can run in active/standby mode. | 06:55 |
*** sapd__ has quit IRC | 06:55 | |
zufar | im sorry, not multi master, but multi controller node. | 07:04 |
zufar | I am following this tutorial (https://lingxiankong.github.io/2016-06-07-octavia-deployment-prerequisites.html) for creating lb-mgmt-net that controller need to talk to amphora instance. I have testing in single controller, but still confusing with multi controller node. | 07:08 |
*** numans has joined #openstack-lbaas | 07:10 | |
zufar | which controller node need to create ovs port? | 07:10 |
johnsom | Ok, all of the controller processes; worker, health manager, housekeeping, and API can be deployed on multiple hosts without issue. | 07:11 |
johnsom | Worker, health, and housekeeping will need access to the lb-mgmt-net | 07:12 |
*** yamamoto has joined #openstack-lbaas | 07:12 | |
zufar | So if i have 3 controller node, i need to create 3 neutron-port from `lb-mgmt-net` and attach the port into controller (1 neutron port/controller)? | 07:12 |
johnsom | Yes, that would work | 07:16 |
*** rcernin has quit IRC | 07:23 | |
zufar | thank you, but how i fill the octavia configuration, especially [health_manager] bind_ip? | 07:27 |
zufar | because i have 3 ip address from the port | 07:27 |
*** ccamposr has joined #openstack-lbaas | 07:28 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/octavia-dashboard master: Imported Translations from Zanata https://review.openstack.org/624008 | 07:54 |
*** abaindur has quit IRC | 08:03 | |
openstackgerrit | Yang JianFeng proposed openstack/octavia master: Add listener and pool protocol validation https://review.openstack.org/594040 | 08:19 |
*** velizarx has joined #openstack-lbaas | 08:23 | |
*** rpittau has joined #openstack-lbaas | 08:27 | |
*** abaindur has joined #openstack-lbaas | 08:32 | |
*** yboaron has quit IRC | 08:36 | |
zufar | Hi Johnsom, I want to ask about nova keypair. how about the certificate? should i generate from 1 controller node and copy to other node? | 08:39 |
zufar | *other controller node | 08:39 |
zufar | or generating each controller node? | 08:39 |
*** yamamoto has quit IRC | 08:47 | |
openstackgerrit | Jacky Hu proposed openstack/octavia master: Allow release id to be specified with fedora https://review.openstack.org/624020 | 08:52 |
*** yamamoto has joined #openstack-lbaas | 09:17 | |
*** gcheresh has joined #openstack-lbaas | 09:35 | |
*** abaindur has quit IRC | 09:47 | |
*** yboaron has joined #openstack-lbaas | 09:49 | |
*** sapd1_ has joined #openstack-lbaas | 09:54 | |
*** yamamoto has quit IRC | 09:58 | |
*** yboaron_ has joined #openstack-lbaas | 10:04 | |
*** sapd1_ has quit IRC | 10:06 | |
*** yboaron has quit IRC | 10:07 | |
*** salmankhan has joined #openstack-lbaas | 10:15 | |
*** jarodwl has quit IRC | 10:25 | |
*** cgoncalves has joined #openstack-lbaas | 10:27 | |
*** yamamoto has joined #openstack-lbaas | 10:31 | |
*** yamamoto has quit IRC | 10:39 | |
*** cgoncalves has quit IRC | 10:40 | |
*** yboaron_ has quit IRC | 10:41 | |
*** yboaron_ has joined #openstack-lbaas | 10:41 | |
*** cgoncalves has joined #openstack-lbaas | 10:42 | |
*** sapd1_ has joined #openstack-lbaas | 10:52 | |
*** yamamoto has joined #openstack-lbaas | 10:53 | |
*** sapd1_ has quit IRC | 10:58 | |
*** velizarx has quit IRC | 11:01 | |
*** velizarx has joined #openstack-lbaas | 11:03 | |
*** pbourke_ has quit IRC | 11:05 | |
*** pbourke_ has joined #openstack-lbaas | 11:08 | |
*** zufar has quit IRC | 11:23 | |
*** dayou_ has quit IRC | 11:34 | |
*** brtknr has joined #openstack-lbaas | 11:38 | |
brtknr | hey all, im trying to setup neutron lbaas for a kubernetes service deployed using Magnum | 11:38 |
brtknr | my kube-controller-manager is complaining with this error: http://paste.openstack.org/show/736864/ | 11:39 |
*** sapd1_ has joined #openstack-lbaas | 11:39 | |
brtknr | anyone have any experience with this? | 11:39 |
*** sapd1_ has quit IRC | 11:43 | |
*** dayou has joined #openstack-lbaas | 11:43 | |
*** yamamoto has quit IRC | 11:47 | |
*** yamamoto has joined #openstack-lbaas | 11:47 | |
*** dayou has quit IRC | 11:51 | |
*** dayou has joined #openstack-lbaas | 11:58 | |
*** yamamoto has quit IRC | 12:04 | |
brtknr | what is the extent of lbaas support from kubernetes via cloud-provider=openstack? | 12:05 |
*** yamamoto has joined #openstack-lbaas | 12:16 | |
sapd1 | Hi guys. I can't create loadbalancer with terminated https on rocky version. | 12:21 |
sapd1 | my boby API: {"loadbalancer":{"name":"saaaa","description":"","network_type":"external","listeners":[{"name":"Default Listener","protocol":"TERMINATED_HTTPS","protocol_port":443,"default_pool":{"session_persistence":{},"lb_algorithm":"ROUND_ROBIN","name":"Default","protocol":"HTTP","members":[{"address":"10.6.169.73","name":"test-network-qos-policy-default","protocol_port":80,"weight":1,"network_name":"priv_vultr@vccloud.vn"}],"healthmonitor":{"type" | 12:21 |
sapd1 | :"","max_retries":3,"max_retries_down":3,"delay":5,"timeout":5}},"default_tls_container_ref":"https://barbican_api:9311/v1/containers/afa60020-fb2e-4527-8a44-4387538cec5b"}],"type":"small"}} | 12:21 |
sapd1 | I receiver 400 bad request from API | 12:21 |
sapd1 | { | 12:22 |
sapd1 | "message": "Could not retrieve certificate: ['https:/barbican_api:9311/v1/containers/afa60020-fb2e-4527-8a44-4387538cec5b'] (HTTP 400) (Request-ID: req-f8014c65-c726-481b-bf85-f7be11878d11)"} | 12:22 |
*** yamamoto has quit IRC | 12:22 | |
*** salmankhan has quit IRC | 12:24 | |
*** salmankhan has joined #openstack-lbaas | 12:31 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia master: Support remote debugging with PyDev https://review.openstack.org/619944 | 12:32 |
*** dayou has quit IRC | 12:32 | |
sapd1 | cannot create listener with tls certificate | 12:33 |
*** dayou has joined #openstack-lbaas | 12:34 | |
cgoncalves | sapd1, check the logs between Octavia and Barbican | 12:53 |
*** dayou has quit IRC | 13:01 | |
jiteka | sapd1: looks like missing ACLs | 13:12 |
*** dayou has joined #openstack-lbaas | 13:17 | |
*** sapd1_ has joined #openstack-lbaas | 13:32 | |
*** sapd1_ has quit IRC | 13:36 | |
*** aojea_ has joined #openstack-lbaas | 13:48 | |
*** aojea_ has quit IRC | 14:06 | |
*** openstackstatus has joined #openstack-lbaas | 14:18 | |
*** ChanServ sets mode: +v openstackstatus | 14:18 | |
cgoncalves | jiteka, starting from Rocky, Octavia sets up ACLs on behalf of the user -- https://review.openstack.org/#/c/552549/ | 14:36 |
*** velizarx has quit IRC | 14:40 | |
*** aojea_ has joined #openstack-lbaas | 14:43 | |
jiteka | cgoncalves: hmm I think I remember that from last project update at Berlin yes | 14:44 |
jiteka | cgoncalves: but when I tried that scenario, that feature wasn't included yet | 14:44 |
jiteka | rm_work: cgoncalves: that's a great improvement btw, thanks :) | 14:45 |
*** aojea_ has quit IRC | 14:48 | |
cgoncalves | :) | 14:49 |
*** sapd1_ has joined #openstack-lbaas | 14:51 | |
*** velizarx has joined #openstack-lbaas | 14:54 | |
*** KeithMnemonic has joined #openstack-lbaas | 14:54 | |
*** yboaron_ has quit IRC | 15:01 | |
*** yboaron_ has joined #openstack-lbaas | 15:02 | |
openstackgerrit | Merged openstack/octavia-dashboard master: Imported Translations from Zanata https://review.openstack.org/624008 | 15:03 |
*** KeithMnemonic has quit IRC | 15:10 | |
*** salmankhan1 has joined #openstack-lbaas | 15:11 | |
*** salmankhan has quit IRC | 15:12 | |
*** salmankhan1 is now known as salmankhan | 15:12 | |
pbourke_ | anyone around that's using octavia in a multinode environment that could give some tips on configuring lb-mgmt-net routing? | 15:39 |
*** gcheresh has quit IRC | 15:57 | |
*** yboaron_ has quit IRC | 16:06 | |
*** yboaron_ has joined #openstack-lbaas | 16:07 | |
johnsom | pbourke_ Hi, what is your question? | 16:13 |
*** gcheresh_ has joined #openstack-lbaas | 16:31 | |
pbourke_ | johnsom: the overall process of hooking up the control plane to lb-mgmt-net is confusing me big time. Most answers seem to boil down to the ovs-vsctl add-port command seen at https://github.com/openstack/octavia/blob/master/devstack/plugin.sh#L361 | 16:34 |
*** ccamposr has quit IRC | 16:35 | |
pbourke_ | but nothing I've tried so far has resulted in the amphorae being pingable, I wonder if I'm missing something more basic | 16:35 |
*** openstackgerrit has quit IRC | 16:35 | |
johnsom | pbourke_ Well, by default ICMP ping is not enabled for the amphora. This is blocked by security groups, so might not be the best test. | 16:36 |
pbourke_ | true, though I have this open from the sec group. I can ping the amphorae from within the router namespace | 16:36 |
pbourke_ | its just getting at it from outside the namespace where octavia_worker is running is the issue | 16:36 |
johnsom | the lb-mgmt-net is simply a neutron network that the amphora are attached to at boot time. It is used for command and control. The control plane processes send requests to the amphora on TCP 9443 and the amphora send back heartbeats on UDP 5555 to the health manager. | 16:37 |
johnsom | Ok. | 16:37 |
johnsom | There are a number of ways to set this up, but the ovs port option is the one we use in devstack and I think tripleo. OSA uses a provider network. | 16:38 |
pbourke_ | I thought about going the provider network route | 16:38 |
pbourke_ | but booting vms directly on a provider network is something that doens't seem to be commonly done, there's some other trickery needed to get that working | 16:38 |
johnsom | So, let's take a look at your port. can you do an "ip a" and "ip link" and paste the lb-mgmt-net port info from a controller? | 16:38 |
pbourke_ | johnsom: here's an overview of what I've tried so far along with the output from various commands http://lists.openstack.org/pipermail/openstack-discuss/2018-December/000725.html | 16:39 |
johnsom | Ok, give me a few minutes to catch up there. I was out of the office on Friday so haven't caught up on e-mail yet. | 16:40 |
pbourke_ | johnsom: sure thing, I really appreciate any input on it as I've been looking at this a few days now without much luck! | 16:41 |
*** gcheresh_ has quit IRC | 16:43 | |
*** yboaron_ has quit IRC | 16:46 | |
johnsom | pbourke_ Ok, let's look at the port on the host. Can you paste me the output of "ip a" and "ip link" for o-hm0? | 16:47 |
johnsom | As it is now | 16:47 |
*** zufar has joined #openstack-lbaas | 16:52 | |
*** yamamoto has joined #openstack-lbaas | 16:55 | |
zufar | Hi im running octavia, but when try to create lb service, i got error in worker.log, ERROR octavia.controller.worker.controller_worker Error: [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')] | 16:58 |
zufar | anyone know what is happen? im using 3 octavia node, I think the problem is in certificate, because I am generating each server. | 16:58 |
*** yamamoto has quit IRC | 16:59 | |
johnsom | zufar That means your controller certificate file is bad or the wrong form. Check this document for detailed steps on how to setup the certificates and install them. https://review.openstack.org/#/c/609760/ | 16:59 |
johnsom | Also note, the certificates should be copied to each instance of your control plane (they should share the same certs here). | 17:00 |
johnsom | The details of that error is that the "-----BEGIN CERTIFICATE-----" is missing from the certificate file. | 17:01 |
zufar | So, the control plane have same certs right? | 17:02 |
zufar | maybe this is the problem, I am generating with script in each control plane | 17:02 |
*** rpittau has quit IRC | 17:03 | |
pbourke_ | johnsom: sure, one moment | 17:03 |
johnsom | zufar Yep, that might be the issue, but I don't think so as this is an error that the file is bad in general | 17:04 |
zufar | but i have no problem when using my step in single node controller (i am installing octavia in this) | 17:07 |
cgoncalves | pbourke_, outputs of ip o-hm0, ovs-vsctl show and ovs dumpflow would help troubleshooting | 17:12 |
cgoncalves | openstack network show lb-mgmt-net too | 17:13 |
pbourke_ | cgoncalves: can do, but I think I'm missing steps. Whats in devstack is fine for one node | 17:13 |
pbourke_ | in the follow up mail on the ML a guy says he had to add o-hm0 into the namespace, and assign it an ip | 17:13 |
cgoncalves | pbourke_, by one node you mean all-in-node deployment? | 17:13 |
johnsom | pbourke_ It works the same across multiple nodes | 17:13 |
pbourke_ | Im just bringing up a fresh deployment so I can paste more accurate output | 17:14 |
*** khomesh has quit IRC | 17:18 | |
pbourke_ | johnsom: cgoncalves: http://paste.openstack.org/show/736915/ | 17:26 |
pbourke_ | so far I've created the neutron port and the ovs port | 17:26 |
*** PagliaccisCloud has quit IRC | 17:26 | |
johnsom | pbourke_ I would not add that tag parameter, it should figure that out from the neutron network | 17:27 |
cgoncalves | pbourke_, you're setting tag=2 but ovs-vsctl shows tag=4095 | 17:27 |
pbourke_ | ok, let me try without the tag | 17:27 |
pbourke_ | also, I have two network nodes - only one has the router namespace | 17:28 |
pbourke_ | does it matter which I add the port on? | 17:28 |
cgoncalves | yeah, you shouldn't. ovs should pick whichever tag lb-mgmt-net uses | 17:28 |
johnsom | Can you do "openstack subnet list | grep lb-mgmt-net"? | 17:28 |
johnsom | So this port is only added on the Octavia controller hosts. Using the OVS approach assumes neutron extended to those hosts. | 17:29 |
pbourke_ | johnsom: http://paste.openstack.org/show/736916/ | 17:30 |
johnsom | Ok, and the openstack port create command you ran? | 17:31 |
johnsom | As well as a port show for that | 17:31 |
pbourke_ | http://paste.openstack.org/show/736918/ | 17:31 |
*** velizarx has quit IRC | 17:33 | |
cgoncalves | binding_vif_type | binding_failed | 17:33 |
johnsom | Yeah, is "operator-upstream" the host your octavia install is on? | 17:33 |
*** openstackgerrit has joined #openstack-lbaas | 17:33 | |
openstackgerrit | Merged openstack/octavia master: Allow release id to be specified with fedora https://review.openstack.org/624020 | 17:33 |
pbourke_ | johnsom: operator-upstream is just the host I have my clients on | 17:34 |
pbourke_ | johnsom: then I have 1xcompute, 3xcontrol, 2xnetwork | 17:34 |
pbourke_ | maybe I should take out the --host | 17:34 |
johnsom | pbourke_ Ok, there is a problem. you asked neutron to create the neutron port on "$(hostname)" | 17:34 |
johnsom | It should be your Octavia host | 17:34 |
cgoncalves | +1 | 17:35 |
pbourke_ | ah | 17:35 |
pbourke_ | which is the octavia host though, do I pick one of the controls? | 17:35 |
johnsom | That tells neutron to extend the lb-mgmt-net over to that host and to create the port on that host in OVS | 17:35 |
pbourke_ | or can I just leave this arg out | 17:35 |
johnsom | No, it is critical | 17:35 |
johnsom | Otherwise neutron doesn't know where to setup OVS | 17:36 |
cgoncalves | you also have to create such port for each controller nodes | 17:36 |
pbourke_ | so I should use one of the network nodes? | 17:36 |
cgoncalves | if o-{cw,hm,hk} services run in network nodes, yes. create a port per network node | 17:37 |
johnsom | It doesn't have to be a full network node, but neutron needs to be present there | 17:37 |
pbourke_ | cgoncalves: these run on the control nodes | 17:37 |
rm_work | zufar: did you figure out the health-manager ip config? | 17:38 |
pbourke_ | so if I create a port per controller, do I also have to create a corresponding ovs port for each? | 17:38 |
rm_work | johnsom: ugh, this multi-subnet thing is T_T | 17:38 |
rm_work | I may need to rewrite that section | 17:39 |
johnsom | rm_work Yes... Another big issue with the network driver.... | 17:39 |
rm_work | hey, i'm back on the normal network driver! :P | 17:39 |
johnsom | Sorry? | 17:39 |
johnsom | lol | 17:39 |
cgoncalves | ha! | 17:40 |
rm_work | :P | 17:42 |
zufar | hi pbrourke_, sorry for late response | 17:44 |
rm_work | trying to figure out if https://review.openstack.org/#/c/611460/ is relevant or not | 17:44 |
zufar | hi johnsom, its work, i am using single cert and copy to all octavia node. | 17:45 |
zufar | now my lbaas is working. | 17:45 |
pbourke_ | cgoncalves: johnsom: if I create a port using --host control01-upstream, its still binding failed. Using a network node seems to work | 17:45 |
zufar | to create neutron port, i am following this guide, https://lingxiankong.github.io/2016-06-07-octavia-deployment-prerequisites.html | 17:45 |
johnsom | Sounds like the neutron agent isn't on control01-upstream | 17:46 |
pbourke_ | in a standard openstack layout it generally isn't | 17:46 |
johnsom | Yeah, agreed. But using the OVS method you need neutron there to extend the network over and configure OVS | 17:47 |
pbourke_ | maybe it sounds like I need to deploy o-{cw,hm,hk} on the network nodes | 17:47 |
zufar | for health_manager ip address, if you install octavia in many node, use 127.0.0.1 | 17:47 |
rm_work | johnsom: so, do you think I can change the CalculateAmphoraDelta to return a larger list of stuff (filtering by unique subnet, not network) and that should be OK? | 17:48 |
*** zufar has quit IRC | 17:49 | |
johnsom | rm_work I'm not sure, it's been a while since I looked at that stuff. I know that whoever wrote it made a ton of assumptions about networks vs. subnets that aren't necessarily valid. | 17:49 |
rm_work | yeah... i'm gonna try | 17:58 |
jiteka | hey rm_work, got a question about https://review.openstack.org/#/c/558962/ to make sure I understood it correctly | 18:01 |
jiteka | It allows generating amphora on multiple availability zone but not on multiple region (on nova terminology) righyt ? | 18:01 |
xgerman | ha, I wrote an initoial version many years ago… but so many changes... | 18:02 |
rm_work | yeah, regions are ... different | 18:02 |
jiteka | rm_work: thanks | 18:04 |
pbourke_ | johnsom: I redeployed the octavia services to be on the network nodes | 18:15 |
pbourke_ | created the neutron port on the first network node, and added the ovs port | 18:16 |
openstackgerrit | Swaminathan Vasudevan proposed openstack/neutron-lbaas stable/pike: Improve speed of listing from DB https://review.openstack.org/624152 | 18:18 |
pbourke_ | added the ip from the neutron port to o-hm0 | 18:18 |
pbourke_ | and the mac | 18:18 |
pbourke_ | still no luck pinging outside of the namespace though | 18:19 |
rm_work | johnsom: this is a really bad bug, not sure why more people haven't run into this | 18:19 |
rm_work | i guess member subnets tend to be on unique networks? | 18:19 |
rm_work | it's a glaringly obvious issue in devstack though, where the default setup is ipv6 and ipv4 on the same network | 18:20 |
rm_work | is the statement "a neutron subnet will be ONE OF: ipv4, ipv6" true? | 18:20 |
rm_work | trying not to start with my own equally bad assumptions | 18:22 |
*** sapd1_ has quit IRC | 18:24 | |
openstackgerrit | Swaminathan Vasudevan proposed openstack/neutron-lbaas stable/ocata: Remove unnecessary lazy-loaded queries https://review.openstack.org/624158 | 18:34 |
*** PagliaccisCloud has joined #openstack-lbaas | 18:34 | |
*** salmankhan has quit IRC | 18:36 | |
openstackgerrit | Swaminathan Vasudevan proposed openstack/neutron-lbaas stable/ocata: Improve speed of listing from DB https://review.openstack.org/624160 | 18:43 |
sapd1 | cgoncalves: jiteka I have checked. There is no error log in octavia-api and barbican. I have reverted code to queens, and It's working now. | 18:48 |
sapd1 | Does anyone try to create load balancer with ssl certificate on rocky version. | 18:48 |
*** sapd1_ has joined #openstack-lbaas | 18:51 | |
*** sapd1_ has quit IRC | 18:55 | |
sapd1 | pbourke_: Could you get dhcp for o-hm0 port? | 18:56 |
*** sapd1_ has joined #openstack-lbaas | 18:58 | |
johnsom | rm_work According to this it is 4 or 6 only: https://developer.openstack.org/api-ref/network/v2/index.html?expanded=create-subnet-detail#id215 | 19:02 |
rm_work | k | 19:03 |
johnsom | rm_work Just don't forget that a network can have lots of subnets of each type.... | 19:03 |
rm_work | yes | 19:09 |
rm_work | we need to plug each and every subnet | 19:09 |
johnsom | Well, only if they are asked for.... Otherwise we are just wasting IPs | 19:15 |
rm_work | errrr | 19:17 |
rm_work | each and every subnet that's used on the lb | 19:17 |
rm_work | not all of them that exist in neutron | 19:17 |
rm_work | obviously :P | 19:17 |
johnsom | Just checking.... | 19:17 |
rm_work | https://www.youtube.com/watch?v=F1xAUfdK9FE | 19:22 |
johnsom | lol, nicely done | 19:23 |
johnsom | Ok, a-rebasing I go, sorry for the spam | 19:23 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add amphora statistics to the admin API https://review.openstack.org/585031 | 19:23 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add flavor, flavor_profile table and their APIs https://review.openstack.org/486499 | 19:23 |
rm_work | eugh.... "amp_boot_network_list" .... | 19:27 |
*** PagliaccisCloud has quit IRC | 19:27 | |
rm_work | we just pick the first subnet from them AFAICT? | 19:27 |
*** aojea has joined #openstack-lbaas | 19:27 | |
rm_work | should be "amp_boot_subnet_list" >_> | 19:28 |
rm_work | FML | 19:28 |
johnsom | That was a RAX thing before my time. I still have no idea *why* it is useful to be a list | 19:28 |
sapd1 | $$ | 19:28 |
rm_work | i love in the tests for stuff where we make comments like "I guess we call this 3 times? not sure why" | 19:30 |
rm_work | (the best part is when it's me) | 19:30 |
rm_work | https://github.com/openstack/octavia/blob/master/octavia/tests/unit/controller/worker/tasks/test_network_tasks.py#L133 | 19:32 |
*** aojea has quit IRC | 19:33 | |
*** aojea_ has joined #openstack-lbaas | 19:33 | |
johnsom | My meme game is not up to standard, couldn't find any good "bring sanity" content | 19:38 |
rm_work | I would have accepted: http://1.bp.blogspot.com/-1WRy_Hq-s9U/VECCt0n0ixI/AAAAAAAAAyk/pFJyS6FhEJI/s1600/Jackie-Chan-Meme-Template.jpg | 19:44 |
rm_work | but now i think i see why | 19:47 |
rm_work | this test is bunk | 19:47 |
xgerman | johnsom: the idea of the network list was that neutron crapped out when you had more than 100 ports on a network and hence multiple were needed for big installations | 19:47 |
rm_work | err though that's not how it was used xgerman, if that's the case | 19:48 |
rm_work | we plug every network from the list | 19:48 |
johnsom | xgerman Yeah, but the way that list is setup it would actually make that worse | 19:48 |
xgerman | yeah, implementation error | 19:48 |
* rm_work dies | 19:48 | |
xgerman | the only reason you would plug multiple nets is if you are concerned about redundancy/HA | 19:49 |
rm_work | should we just retire this? >_> | 19:50 |
rm_work | I can add "amp_boot_subnet" <_< | 19:50 |
rm_work | and deprecate this | 19:50 |
xgerman | +1 | 19:50 |
rm_work | do you think there's any problem switching to subnet? | 19:50 |
rm_work | oh, yeah, rax | 19:50 |
rm_work | lol | 19:50 |
rm_work | or anyone using a provider network | 19:51 |
rm_work | hmm | 19:51 |
rm_work | not that RAX runs this on their public cloud (which ... does or doesn't still exist?) | 19:51 |
johnsom | Does still exist, but no is not running this | 19:52 |
rm_work | but I think it would affect anyone using a provider network for the management net | 19:52 |
*** abaindur has joined #openstack-lbaas | 19:53 | |
xgerman | my provider ntes have subnets | 19:53 |
xgerman | so would be fine ;-) | 19:53 |
*** aojea_ has quit IRC | 19:54 | |
rm_work | hmm | 19:57 |
*** abaindur has quit IRC | 19:58 | |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add flavor, flavor_profile table and their APIs https://review.openstack.org/486499 | 20:00 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add flavors/flavor_profile api-ref https://review.openstack.org/618322 | 20:00 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Adds flavor support to the amphora driver https://review.openstack.org/621323 | 20:01 |
*** salmankhan has joined #openstack-lbaas | 20:01 | |
*** aojea has joined #openstack-lbaas | 20:04 | |
*** salmankhan has quit IRC | 20:06 | |
rm_work | wtf, on my old laptop, pycharm let me run specific class/method unittests | 20:23 |
rm_work | https://i.stack.imgur.com/7mEl6.png like that | 20:23 |
rm_work | new pycharm install on new laptop, unittests only let me specify a script, so it's forcing me to run everything.... grrr | 20:24 |
sapd1 | Does flavor profile support nova flavor ? | 20:27 |
johnsom | it will | 20:27 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add provider driver capabilities API https://review.openstack.org/624190 | 20:27 |
sapd1 | :D | 20:28 |
johnsom | sapd1 The first capability I am implementing is topology, but the others will follow on. I'm just finishing the base flavor support now. | 20:29 |
sapd1 | I have read your patch. It does not support now :D | 20:29 |
sapd1 | great | 20:29 |
johnsom | Yeah, we will work through them once the base is in place. I don't want to overload reviewers with "all features now"... grin | 20:29 |
sapd1 | i'm Looking for this feature | 20:29 |
johnsom | But should make Stein | 20:29 |
jiteka | I was doing some testing on adding external IP as new pool member for existing LB and was curious about something | 20:30 |
jiteka | From what I remember, amphoras are getting their route from the management subnet they are created on but is it possible to update these routes when adding a new member ? | 20:30 |
jiteka | I didn't looked at the logic yet but, I guess that --subnet-id is here ot do that update ? what about IP that doesn't belong to any neutron subnet in my deployement | 20:30 |
johnsom | jiteka Tenant traffic is isolated in a network namespace and can't see the management network or routes. | 20:30 |
johnsom | When you plug a VIP we plug that into the namespace. It gets all of the routes neutron provides, including the host routes. Same with the members. So yes, we accept IPs that are not members of a neutron network, such as google.com. As long as the subnet plugged has a route (could be default) it will go out to google.com | 20:32 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add provider driver capabilities API https://review.openstack.org/624190 | 20:33 |
jiteka | johnsom: ok that confirm what I had in mind | 20:33 |
jiteka | johnsom: routes only come from subnet used to create the LB or member subnet provided as optional arg when creating a new member for an existing pool | 20:34 |
johnsom | Right, if no subnet is provided, the VIP subnet is used | 20:35 |
jiteka | johnsom: thanks for the help | 20:39 |
johnsom | Sure, no problem | 20:39 |
rm_work | wow, i may have to go back to pycharm 2016 <_< | 20:40 |
rm_work | looks like they removed the ability to run only specific tests O_o | 20:41 |
*** aojea has quit IRC | 20:42 | |
*** aojea has joined #openstack-lbaas | 20:44 | |
*** yamamoto has joined #openstack-lbaas | 20:57 | |
*** yamamoto has quit IRC | 21:01 | |
*** salmankhan has joined #openstack-lbaas | 21:04 | |
*** cgoncalves has quit IRC | 21:10 | |
*** cgoncalves has joined #openstack-lbaas | 21:11 | |
*** yboaron_ has joined #openstack-lbaas | 21:12 | |
*** sapd1_ has quit IRC | 21:21 | |
*** sapd1_ has joined #openstack-lbaas | 21:24 | |
*** yboaron_ has quit IRC | 21:24 | |
*** aojea has quit IRC | 21:28 | |
*** aojea_ has joined #openstack-lbaas | 21:28 | |
*** salmankhan has quit IRC | 21:36 | |
*** sapd1_ has quit IRC | 21:58 | |
*** sapd1_ has joined #openstack-lbaas | 22:03 | |
*** sapd1_ has quit IRC | 22:07 | |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Add provider driver capabilities API https://review.openstack.org/624190 | 22:28 |
*** aojea_ has quit IRC | 22:33 | |
openstackgerrit | Swaminathan Vasudevan proposed openstack/neutron-lbaas stable/pike: Updated "create_pool" method in plugin https://review.openstack.org/624225 | 22:42 |
*** rcernin has joined #openstack-lbaas | 22:59 | |
rm_work | johnsom: ugh but, a single port can have multiple fixed-ips and thus multiple subnets <_< | 23:24 |
rm_work | so network_id for a port is top-level, but subnet_id can exist multiple times | 23:25 |
johnsom | Correct | 23:25 |
rm_work | but we would really just add another port for an additional subnet, RIGHT? | 23:26 |
rm_work | we wouldn't want to add an additional fixed-ip to an existing port just because it shares the network? | 23:26 |
rm_work | or would we? | 23:26 |
rm_work | ugh that would be a mess tho | 23:26 |
johnsom | We should not add more ports, we should just do the subnets | 23:27 |
rm_work | so, if an additional subnet exists on an already plugged network, we need to add an additional subnet/fixed-ip to that existing port? | 23:27 |
johnsom | Correct | 23:27 |
johnsom | There should be one port per network, one or more subnet per port | 23:27 |
rm_work | IE, plug member1 and member2, member1 is network ABCD and subnet 1234, member2 is network ABCD and subnet 5678 | 23:28 |
johnsom | Right | 23:28 |
rm_work | so our delta is: plug network ABCD with subnet 1234, and then add subnet 5678 | 23:28 |
rm_work | augh tho | 23:28 |
rm_work | that's going to be such a PITA | 23:28 |
rm_work | aight | 23:28 |
rm_work | ugh this is a mess | 23:32 |
johnsom | Two potential pitfalls to watch out for: | 23:34 |
johnsom | 1. DHCP subnets mixed with fixed IP subnets gets tricky when they are on the same port in linux. | 23:34 |
johnsom | 2. Watch out for multiple default gateways being added. | 23:34 |
rm_work | so we don't even explicitly create the port on a subnet | 23:34 |
rm_work | wtf | 23:34 |
rm_work | we just tell nova | 23:34 |
johnsom | port == network | 23:34 |
rm_work | "please attach this compute to this network_id" | 23:34 |
rm_work | from what I can tell, we don't create the port tho | 23:35 |
rm_work | this is weird | 23:35 |
johnsom | https://github.com/openstack/octavia/blob/master/octavia/network/drivers/neutron/allowed_address_pairs.py#L93 | 23:36 |
rm_work | ummm | 23:36 |
rm_work | i'm looking at calculateDeltas and then handleDeltas | 23:36 |
rm_work | which are back to back in the flow | 23:37 |
rm_work | calculate just makes a list of network_ids | 23:37 |
johnsom | We create those too | 23:37 |
rm_work | and handle calls nova to plug with the compute_id and network_id | 23:37 |
rm_work | https://github.com/openstack/octavia/blob/master/octavia/network/drivers/neutron/allowed_address_pairs.py#L481 | 23:38 |
rm_work | then to: | 23:38 |
rm_work | https://github.com/openstack/octavia/blob/master/octavia/compute/drivers/nova_driver.py#L299 | 23:39 |
rm_work | so the call *takes* a port_id, but we didn't pass one | 23:39 |
johnsom | hmmm, yeah, I see what you see | 23:39 |
rm_work | so i'm not seeing how we create the port | 23:40 |
rm_work | we tell nova "hey plug this network" and it makes a port for us | 23:40 |
rm_work | I think? | 23:40 |
rm_work | which is super weird because it's *nova*, not neutron | 23:40 |
johnsom | Dang it, I wrote a bad test... argh. now to figure out how/where | 23:40 |
rm_work | later we get the port_id from the returned interface | 23:40 |
rm_work | in this case i have no idea how it's even deciding which subnet to provision with | 23:41 |
rm_work | we may just be getting lucky and nova prioritizes ipv4 subnets? | 23:41 |
rm_work | and no one tried ipv6? lol | 23:41 |
rm_work | interface_attach() doesn't even take a subnet_id | 23:43 |
johnsom | Well, my patches test with ipv6, but I think I had to tell it to plug *all* subnets | 23:43 |
rm_work | <_< | 23:43 |
johnsom | Just a second, I have to jump into my way-back machine a month or two | 23:44 |
johnsom | This patch: https://review.openstack.org/#/c/611460/ | 23:44 |
rm_work | k... because my ipv6 testing is showing that right right subnets don't usually get plugged :/ | 23:44 |
rm_work | ahh | 23:44 |
rm_work | yeah | 23:44 |
rm_work | i was just commenting on that yesterday | 23:45 |
rm_work | err, friday | 23:45 |
johnsom | You know, a patch from October.... | 23:45 |
rm_work | ok so | 23:45 |
rm_work | instead of trying to deal with subnets | 23:45 |
rm_work | we just .... bring up *all of them all the time*?:= | 23:45 |
rm_work | i guess that's simpler >_> | 23:45 |
*** yamamoto has joined #openstack-lbaas | 23:45 | |
rm_work | but this is inside the amp -- do we not need to deal with it at the neutron/nova level? | 23:46 |
rm_work | we don't have to tell neutron to allow the port to have an additional subnet? | 23:46 |
johnsom | It is not the *right* answer, it is the make-it-work answer | 23:46 |
rm_work | this changes the network files we set up inside the amp, but | 23:47 |
rm_work | neutron still won't have multiple subnets on the port? | 23:47 |
rm_work | it's basing this on "fixed_ips", what defines that? wouldn't the IPs have to be issued from neutron / dhcp? | 23:48 |
openstackgerrit | Adam Harwell proposed openstack/octavia master: Bring up secondary IPs on member networks https://review.openstack.org/611460 | 23:55 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!