*** rpb has quit IRC | 00:17 | |
*** yamamoto has joined #openstack-neutron-ovn | 00:41 | |
*** yamamoto has quit IRC | 00:46 | |
*** yamamoto has joined #openstack-neutron-ovn | 01:42 | |
*** yamamoto has quit IRC | 01:46 | |
*** s3wong has quit IRC | 01:57 | |
*** openstackgerrit has joined #openstack-neutron-ovn | 02:34 | |
openstackgerrit | Dong Jun proposed openstack/networking-ovn master: Fix OvnBaseConnection.get_schema_helper bug in some case https://review.openstack.org/448447 | 02:34 |
---|---|---|
openstackgerrit | Dong Jun proposed openstack/networking-ovn master: Fix OvnBaseConnection.get_schema_helper bug in some case https://review.openstack.org/448447 | 02:36 |
*** yamamoto has joined #openstack-neutron-ovn | 02:43 | |
*** yamamoto has quit IRC | 02:49 | |
*** yamamoto has joined #openstack-neutron-ovn | 03:45 | |
*** yamamoto has quit IRC | 03:50 | |
*** janki has joined #openstack-neutron-ovn | 04:05 | |
*** gongysh has joined #openstack-neutron-ovn | 04:33 | |
*** yamamoto has joined #openstack-neutron-ovn | 04:47 | |
*** yamamoto has quit IRC | 04:50 | |
*** yamamoto has joined #openstack-neutron-ovn | 04:50 | |
*** gongysh has quit IRC | 05:01 | |
*** dalvarez has quit IRC | 05:14 | |
*** ltomasbo|away has quit IRC | 05:14 | |
*** dalvarez has joined #openstack-neutron-ovn | 05:20 | |
*** ltomasbo|away has joined #openstack-neutron-ovn | 05:22 | |
*** yamamoto has quit IRC | 05:30 | |
*** yamamoto has joined #openstack-neutron-ovn | 05:41 | |
*** yamamoto has quit IRC | 05:41 | |
*** zefferno has joined #openstack-neutron-ovn | 06:02 | |
*** gongysh has joined #openstack-neutron-ovn | 06:04 | |
*** ltomasbo|away is now known as ltomasbo | 06:11 | |
*** anilvenkata has joined #openstack-neutron-ovn | 06:22 | |
*** gongysh has quit IRC | 06:36 | |
*** yamamoto has joined #openstack-neutron-ovn | 06:42 | |
*** yamamoto has quit IRC | 06:47 | |
*** pcaruana has joined #openstack-neutron-ovn | 06:47 | |
elurkki | Any tips for Ocata & OVN network configuration. I am following Official Ocata installation for CentOS7 and modifying it with OVN Install documentation. Now I have faced the linuxbridge configuration and I am not sure how to accomplish that one. Should I use this liuxbridget_agent to create bridge mapping in the neutron service or should I configure like I did earlier in Kilo release in [ovs] | 06:55 |
elurkki | with bridge_mappings = physnet:br-ex ? Thanks a lot for tips | 06:55 |
numans | elurkki, Hi | 06:56 |
elurkki | Hi | 06:56 |
numans | why do you need linuxbridge_agent ? | 06:56 |
numans | OVN doesn't need that | 06:56 |
elurkki | I probably do not need it then | 06:56 |
numans | can you point me to the link you are referring to ? | 06:56 |
numans | elurkki, are you using tripleo to install it ? | 06:57 |
elurkki | https://docs.openstack.org/ocata/install-guide-rdo/neutron-controller-install-option1.html | 06:57 |
elurkki | I am installing from scratch over HW. Just pure manual installation | 06:57 |
numans | elurkki, ok. | 06:57 |
elurkki | What I am trying to do here is to bind my local ethernet interface to OVN | 06:57 |
numans | elurkki, since you are configuring with OVN, you don't need any agents | 06:57 |
elurkki | Ok | 06:58 |
elurkki | What I am trying to accomplish is https://docs.openstack.org/developer/networking-ovn/refarch/refarch.html this kind of architecture | 06:58 |
elurkki | I do have provider network in my eth3 now | 06:58 |
elurkki | But I do not exactly know how to point it to Neutron / OVN | 06:59 |
numans | ok. i think i can point you to the right documentation. let me check | 06:59 |
elurkki | The eth3 is trunked interface | 06:59 |
elurkki | niiice, thanks | 06:59 |
numans | elurkki, i guess you might have seen this - https://docs.openstack.org/developer/networking-ovn/refarch/provider-networks.html | 07:00 |
numans | you need to configure the provider networks this way. | 07:01 |
elurkki | ohh, I totally have forgot this. I indeed have seen this | 07:01 |
elurkki | Thanks so much for pointing this for me | 07:01 |
elurkki | I will continu with this doc now | 07:01 |
numans | elurkki, great :) | 07:02 |
numans | let me know if you any questions. | 07:02 |
elurkki | I will :) Thanks once more | 07:03 |
numans | elurkki, Also I would suggest you to have a look at this - http://openvswitch.org/support/dist-docs/ovn-controller.8.html and grep for "OPEN VSWITCH DATABASE USAGE" if in case you haven't seen it | 07:03 |
numans | elurkki, sorry, grep for "external_ids:system-id" | 07:04 |
elurkki | Nice. I will go through this man page as well | 07:04 |
*** yamamoto has joined #openstack-neutron-ovn | 07:43 | |
*** yamamoto has quit IRC | 07:47 | |
anilvenkata | numans, I want to run devstack to test north-south traffic with router | 07:53 |
anilvenkata | numans, should I set NETWORK_GATEWAY in local.conf https://github.com/openstack/networking-ovn/blob/master/devstack/local.conf.sample#L87 | 07:54 |
anilvenkata | numans, ? | 07:54 |
anilvenkata | numans, or https://github.com/openstack/networking-ovn/blob/master/devstack/local.conf.sample#L97 | 07:58 |
*** openstackgerrit has quit IRC | 08:03 | |
anilvenkata | numans, should I enable these https://github.com/openstack-dev/devstack/blob/master/lib/neutron_plugins/services/l3#L58-L61 in local.conf along with Q_AGENT https://github.com/openstack/networking-ovn/blob/master/devstack/local.conf.sample#L77 | 08:05 |
*** anilvenkata is now known as anilvenkata_afk | 08:05 | |
*** mickeys has quit IRC | 08:17 | |
*** yamamoto has joined #openstack-neutron-ovn | 08:26 | |
*** gongysh has joined #openstack-neutron-ovn | 08:27 | |
*** anilvenkata_afk is now known as anilvenkata | 08:40 | |
*** zefferno has quit IRC | 09:00 | |
*** zefferno has joined #openstack-neutron-ovn | 09:13 | |
*** mickeys has joined #openstack-neutron-ovn | 09:18 | |
*** mickeys has quit IRC | 09:23 | |
*** zefferno has quit IRC | 09:28 | |
anilvenkata | numans, ^ | 09:29 |
anilvenkata | numans, http://paste.openstack.org/show/604812/ this is what I did in local.conf for enabling gateway | 09:31 |
anilvenkata | numans, is that sufficient? | 09:31 |
*** zefferno has joined #openstack-neutron-ovn | 09:40 | |
*** zefferno has joined #openstack-neutron-ovn | 09:40 | |
numans | anilvenkata, one sec | 09:47 |
*** ltomasbo is now known as ltomasbo|away | 09:47 | |
numans | anilvenkata, http://paste.openstack.org/show/604812/ looks good to me | 09:48 |
anilvenkata | numans, thanks | 09:48 |
numans | wc | 09:48 |
elurkki | numans: One question still | 09:49 |
numans | elurkki, sure | 09:49 |
elurkki | numans: Totally unrelated | 09:49 |
elurkki | to last one | 09:49 |
elurkki | I do have controller node and database node | 09:49 |
numans | ok | 09:49 |
elurkki | Controller node starts up the neutron-server | 09:49 |
numans | ok | 09:49 |
elurkki | And Database do have openvswitch and ovn-northd | 09:49 |
elurkki | Now when running up the neutron-server in controller I do get error messaga | 09:50 |
elurkki | ovsdb-server[4828]: ovs|02520|socket_util|ERR|6641:10.0.0.165: bind: Cannot assign requested address | 09:50 |
elurkki | This is in controller node which is 10.0.0.160 | 09:50 |
elurkki | And the 10.0.0.165 is the database node | 09:50 |
elurkki | What I have messed up *now* :) ? | 09:50 |
numans | elurkki, what is the value of "ovn_nb_connection" in ml2_conf.ini ? | 09:51 |
numans | when you run "ps -aef | grep ovsdb-server" in controller node, what's the output | 09:51 |
elurkki | ovn_nb_connection = tcp:10.0.0.165:6641 | 09:51 |
numans | elurkki, you see the above error in neutron logs ? | 09:52 |
elurkki | root 4828 1 0 11:55 ? 00:00:00 ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir --log-file=/var/log/openvswitch/ovsdb-server.log | 09:52 |
elurkki | --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach | 09:52 |
numans | elurkki, and can you share me the same output from the database node ? | 09:52 |
numans | i mean "ps -ef | grep ovsdb-server" | 09:53 |
elurkki | sec | 09:53 |
numans | elurkki, also on your database node, are you able to run "sudo ovn-nbctl show" ? | 09:53 |
elurkki | There are 5 processes running in database node | 09:53 |
elurkki | with that grep | 09:53 |
numans | elurkki, yeah that's what is expected | 09:53 |
elurkki | Shall I paste those here ? | 09:54 |
elurkki | Quite many rows it would be | 09:54 |
numans | elurkki, may be in a paste bin | 09:54 |
elurkki | https://pastebin.com/s1vzgtXS | 09:54 |
numans | elurkki, verify if you can connect to the ovsb-server hosting NB db as | 09:54 |
numans | 1. sudo ovn-nbctl show -> in the database node | 09:55 |
numans | 2. ovn-nbctl --db=tcp:10.0.0.165:6641 show -> in your controller node | 09:55 |
elurkki | seems to be working both | 09:55 |
numans | elurkki, ok, that means neutron-server should be able to talk to the ovsb-server on the database node | 09:56 |
numans | elurkki, create a private network "neutron net-create priv" and then run "sudo ovn-nbctl show" | 09:56 |
numans | and see if you see a logical switch getting created. if so, everything is fine | 09:56 |
elurkki | neutron should work even the neutron-server do not get up ? | 09:57 |
elurkki | neutron net-create seems to hang here | 09:58 |
anilvenkata | numans, when I run stack.sh I am getting this error http://paste.openstack.org/show/604818/ | 10:00 |
anilvenkata | numans, is that fine? | 10:00 |
numans | anilvenkata, you need to unload the openvswitch kernel module | 10:01 |
anilvenkata | numans, devstack by default wont do that? | 10:01 |
elurkki | numans: Could this be related to fact that I created the 6641 and 6642 in database node manually with commands "ovn-nbctl set-connection ptcp:6641" and "ovn-nbctl set-connection ptcp:6642". Would the neutron-server try setting those up automatically now from the controller or something like that ? | 10:03 |
elurkki | Effect is now that neutron-server won't get up | 10:04 |
numans | elurkki, what you did is right | 10:04 |
elurkki | ok | 10:05 |
numans | elurkki, neutron-server wouldn't do anything like that. it would try to connect | 10:05 |
numans | anilvenkata, it does | 10:05 |
elurkki | ok, good | 10:05 |
numans | anilvenkata, but i think its a big buggy. the ovs kernel module wouldn't get unloaded if there is any reference to it | 10:06 |
anilvenkata | numans, looks like | 10:06 |
numans | anilvenkata, i think you can delete all the ovs bridges and delete the system datapath using "ovs-dpctl" | 10:06 |
anilvenkata | numans, I did "sudo systemctl stop ovs-vswitchd.service" | 10:06 |
numans | and then try unloading it | 10:06 |
anilvenkata | numans, ok | 10:06 |
numans | anilvenkata, its ok even if ovs-vswitchd is running | 10:07 |
anilvenkata | numans, [vagrant@centosvm3 ~]$ sudo ovs-vsctl show | 10:07 |
anilvenkata | ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed (No such file or directory) | 10:07 |
numans | anilvenkata, thats because you have stopped ovs-vswitchd | 10:08 |
numans | anilvenkata, restart it and delete all the bridges | 10:08 |
numans | and then delete all the datapaths (using ovs-dpctl) | 10:08 |
anilvenkata | [vagrant@centosvm3 ~]$ sudo systemctl restart ovs-vswitchd.service | 10:09 |
anilvenkata | Failed to restart ovs-vswitchd.service: Unit not found. | 10:09 |
anilvenkata | [vagrant@centosvm3 ~]$ | 10:09 |
anilvenkata | [vagrant@centosvm3 ~]$ sudo systemctl start ovsdb-server.service | 10:09 |
anilvenkata | Failed to start ovsdb-server.service: Unit not found. | 10:09 |
anilvenkata | numans, ^ | 10:09 |
anilvenkata | numans, it says unit not found, for start | 10:09 |
numans | may be something is wrong | 10:09 |
*** fzdarsky has joined #openstack-neutron-ovn | 10:18 | |
*** mickeys has joined #openstack-neutron-ovn | 10:19 | |
*** fzdarsky has quit IRC | 10:23 | |
*** mickeys has quit IRC | 10:24 | |
elurkki | numans: It was unfortunate chicken-egg problem. The openvswitch wasn't started at bootup (service wasn't enabled) before neutron-server was started up. Now when I did systemctl stop neutron-server, it didn't manage to shutdown all the processes and it kept port 9696 bound. That was the reason. I kill -9:ed all the neutron processes and started up everything, and now everything works. After | 10:25 |
elurkki | going through all the logs, I found this error message. Thanks a lot for pointing me out to correct direction! | 10:25 |
numans | elurkki, that's great :) | 10:26 |
*** fzdarsky has joined #openstack-neutron-ovn | 10:32 | |
*** fzdarsky has quit IRC | 10:38 | |
*** gongysh has quit IRC | 11:03 | |
*** yamamoto has quit IRC | 11:10 | |
*** yamamoto has joined #openstack-neutron-ovn | 11:11 | |
*** yamamoto_ has joined #openstack-neutron-ovn | 11:12 | |
*** yamamoto has quit IRC | 11:16 | |
*** mickeys has joined #openstack-neutron-ovn | 11:20 | |
*** mickeys has quit IRC | 11:24 | |
elurkki | numans: Seems that when launching instance, I get volumes, network etc.. but 2 problems still. 1) Instance log has this checking http://169.254.169.254/2009-04-04/instance-id failing 2) VNC connection can not be done. Would this be somehow related to the internal openstack networking somehow ? Any tips ? | 12:07 |
numans | elurkki, OVN doesn't support metadata yet | 12:10 |
numans | elurkki, so you have to use config drive if you want to use metadata | 12:11 |
numans | i suggest set force_config_driver = true in nova.conf of compute nodes and try again | 12:12 |
elurkki | Ahhhh, ok. That explains. Thanks | 12:16 |
*** mickeys has joined #openstack-neutron-ovn | 12:47 | |
*** mickeys has quit IRC | 12:51 | |
*** fzdarsky has joined #openstack-neutron-ovn | 12:51 | |
*** gongysh has joined #openstack-neutron-ovn | 13:02 | |
*** mlavalle has joined #openstack-neutron-ovn | 13:36 | |
*** janki has quit IRC | 13:59 | |
*** mlavalle has quit IRC | 14:15 | |
*** mlavalle has joined #openstack-neutron-ovn | 14:22 | |
*** zefferno has quit IRC | 14:32 | |
*** yamamoto_ has quit IRC | 14:36 | |
*** fzdarsky has quit IRC | 14:51 | |
*** mlavalle has quit IRC | 14:59 | |
*** mlavalle has joined #openstack-neutron-ovn | 14:59 | |
*** gongysh has quit IRC | 15:17 | |
*** mickeys has joined #openstack-neutron-ovn | 15:26 | |
*** mickeys has quit IRC | 15:32 | |
*** yamamoto has joined #openstack-neutron-ovn | 15:36 | |
*** yamamoto has quit IRC | 15:43 | |
*** yamamoto has joined #openstack-neutron-ovn | 15:56 | |
*** yamamoto has quit IRC | 15:56 | |
*** mickeys has joined #openstack-neutron-ovn | 16:01 | |
*** pcaruana has quit IRC | 16:23 | |
*** fzdarsky has joined #openstack-neutron-ovn | 16:35 | |
*** fzdarsky has quit IRC | 16:35 | |
*** yamamoto has joined #openstack-neutron-ovn | 16:57 | |
*** doonhammer has joined #openstack-neutron-ovn | 17:01 | |
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being restarted briefly to relieve performance issues, and should return to service again momentarily. | 17:04 | |
*** yamamoto has quit IRC | 17:04 | |
*** anilvenkata is now known as anilvenkata_afk | 17:36 | |
*** s3wong has joined #openstack-neutron-ovn | 17:52 | |
*** switchca1e has joined #openstack-neutron-ovn | 17:57 | |
*** switchcade has quit IRC | 17:59 | |
*** switchca1e is now known as switchcade | 18:53 | |
*** mickeys has quit IRC | 18:54 | |
*** lrichard has quit IRC | 18:56 | |
*** mickeys has joined #openstack-neutron-ovn | 19:04 | |
*** mlavalle has quit IRC | 19:17 | |
*** mlavalle has joined #openstack-neutron-ovn | 19:25 | |
*** anilvenkata_afk has quit IRC | 21:09 | |
*** mlavalle has quit IRC | 23:39 | |
*** openstack has joined #openstack-neutron-ovn | 23:43 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!