*** acidfu has joined #openvswitch | 00:03 | |
*** acidfoo_ has quit IRC | 00:05 | |
*** zhouhan_ has joined #openvswitch | 00:37 | |
*** zhouhan has quit IRC | 00:40 | |
*** acidfu has quit IRC | 00:55 | |
*** acidfu has joined #openvswitch | 00:56 | |
*** acidfu has quit IRC | 01:20 | |
*** gregwork has quit IRC | 01:33 | |
duso | ovs-vsctl add-bond ovsbr0 lacp0 enp2s0f0 enp2s0f1 lacp=active gives me a bond_mode: active-backup when I view the bond with ovs-appctl bond/show lacp0. What have I done wrong? | 02:22 |
---|---|---|
*** acidfu has joined #openvswitch | 02:49 | |
*** imaximets has quit IRC | 03:23 | |
*** imaximets has joined #openvswitch | 03:23 | |
*** imaximets has quit IRC | 03:24 | |
*** imaximets has joined #openvswitch | 03:24 | |
*** yamamoto has joined #openvswitch | 03:35 | |
*** yamamoto has quit IRC | 03:38 | |
*** imaximets has quit IRC | 04:10 | |
*** imaximets has joined #openvswitch | 04:10 | |
*** psahoo has joined #openvswitch | 04:22 | |
*** anilvenkata has joined #openvswitch | 05:00 | |
*** zhouhan_ has quit IRC | 05:33 | |
*** zhouhan has joined #openvswitch | 05:33 | |
*** dholler has joined #openvswitch | 05:37 | |
*** thaller_ has joined #openvswitch | 05:44 | |
*** thaller has quit IRC | 05:45 | |
*** erig has quit IRC | 05:49 | |
*** FH_thecat has quit IRC | 06:06 | |
*** slaweq has joined #openvswitch | 06:13 | |
*** yogananth has joined #openvswitch | 06:29 | |
*** mbarroso has joined #openvswitch | 06:55 | |
*** eelco has joined #openvswitch | 06:57 | |
bern | hi duso, I think I can answer your first question. With NM you need 3 "connections": one for the bridge, one for the port and one for an interface (onto which you put the local IP). | 07:53 |
bern | nmcli conn add type ovs-bridge conn.interface br0 | 07:53 |
bern | nmcli conn add type ovs-port conn.interface port0 master br0 | 07:54 |
bern | nmcli conn add type ovs-interface slave-type ovs-port conn.interface int0 master port0 ipv4.method manual ipv4.address 192.0.2.1/24 | 07:55 |
*** dceara has joined #openvswitch | 07:57 | |
*** mmirecki has joined #openvswitch | 08:38 | |
*** thaller_ has quit IRC | 09:08 | |
*** thaller has joined #openvswitch | 09:09 | |
duso | bern: Thanks bern, I finally got it working by using systemd-networkd and writing my own network scripts, makes a lot more sense to me now. Next will step will be getting SR-IOV working ... =) | 09:22 |
duso | bern: I am using Arch linux, what was throwing me was that ovs-vsctl show was showing me my bridge ovsbr0, but nmcli device was not showing it. | 09:24 |
*** Eryn_1983_FL has joined #openvswitch | 09:26 | |
Eryn_1983_FL | hello guys | 09:26 |
Eryn_1983_FL | how do i find out what using eth0 | 09:26 |
Eryn_1983_FL | Port "eth0" | 09:26 |
Eryn_1983_FL | Interface "eth0" | 09:26 |
Eryn_1983_FL | error: "could not add network device eth0 to ofproto (Device or resource busy)" | 09:26 |
Eryn_1983_FL | i need to free it to fix my openstacks. | 09:26 |
duso | Eryn_1983_FL: I had this one today when NetworkManager was bringing up the interface and not letting openvswitch have it - do you have networkmanager running and are any connections using the eth0 interface? | 09:28 |
Eryn_1983_FL | i think its what ssh is using.. | 09:33 |
Eryn_1983_FL | i dont see any network manager | 09:34 |
Eryn_1983_FL | ill pb my configs | 09:34 |
duso | what distro are you using? | 09:35 |
Eryn_1983_FL | https://pastebin.com/uryk6eR8 | 09:35 |
Eryn_1983_FL | ubuntu | 09:35 |
Eryn_1983_FL | boss said it was the 'easiest' :/ | 09:36 |
*** grive has quit IRC | 09:36 | |
*** grive has joined #openvswitch | 09:37 | |
*** BlackDex has quit IRC | 09:37 | |
Eryn_1983_FL | https://pastebin.com/tT7sgteh | 09:38 |
Eryn_1983_FL | thats what happens when i try to restart | 09:38 |
Eryn_1983_FL | openvswithc | 09:38 |
*** BlackDex has joined #openvswitch | 09:39 | |
Eryn_1983_FL | how can i figure out whats using eth0 | 09:40 |
duso | can you paste the output of "nmcli con show" please? | 09:41 |
Eryn_1983_FL | yeah | 09:42 |
Eryn_1983_FL | not found | 09:42 |
Eryn_1983_FL | https://pastebin.com/dWJJbfmd | 09:43 |
Eryn_1983_FL | :( | 09:43 |
duso | thats a good thing, the bad thing I am not familiar what network system / scripts ubuntu uses, I have not used ubuntu a lot. | 09:44 |
duso | try "systemctl status systemd-networkd | 09:44 |
duso | " | 09:44 |
duso | it is saying that is running? | 09:45 |
grive | Eryn_1983_FL, you can know what is using a socket with `ss` and `lsof` | 09:48 |
Eryn_1983_FL | looking | 09:48 |
Eryn_1983_FL | ty so much for help | 09:48 |
grive | ss -tu to list opened TCP / UDP | 09:48 |
Eryn_1983_FL | systemctl status systemd-networkd | 09:48 |
Eryn_1983_FL | is up | 09:48 |
grive | lsof -i:<port> to know which app is using specific port | 09:48 |
grive | so you might filter ss output with the IP(s) from eth0, and from there determine which PID is hogging eth0 | 09:49 |
Eryn_1983_FL | there is no ip for eth0 | 09:49 |
duso | ok, look in /etc/systemd/network and there should be a file in there with 'eth0' ending with .network | 09:50 |
duso | phone - bbiab | 09:50 |
*** yamamoto has joined #openvswitch | 09:50 | |
grive | Ok, if it's not eth0 that is used, then it might be its device. Are you able to unbind eth0 from its kmod? | 09:51 |
Eryn_1983_FL | not sure how do i do that | 09:51 |
Eryn_1983_FL | looking | 09:52 |
grive | you have dpdk-devbind.py in DPDK to do that for example, or you can do that manually using the sysfs | 09:52 |
Eryn_1983_FL | nothing in /etc/systemd/network | 09:53 |
Eryn_1983_FL | 0000:01:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe 165f' if=eth0 drv=tg3 unused= | 09:55 |
Eryn_1983_FL | sysfs not found | 09:55 |
grive | nothing in /sys/bus/pci/0000\:01\:00.0/ ? | 09:56 |
Eryn_1983_FL | ok so br-eth0 is what is holding on to it.. | 09:57 |
Eryn_1983_FL | lookin | 09:57 |
grive | missing a devices there sorry | 09:57 |
grive | /sys/bus/pci/devices/0000\:01\:00.0/ | 09:57 |
Eryn_1983_FL | pasting | 09:58 |
*** yamamoto has quit IRC | 09:58 | |
Eryn_1983_FL | https://pastebin.com/2pFU1RMX | 09:58 |
grive | readlink on driver there will give you the sysfs of your port driver | 09:59 |
Eryn_1983_FL | ok | 09:59 |
Eryn_1983_FL | ../../../../bus/pci/drivers/tg3 | 09:59 |
grive | yeah, should be /sys/bus/pci/drivers/tg3 anyway | 10:00 |
grive | are you sure it's support by DPDK? | 10:00 |
Eryn_1983_FL | not sure of anything, | 10:00 |
grive | anyway, you should be able to try `echo "0000:01:00.0" > /sys/bus/pci/drivers/tg3/unbind | 10:00 |
Eryn_1983_FL | he said he just enabled that yesterday.. i am not sure what that means | 10:00 |
Eryn_1983_FL | maybe it was not on by default | 10:00 |
Eryn_1983_FL | ok | 10:01 |
grive | make sure your ssh connection is not on eth0... | 10:01 |
Eryn_1983_FL | it might be | 10:01 |
grive | if eth0 has no IP, probably not | 10:01 |
Eryn_1983_FL | ok | 10:01 |
Eryn_1983_FL | yeah | 10:02 |
grive | you got a list of supported NICs for DPDK here: https://core.dpdk.org/supported/nics/ | 10:02 |
grive | are you able to find your model? | 10:02 |
grive | It seems to be this: https://doc.dpdk.org/guides/nics/bnxt.html | 10:03 |
grive | If not, then you won't be able to configure a dpdk-netdev port using this port in OvS | 10:03 |
Eryn_1983_FL | and... that was the port i was connecting to fml | 10:04 |
grive | Huh, what I mean by "it seems to be this", is that if it is supported, it should be with this driver, but you must check that you model is there | 10:04 |
grive | Haha | 10:04 |
Eryn_1983_FL | yeah | 10:04 |
grive | sorry, it happened to most I think | 10:04 |
Eryn_1983_FL | its ok i can restart it | 10:04 |
grive | but then, eth0 had an IP! | 10:04 |
Eryn_1983_FL | yeah it was on some bridge | 10:04 |
grive | yeah, sorry I should have made you check support first | 10:05 |
grive | but then, you should probably not try to add your management link in OvS | 10:05 |
grive | especially with DPDK, it will cut all existing connections | 10:06 |
Eryn_1983_FL | yeah | 10:07 |
Eryn_1983_FL | i need the drac console working right | 10:07 |
grive | I only find BCM57<n>0X, n >= 3 in supported NICS, seems your BCM5720 might not be | 10:08 |
grive | yes you can use it for OOB mgmt | 10:08 |
Eryn_1983_FL | i dont got a user to login to the console, its like i jump from one box to another to get to root | 10:08 |
Eryn_1983_FL | this shit is annoying | 10:08 |
Eryn_1983_FL | should I just remove dpdk? | 10:08 |
grive | I think so | 10:08 |
Eryn_1983_FL | ok | 10:08 |
*** armax has joined #openvswitch | 10:09 | |
Eryn_1983_FL | ty so much for you help | 10:10 |
grive | np, there is a lot to take first | 10:10 |
grive | especially if you are trying a DPDK config :\ | 10:10 |
Eryn_1983_FL | yeah boss had started this project and had some nodes setup already, when I can back from being laid off.. | 10:11 |
Eryn_1983_FL | dont got a clue how it all works.. | 10:11 |
Eryn_1983_FL | its nice when it works, its been down a few times already. i am not impressed | 10:11 |
grive | he might want to document the platforms on which his config works, that'd be helpful | 10:13 |
Eryn_1983_FL | yeah but all of them are down | 10:14 |
Eryn_1983_FL | so i got no known good, | 10:14 |
Eryn_1983_FL | ok i removed it now i am going to restart | 10:18 |
Eryn_1983_FL | see what happens | 10:18 |
Eryn_1983_FL | :) | 10:18 |
Eryn_1983_FL | ok same shit | 10:22 |
duso | back. Just skimmed through, you guys have been busy. So I have not messed with DPDK yet, but I was looking for another bridge or connection using eth0 that would not have let ovs bring it up. What is br-eth0? | 10:24 |
Eryn_1983_FL | i just found these | 10:25 |
Eryn_1983_FL | https://pastebin.com/iGZTUU4V | 10:26 |
Eryn_1983_FL | https://pastebin.com/PAKU0y7J | 10:26 |
Eryn_1983_FL | https://docs.openstack.org/operations-guide/ops-network-troubleshooting.html#troubleshooting-open-vswitch | 10:27 |
Eryn_1983_FL | i am guess its the bridge that connects the inside to the outside? | 10:27 |
Eryn_1983_FL | via vlan2? | 10:28 |
grive | the external bridge seems br-ex | 10:30 |
duso | but br-eth0 is not an openvswitch, it is just a normal linux bridge and it is using eth0 to connect all the guest vms (veth*) to the outside world. That is why openvswitch can not use it. | 10:31 |
Eryn_1983_FL | ok | 10:31 |
Eryn_1983_FL | so should i remove it? | 10:31 |
duso | so dumb question - what are you trying to achieve? I guess I need a better idea of the topology | 10:31 |
Eryn_1983_FL | openstack cluster, we did a hard reboot, | 10:32 |
Eryn_1983_FL | im trying to get the network back up so i can start he instances, | 10:32 |
Eryn_1983_FL | as far as topology i dont know | 10:32 |
duso | seems 6 guest vm's are using it, if you remove eth0 from br-eth0 then they will lose all conectivity | 10:32 |
Eryn_1983_FL | no vms are running | 10:32 |
Eryn_1983_FL | maybe the neutron stuff? i dunno | 10:33 |
Eryn_1983_FL | wish the openstack people would talk to me | 10:33 |
duso | how many interfaces does the host have? | 10:34 |
Eryn_1983_FL | 4 | 10:35 |
Eryn_1983_FL | https://pastebin.com/FwaitH0W | 10:35 |
duso | so everything was up and running fine, your boss made some changes but your not sure what, the system was rebooted and now something is not working? The opening question was ovs is not able to bring up eth0 on a port because the resource is busy with with br-eth0, but it looks like it is supposed to be that way. The name, br-eth0 suggests it is a bridge specifically for eth0, so the question is why is | 10:47 |
duso | ovs configured to try and use eth0 as well | 10:47 |
Eryn_1983_FL | ill ask him if he tried to put it in ovs when he wakes up | 10:49 |
Eryn_1983_FL | can we remove it for now? i can make me an account so i can login on drac out of band | 10:50 |
duso | This is a tough puzzle to crack without knowing a lot more info. Do you log in as your own username and sudo -i to root? Maybe go through your bosses history file to find out exactly what he did | 10:50 |
duso | can you paste out output of "ovs-vsctl show" "ip link" and "ip a" but if you have public IP's, you might want to mask the output of "ip a" | 10:55 |
Eryn_1983_FL | if he did it he did it in the gui | 10:56 |
Eryn_1983_FL | no their not public | 10:56 |
duso | also, do a "systemctl --failed" and see if everything restarted ok | 10:56 |
Eryn_1983_FL | https://pastebin.com/PAKU0y7J | 10:56 |
Eryn_1983_FL | yeah its all in the pastbins | 10:57 |
Eryn_1983_FL | https://pastebin.com/PAKU0y7J | 10:57 |
Eryn_1983_FL | ok big one | 10:59 |
Eryn_1983_FL | https://pastebin.com/BpywKzPH | 11:00 |
*** mmichelson has joined #openvswitch | 11:01 | |
Eryn_1983_FL | also why are there enos and eth0s on the same box? | 11:01 |
Eryn_1983_FL | jeebus | 11:01 |
Eryn_1983_FL | does that make anysense to you? pick one wtf. | 11:01 |
*** mmichelson_ has quit IRC | 11:02 | |
duso | little. I'll answer what I can. You have a four port nic, the system is renaming eno0 to eth0 and eno1 to eth1, eno2 is not getting renamed but IDK why eno4 is not eno3 | 11:04 |
duso | if you look at "journalctl -u systemd-networkd" it will help you make sense. Would be good to see if there are any error messages in there too | 11:06 |
duso | eno2 & eno4 are not important, it does not look like they are used and are down | 11:06 |
Eryn_1983_FL | https://pastebin.com/rxvRB65g | 11:06 |
duso | I think * | 11:06 |
Eryn_1983_FL | ok | 11:07 |
Eryn_1983_FL | says its not managed | 11:07 |
duso | yeah, I am seeing that too | 11:11 |
duso | you said there are no config files in /etc/systemd/network/ ? | 11:11 |
Eryn_1983_FL | nothing | 11:12 |
duso | so why is systemd-networkd daemon running then? | 11:13 |
Eryn_1983_FL | dunno | 11:14 |
duso | ok, lets attack this another way - do you know what IP address br-eth0 is supposed to have? | 11:14 |
Eryn_1983_FL | nope :( | 11:14 |
duso | nm, it has 172.27.1.2 | 11:15 |
Eryn_1983_FL | ok | 11:15 |
Eryn_1983_FL | yeah that one | 11:15 |
duso | so you can ping the gateway from the host? | 11:15 |
Eryn_1983_FL | i can get out | 11:16 |
duso | it seems your basic network is fine, the problem is something with openflow configuring the flows for eth0 and I don't know enough about SDN to help much with that | 11:17 |
Eryn_1983_FL | yeah it sucks | 11:17 |
Eryn_1983_FL | i dont know enough about it either | 11:17 |
*** slaweq_ has joined #openvswitch | 11:18 | |
*** slaweq has quit IRC | 11:21 | |
*** imaximets has quit IRC | 11:23 | |
duso | I found this, no solution though https://mail.openvswitch.org/pipermail/ovs-discuss/2018-April/046591.html | 11:23 |
*** imaximets has joined #openvswitch | 11:23 | |
duso | sorry Eryn, this one is beyond me. | 11:26 |
Eryn_1983_FL | np | 11:27 |
*** timothy has joined #openvswitch | 11:34 | |
*** yamamoto has joined #openvswitch | 11:37 | |
*** imaximets has quit IRC | 11:38 | |
*** imaximets has joined #openvswitch | 11:38 | |
*** erig has joined #openvswitch | 11:47 | |
*** fbl has joined #openvswitch | 11:51 | |
*** fbl has quit IRC | 12:03 | |
*** fbl has joined #openvswitch | 12:05 | |
*** bostondriver has joined #openvswitch | 12:47 | |
*** drizztbsd has joined #openvswitch | 13:03 | |
*** timothy has quit IRC | 13:03 | |
*** drizztbsd is now known as timothy | 13:03 | |
*** yamamoto has joined #openvswitch | 13:11 | |
*** yamamoto has quit IRC | 13:16 | |
*** tbachman has joined #openvswitch | 13:21 | |
*** FH_thecat has joined #openvswitch | 13:30 | |
*** rburkholder has quit IRC | 14:03 | |
*** rburkholder has joined #openvswitch | 14:04 | |
*** zhouhan has quit IRC | 14:11 | |
*** zhouhan has joined #openvswitch | 14:11 | |
*** dceara has quit IRC | 14:16 | |
*** dceara has joined #openvswitch | 14:19 | |
*** eelco has quit IRC | 15:16 | |
*** mmirecki has quit IRC | 15:29 | |
*** troulouliou_div2 has joined #openvswitch | 15:45 | |
*** troulouliou_div2 has joined #openvswitch | 15:45 | |
*** troulouliou_div2 has joined #openvswitch | 15:45 | |
*** dcbw has joined #openvswitch | 15:53 | |
*** strondeak has quit IRC | 16:13 | |
*** strondeak has joined #openvswitch | 16:14 | |
*** strondeak has quit IRC | 16:28 | |
*** strondeak has joined #openvswitch | 16:31 | |
*** zhouhan has quit IRC | 16:36 | |
*** zhouhan has joined #openvswitch | 16:37 | |
*** mmirecki has joined #openvswitch | 16:51 | |
*** mmirecki has quit IRC | 16:55 | |
*** zhouhan_ has joined #openvswitch | 17:08 | |
*** zhouhan has quit IRC | 17:11 | |
*** dholler has quit IRC | 17:17 | |
*** mmirecki has joined #openvswitch | 17:17 | |
*** mmirecki has quit IRC | 17:29 | |
*** psahoo has quit IRC | 17:29 | |
*** dholler has joined #openvswitch | 17:34 | |
*** anilvenkata has quit IRC | 18:12 | |
*** acidfu has quit IRC | 18:13 | |
*** acidfu has joined #openvswitch | 18:19 | |
*** acidfu has quit IRC | 18:23 | |
*** anilvenkata has joined #openvswitch | 18:27 | |
*** acidfu has joined #openvswitch | 18:28 | |
*** duso has quit IRC | 18:31 | |
*** duso has joined #openvswitch | 18:33 | |
*** dceara has quit IRC | 18:43 | |
Eryn_1983_FL | ?ss | 19:11 |
*** mbarroso has quit IRC | 19:29 | |
*** magnusj has joined #openvswitch | 20:27 | |
*** mmirecki has joined #openvswitch | 20:42 | |
*** anilvenkata has quit IRC | 20:58 | |
*** slaweq_ has quit IRC | 21:08 | |
*** slaweq_ has joined #openvswitch | 21:15 | |
*** slaweq_ has quit IRC | 21:19 | |
*** duso has quit IRC | 21:40 | |
*** timothy has quit IRC | 21:41 | |
*** duso has joined #openvswitch | 21:42 | |
*** mmirecki has quit IRC | 22:04 | |
*** zhouhan_ has quit IRC | 22:11 | |
*** zhouhan has joined #openvswitch | 22:12 | |
*** rcernin has joined #openvswitch | 22:22 | |
*** LisaMarie has joined #openvswitch | 22:38 | |
*** LisaMarie has quit IRC | 22:41 | |
*** zhouhan_ has joined #openvswitch | 23:06 | |
*** zhouhan has quit IRC | 23:09 | |
*** bostondriver has quit IRC | 23:16 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!