Thursday, 2017-03-30

*** rpb has quit IRC00:17
*** yamamoto has joined #openstack-neutron-ovn00:41
*** yamamoto has quit IRC00:46
*** yamamoto has joined #openstack-neutron-ovn01:42
*** yamamoto has quit IRC01:46
*** s3wong has quit IRC01:57
*** openstackgerrit has joined #openstack-neutron-ovn02:34
openstackgerritDong Jun proposed openstack/networking-ovn master: Fix OvnBaseConnection.get_schema_helper bug in some case  https://review.openstack.org/44844702:34
openstackgerritDong Jun proposed openstack/networking-ovn master: Fix OvnBaseConnection.get_schema_helper bug in some case  https://review.openstack.org/44844702:36
*** yamamoto has joined #openstack-neutron-ovn02:43
*** yamamoto has quit IRC02:49
*** yamamoto has joined #openstack-neutron-ovn03:45
*** yamamoto has quit IRC03:50
*** janki has joined #openstack-neutron-ovn04:05
*** gongysh has joined #openstack-neutron-ovn04:33
*** yamamoto has joined #openstack-neutron-ovn04:47
*** yamamoto has quit IRC04:50
*** yamamoto has joined #openstack-neutron-ovn04:50
*** gongysh has quit IRC05:01
*** dalvarez has quit IRC05:14
*** ltomasbo|away has quit IRC05:14
*** dalvarez has joined #openstack-neutron-ovn05:20
*** ltomasbo|away has joined #openstack-neutron-ovn05:22
*** yamamoto has quit IRC05:30
*** yamamoto has joined #openstack-neutron-ovn05:41
*** yamamoto has quit IRC05:41
*** zefferno has joined #openstack-neutron-ovn06:02
*** gongysh has joined #openstack-neutron-ovn06:04
*** ltomasbo|away is now known as ltomasbo06:11
*** anilvenkata has joined #openstack-neutron-ovn06:22
*** gongysh has quit IRC06:36
*** yamamoto has joined #openstack-neutron-ovn06:42
*** yamamoto has quit IRC06:47
*** pcaruana has joined #openstack-neutron-ovn06:47
elurkkiAny 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
elurkkiwith bridge_mappings = physnet:br-ex ? Thanks a lot for tips06:55
numanselurkki, Hi06:56
elurkkiHi06:56
numanswhy do you need linuxbridge_agent ?06:56
numansOVN doesn't need that06:56
elurkkiI probably do not need it then06:56
numanscan you point me to the link you are referring to ?06:56
numanselurkki, are you using tripleo to install it ?06:57
elurkkihttps://docs.openstack.org/ocata/install-guide-rdo/neutron-controller-install-option1.html06:57
elurkkiI am installing from scratch over HW. Just pure manual installation06:57
numanselurkki, ok.06:57
elurkkiWhat I am trying to do here is to bind my local ethernet interface to OVN06:57
numanselurkki, since you are configuring with OVN, you don't need any agents06:57
elurkkiOk06:58
elurkkiWhat I am trying to accomplish is https://docs.openstack.org/developer/networking-ovn/refarch/refarch.html this kind of architecture06:58
elurkkiI do have provider network in my eth3 now06:58
elurkkiBut I do not exactly know how to point it to Neutron / OVN06:59
numansok. i think i can point you to the right documentation. let me check06:59
elurkkiThe eth3 is trunked interface06:59
elurkkiniiice, thanks06:59
numanselurkki, i guess you might have seen this - https://docs.openstack.org/developer/networking-ovn/refarch/provider-networks.html07:00
numansyou need to configure the provider networks this way.07:01
elurkkiohh, I totally have forgot this. I indeed have seen this07:01
elurkkiThanks so much for pointing this for me07:01
elurkkiI will continu with this doc now07:01
numanselurkki, great :)07:02
numanslet me know if you any questions.07:02
elurkkiI will :) Thanks once more07:03
numanselurkki, 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 it07:03
numanselurkki, sorry, grep for "external_ids:system-id"07:04
elurkkiNice. I will go through this man page as well07:04
*** yamamoto has joined #openstack-neutron-ovn07:43
*** yamamoto has quit IRC07:47
anilvenkatanumans, I want to run devstack to test north-south traffic with router07:53
anilvenkatanumans, should I set NETWORK_GATEWAY in local.conf https://github.com/openstack/networking-ovn/blob/master/devstack/local.conf.sample#L8707:54
anilvenkatanumans, ?07:54
anilvenkatanumans, or https://github.com/openstack/networking-ovn/blob/master/devstack/local.conf.sample#L9707:58
*** openstackgerrit has quit IRC08:03
anilvenkatanumans, 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#L7708:05
*** anilvenkata is now known as anilvenkata_afk08:05
*** mickeys has quit IRC08:17
*** yamamoto has joined #openstack-neutron-ovn08:26
*** gongysh has joined #openstack-neutron-ovn08:27
*** anilvenkata_afk is now known as anilvenkata08:40
*** zefferno has quit IRC09:00
*** zefferno has joined #openstack-neutron-ovn09:13
*** mickeys has joined #openstack-neutron-ovn09:18
*** mickeys has quit IRC09:23
*** zefferno has quit IRC09:28
anilvenkatanumans, ^09:29
anilvenkatanumans, http://paste.openstack.org/show/604812/ this is what I did in local.conf for enabling gateway09:31
anilvenkatanumans, is that sufficient?09:31
*** zefferno has joined #openstack-neutron-ovn09:40
*** zefferno has joined #openstack-neutron-ovn09:40
numansanilvenkata, one sec09:47
*** ltomasbo is now known as ltomasbo|away09:47
numansanilvenkata, http://paste.openstack.org/show/604812/ looks good to me09:48
anilvenkatanumans, thanks09:48
numanswc09:48
elurkkinumans: One question still09:49
numanselurkki, sure09:49
elurkkinumans: Totally unrelated09:49
elurkkito last one09:49
elurkkiI do have controller node and database node09:49
numansok09:49
elurkkiController node starts up the neutron-server09:49
numansok09:49
elurkkiAnd Database do have openvswitch and ovn-northd09:49
elurkkiNow when running up the neutron-server in controller I do get error messaga09:50
elurkkiovsdb-server[4828]: ovs|02520|socket_util|ERR|6641:10.0.0.165: bind: Cannot assign requested address09:50
elurkkiThis is in controller node which is 10.0.0.16009:50
elurkkiAnd the 10.0.0.165 is the database node09:50
elurkkiWhat I have messed up *now* :) ?09:50
numanselurkki, what is the value of "ovn_nb_connection" in ml2_conf.ini ?09:51
numanswhen you run "ps -aef | grep ovsdb-server" in controller node, what's the output09:51
elurkkiovn_nb_connection = tcp:10.0.0.165:664109:51
numanselurkki, you see the above error in neutron logs ?09:52
elurkkiroot      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.log09:52
elurkki--pidfile=/var/run/openvswitch/ovsdb-server.pid --detach09:52
numanselurkki, and can you share me the same output from the database node ?09:52
numansi mean "ps -ef | grep ovsdb-server"09:53
elurkkisec09:53
numanselurkki, also on your database node, are you able to run "sudo ovn-nbctl show" ?09:53
elurkkiThere are 5 processes running in database node09:53
elurkkiwith that grep09:53
numanselurkki, yeah that's what is expected09:53
elurkkiShall I paste those here ?09:54
elurkkiQuite many rows it would be09:54
numanselurkki, may be in a paste bin09:54
elurkkihttps://pastebin.com/s1vzgtXS09:54
numanselurkki, verify if you can connect to the ovsb-server hosting NB db as09:54
numans1. sudo ovn-nbctl show -> in the database node09:55
numans2. ovn-nbctl --db=tcp:10.0.0.165:6641 show -> in your controller node09:55
elurkkiseems to be working both09:55
numanselurkki, ok, that means neutron-server should be able to talk to the ovsb-server on the database node09:56
numanselurkki, create a private network "neutron net-create priv" and then run "sudo ovn-nbctl show"09:56
numansand see if you see a logical switch getting created. if so, everything is fine09:56
elurkkineutron should work even the neutron-server do not get up ?09:57
elurkkineutron net-create seems to hang here09:58
anilvenkatanumans, when I run stack.sh I am getting this error http://paste.openstack.org/show/604818/10:00
anilvenkatanumans, is that fine?10:00
numansanilvenkata, you need to unload the openvswitch kernel module10:01
anilvenkatanumans, devstack by default wont do that?10:01
elurkkinumans: 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
elurkkiEffect is now that neutron-server won't get up10:04
numanselurkki, what you did is right10:04
elurkkiok10:05
numanselurkki, neutron-server wouldn't do anything like that. it would try to connect10:05
numansanilvenkata, it does10:05
elurkkiok, good10:05
numansanilvenkata, but i think its a big buggy. the ovs kernel module wouldn't get unloaded if there is any reference to it10:06
anilvenkatanumans, looks like10:06
numansanilvenkata, i think you can delete all the ovs bridges and delete the system datapath using "ovs-dpctl"10:06
anilvenkatanumans, I did "sudo systemctl stop ovs-vswitchd.service"10:06
numansand then try unloading it10:06
anilvenkatanumans, ok10:06
numansanilvenkata, its ok even if ovs-vswitchd  is running10:07
anilvenkatanumans, [vagrant@centosvm3 ~]$ sudo ovs-vsctl show10:07
anilvenkataovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed (No such file or directory)10:07
numansanilvenkata, thats because you have stopped ovs-vswitchd10:08
numansanilvenkata, restart it and delete all the bridges10:08
numansand then delete all the datapaths (using ovs-dpctl)10:08
anilvenkata[vagrant@centosvm3 ~]$ sudo systemctl restart ovs-vswitchd.service10:09
anilvenkataFailed to restart ovs-vswitchd.service: Unit not found.10:09
anilvenkata[vagrant@centosvm3 ~]$10:09
anilvenkata[vagrant@centosvm3 ~]$ sudo systemctl start ovsdb-server.service10:09
anilvenkataFailed to start ovsdb-server.service: Unit not found.10:09
anilvenkatanumans, ^10:09
anilvenkatanumans, it says unit not found, for start10:09
numansmay be something is wrong10:09
*** fzdarsky has joined #openstack-neutron-ovn10:18
*** mickeys has joined #openstack-neutron-ovn10:19
*** fzdarsky has quit IRC10:23
*** mickeys has quit IRC10:24
elurkkinumans: 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. After10:25
elurkkigoing through all the logs, I found this error message. Thanks a lot for pointing me out to correct direction!10:25
numanselurkki, that's  great :)10:26
*** fzdarsky has joined #openstack-neutron-ovn10:32
*** fzdarsky has quit IRC10:38
*** gongysh has quit IRC11:03
*** yamamoto has quit IRC11:10
*** yamamoto has joined #openstack-neutron-ovn11:11
*** yamamoto_ has joined #openstack-neutron-ovn11:12
*** yamamoto has quit IRC11:16
*** mickeys has joined #openstack-neutron-ovn11:20
*** mickeys has quit IRC11:24
elurkkinumans: 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
numanselurkki, OVN doesn't support metadata yet12:10
numanselurkki, so you have to use config drive if you want to use metadata12:11
numansi suggest set force_config_driver = true in nova.conf of compute nodes and try again12:12
elurkkiAhhhh, ok. That explains. Thanks12:16
*** mickeys has joined #openstack-neutron-ovn12:47
*** mickeys has quit IRC12:51
*** fzdarsky has joined #openstack-neutron-ovn12:51
*** gongysh has joined #openstack-neutron-ovn13:02
*** mlavalle has joined #openstack-neutron-ovn13:36
*** janki has quit IRC13:59
*** mlavalle has quit IRC14:15
*** mlavalle has joined #openstack-neutron-ovn14:22
*** zefferno has quit IRC14:32
*** yamamoto_ has quit IRC14:36
*** fzdarsky has quit IRC14:51
*** mlavalle has quit IRC14:59
*** mlavalle has joined #openstack-neutron-ovn14:59
*** gongysh has quit IRC15:17
*** mickeys has joined #openstack-neutron-ovn15:26
*** mickeys has quit IRC15:32
*** yamamoto has joined #openstack-neutron-ovn15:36
*** yamamoto has quit IRC15:43
*** yamamoto has joined #openstack-neutron-ovn15:56
*** yamamoto has quit IRC15:56
*** mickeys has joined #openstack-neutron-ovn16:01
*** pcaruana has quit IRC16:23
*** fzdarsky has joined #openstack-neutron-ovn16:35
*** fzdarsky has quit IRC16:35
*** yamamoto has joined #openstack-neutron-ovn16:57
*** doonhammer has joined #openstack-neutron-ovn17: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 IRC17:04
*** anilvenkata is now known as anilvenkata_afk17:36
*** s3wong has joined #openstack-neutron-ovn17:52
*** switchca1e has joined #openstack-neutron-ovn17:57
*** switchcade has quit IRC17:59
*** switchca1e is now known as switchcade18:53
*** mickeys has quit IRC18:54
*** lrichard has quit IRC18:56
*** mickeys has joined #openstack-neutron-ovn19:04
*** mlavalle has quit IRC19:17
*** mlavalle has joined #openstack-neutron-ovn19:25
*** anilvenkata_afk has quit IRC21:09
*** mlavalle has quit IRC23:39
*** openstack has joined #openstack-neutron-ovn23:43

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