15:30:33 #startmeeting OVN4NFV Weekly Meeting 15:30:33 Meeting started Tue Oct 2 15:30:33 2018 UTC. The chair is trinaths. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:30:33 Useful Commands: #action #agreed #help #info #idea #link #topic. 15:30:33 The meeting name has been set to 'ovn4nfv_weekly_meeting' 15:30:48 #topic Agenda 15:30:57 #link https://wiki.opnfv.org/pages/viewpage.action?spaceKey=OV&title=Meeting+Agenda 15:31:05 Hi Amir_m , How are you doing. 15:31:29 Good News , OVN Scenarios are enabled in Apex with ROCKY (latest OpenStack release) 15:31:33 Hi Trinath, I'm good thanks 15:32:00 Indeed, this is good news :d 15:32:30 Amir_m: With this integration we need to work on integrating the OVN-SFC scenario 15:33:05 Amir_m: we will take this after our OVN-CN-VM scenario 15:33:17 Trinaths: ok 15:33:33 Amir_m: Can you outline the issue. 15:33:43 you are facing while debugging with ritu. 15:34:17 For the OVN-CN-VM scenario, I believe that one or more of the params I'm using to configure ovn-kube isn't correct 15:34:46 oh ok. 15:35:07 I just wanted someone, probably more knowledgeable than me, to review the detailed steps I provided and help me out 15:35:09 did you find any working configuration 15:35:43 I have gone through the steps you have given. But they are not understandable. 15:36:05 Ritu, after asking about a clarification about the issues I'm facing, pointed me to the vagrant tutorial I've already used the very first time 15:36:35 ok 15:36:40 Could you give me one example of what you don't understand 15:36:46 Amir_m: can you elaborate this ==> 2. Used host-only network on adapter2, NAT on adapter1 15:37:37 According to the tutorial I'm using, I used host-only network for my VMs 15:38:04 Amir_m: can you point me to that line in the tutorial 15:38:47 ritusood: Hi, How are you doing . 15:40:00 good. 15:40:15 https://www.profiq.com/kubernetes-cluster-setup-using-virtual-machines/ 15:40:22 ritusood: Amir_m has tried the vagrant tutorial you have shared. he was successful with vagrant 15:40:38 That's great 15:40:47 Trinaths: Vagrant didn't work for me 15:40:54 ritusood: Can you share a working configuration if you have for ovn-kube 15:41:04 Amir_m: ok. 15:41:20 What worked is to setup the K8s cluster myself using VMs 15:41:44 Amir_m: we have ritusood here, do you want to discuss your queries. 15:41:49 Sure I can do that. Also we have a working deployment in ONAP that installs all required packages 15:41:56 I can share that also 15:43:00 Amir_m: can you share what is required for you at the current state of your deployment. 15:43:13 ritusood: we are deploying with ONAP. We are doing a manual setup 15:43:44 I already have k8s cluster of VMs (one master+ 2 nodes) 15:43:55 what happens when you start ovnkube 15:44:07 does it crash 15:44:34 Master can see nodes but their status isn't ready, because network provider (OVN in our case) isn't properly configured 15:45:00 so I just want my ovnkube configuration to be double checked 15:45:20 given the K8s cluster details 15:45:30 Amir_m: can you share the config via paste.openstack.org 15:45:47 what is paste.openstack.org? 15:46:24 it is already the last two steps in the detailed file I've already shared with you and Ritu 15:46:25 is a editor for sharing things. 15:46:31 ok 15:46:55 Amir_m: you mean, 15:46:55 12. On each worker/host node start the ovnkube $ export TOKEN=favqjd.ubjbvyay2j7efxon $ nohup sudo ovnkube -k8s-kubeconfig kubeconfig.yaml -loglevel=4 -logfile="/var/log/openvswitch/ovnkube.log" -k8s-apiserver="http://$CENTRAL_IP:6443" -init-node="$NODE_NAME" -nodeport -nb-address="tcp://$CENTRAL_IP:6641" -sb-address="tcp://$CENTRAL_IP:6642" -k8s-token="$TOKEN" -init-gateways -service-cluster-ip-range=$SERVICE_IP_SUBNET 15:47:21 can you share the contents of kubeconfig.yaml 15:47:55 ritusood: can you see the steps 12 and 13 in the email attachment sent by Amir_m 15:48:16 ok 15:49:26 #link http://paste.openstack.org/show/731276/ 15:50:13 Amir_m: can you share the contents of kubeconfig.yaml 15:50:40 sure just a second 15:50:51 ok 15:54:21 There is a CNI configuration that seems to be missing here 15:54:57 --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin/ 15:55:30 Amir_m: can you share the kubeconfig.yaml 15:55:35 at the end of this http://paste.openstack.org/show/731277/ 15:55:44 also, can you re run the command with comments from ritusood 15:59:10 here is ours http://paste.openstack.org/show/731278/ 16:00:25 Amir_m: there is some diff you might move into your yaml file. 16:01:41 like, "kind:" 16:02:21 ritusood: who generated this config file ? 16:02:46 Not me! 16:03:19 ritusood: i mean is it generated by ONAP or written as per your setup specs ? 16:03:24 Amir_m: :) I know. 16:03:49 We have a vagrant deployment for kubernetes in ONAP 16:04:13 called Krd. This is part of that project 16:04:34 Another question is whether ovnkube is running on all nodes 16:04:56 Trinaths and Ritu: I was following the only ovn-kube tutorial available, which is poorly written #link https://github.com/openvswitch/ovn-kubernetes 16:06:08 ritusood: I have query. Can We use KRD from ONAP to deploy that part of the setup ? 16:06:29 Sure. Let me give you the link 16:07:14 https://gerrit.onap.org/r/gitweb?p=multicloud/k8s.git;a=tree;f=vagrant;h=6191e2828ee38b8018c0de1259cc5c04462c7524;hb=refs/heads/master 16:07:45 One difference there is that we are using flannel as CNI 16:08:07 ok. 16:08:14 and using ovn-kubernetes with Multus for multiple interfaces 16:08:42 ritusood: ok. will KRD work independently without ONAP configuration ? 16:08:55 In your scenario getting the vagrant woring from ovn-kubernetes will be helpful 16:09:23 I was able to get the vagrant working. What is the issue that you are seeing? 16:10:29 KRD can work without ONAP 16:11:15 Amir_m: Can you give a try. Or use the Config file from ritusood and modify as per your environment and check the installation ? 16:11:50 You mean give vagrant a try? 16:12:43 yes. with any appropriate changes to config files from files shared by ritusood 16:13:00 ok 16:14:08 ritusood: can you share the config you have to Amir_m, so that we can give a try with updated config files. 16:14:35 Sure I'll send a email to him with our configuration 16:15:02 Amir_m: if it does'nt work, please use the link #link https://gerrit.onap.org/r/gitweb?p=multicloud/k8s.git;a=tree;f=vagrant;h=6191e2828ee38b8018c0de1259cc5c04462c7524;hb=refs/heads/master shared by ritusood to bring up a new setup using KRD installation from ONAP 16:15:27 ritusood: for every communication please cc me so that I can have a picture on what is going on. 16:15:32 ok 16:15:40 trinaths: Any update on the repo creation? 16:15:40 ok. lets move to other topics. 16:15:54 ritusood: :) yes, INFRA team will create the repo today. 16:16:09 I will update Srini and you on this once Repo is created. 16:16:14 :) great 16:16:21 [21:34] trinaths: Hi [21:37] bramwelt: I have raised a helpdesk ticket to create a repo. https://gerrit.opnfv.org/gerrit/#/c/51587/ As per aric suggestion, I have updated INFO.yml. What can be the next steps. Kindly help me move forward. [21:40] trinaths: Thanks for the ping. We'll get the repo made today and let you know when it's up. :) [21:43] bramwelt: :) thank you. Please ma 16:16:31 the above is the chat I had with Infra team 16:16:47 me on this. We have the code ready and need to submit to this repo. 16:17:14 ritusood: can you update with detailed specifics of OVN4NFV K8S plugin? in the wiki page 16:17:31 since, TSC or other teams can review our plugin 16:17:41 Yes. Srini already put some details I'll add more today 16:17:51 so they need more info on how we are developing the same. 16:17:56 ritusood: ok 16:18:34 #action Amir_m - Work with ritusood to update config files and try the installation. if it doesn't work use KRD installation from ONAP 16:20:00 #action ritusood - Update OVN4NFV-K8S plugin wiki page with more detailed architecture, functional design along with focus on Testing guidelines. Also add references if any. 16:20:34 #action trinaths - Work with infra team to create k8s-ovn4nfv-plugin repo and update Srini team to enable code checkin. 16:20:46 team, any thing more to discuss ? 16:20:51 we have 10 mins more 16:23:13 ok. Lets continue the good work. 16:23:27 Amir_m: please mail me if you find a bottle neck. 16:23:39 ritusood: kindly please help Amir_m to enabe the ovn-k8s setup. 16:23:48 Sure 16:24:02 Sure 16:24:13 ritusood: our intention is to enable OVN for Container and VM hybrid environment. 16:24:30 such a PoC/use-case can also help you for ONAP scenarios. 16:24:37 bye all. 16:24:41 #endmeeting