[ovs-discuss] 答复: can't remove openvswitch.ko with "modprobe -r openvswitch "
Hi Justin, Thanks for your help. Yes, I have checked the dependencies of openvswitch.ko, the results as below: [root@localhost bai_ovs_2.5]# lsmod | grep openvswitch openvswitch 258935 1 nf_defrag_ipv6 34651 1 openvswitch gre13808 1 openvswitch nf_defrag_ipv4 12729 2 openvswitch,nf_conntrack_ipv4 nf_conntrack 101024 5 openvswitch,nf_nat,nf_nat_ipv4,iptable_nat,nf_conntrack_ipv4 libcrc32c 12644 3 xfs,btrfs,openvswitch [root@localhost bai_ovs_2.5]# modprobe --show-depends openvswitch insmod /lib/modules/3.10.0-123.el7.x86_64/kernel/lib/libcrc32c.ko insmod /lib/modules/3.10.0-123.el7.x86_64/kernel/net/ipv4/gre.ko insmod /lib/modules/3.10.0-123.el7.x86_64/kernel/net/netfilter/nf_conntrack.ko insmod /lib/modules/3.10.0-123.el7.x86_64/kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko insmod /lib/modules/3.10.0-123.el7.x86_64/kernel/net/ipv6/netfilter/nf_defrag_ipv6.ko insmod /lib/modules/3.10.0-123.el7.x86_64/extra/openvswitch.ko I have tried to rmmod these dependancies, but still faild. The error is shown "modprobe: FATAL: Module *** is in use” same as Openvswitch kernel model. I have tested uninstallation would be faild once I added an ovs bridge witch command "ovs-vsctl add-br br0", even though I have killed ovs-vswitchd and ovsdb procedure. If I remove all ovs bridges with command "ovs-vsctl del-br", the uninstallation still faild. I don't know what happened. Thanks -邮件原件- 发件人: Justin Pettit [mailto:jpet...@ovn.org] 发送时间: 2016年10月10日 14:06 收件人: xiongzhiwei抄送: discuss@openvswitch.org 主题: Re: [ovs-discuss] can't remove openvswitch.ko with "modprobe -r openvswitch " You might check the log files. You might also check "lsmod" and see if there's any dependency on it. --Justin > On Oct 9, 2016, at 2:10 AM, xiongzhiwei wrote: > > Hi all, > I have updated my ovs from 2.3.2 to 2.5, I want to remove the openvswitch.ko > with “modprobe –r openvswitch”, but it doesn’t work. > For the ovs 2.3.2, there is no this problem. > > Who can tell me how to uninstall the ovs? > > Thanks and regards > > Zhiwei Xiong > > > > 熊志伟 Xiong Zhiwei > Mob:(+86) 186-1840-0861 > E-mail:xiongzhi...@baicells.com > 北京佰才邦技术有限公司Baicells Technologies Co. Ltd. > > > 本邮件及其附件含有北京佰才邦技术有限公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! > This e-mail and its attachments contain confidential information from > Baicells Technologies Co. Ltd., which is intended only for the person or > entity whose address is listed above. Any use of the information contained > herein in any way (including, but not limited to, total or partial > disclosure, reproduction, or dissemination) by persons other than the > intended recipient(s) is prohibited. If you receive this e-mail in error, > please notify the sender by phone or email immediately and delete it! > > ___ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
[ovs-discuss] [ovn][networking-sfc]
Networking-sfc and ovn install guide says "port_security" must be enabled when enabling networkin-sfc (networking-ovn/doc/source/install.rst -- line 165) In my use cases it gets too complicated if I use port-security, so was disabling it. Please let me know if there is any hard requirement that this MUST be enabled in Neutron? -Murali ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] [ovs-announce] OvS-DPDK Design Summit - Nov 9th San Jose
We won’t be videoing the sessions but I’ll get summarized minutes out after this. Will publish here on the mailing list. Robin From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Christian Ehrhardt Sent: Monday, October 10, 2016 3:42 PM To: Flavio LeitnerCc: discuss ; annou...@openvswitch.org Subject: Re: [ovs-discuss] [ovs-announce] OvS-DPDK Design Summit - Nov 9th San Jose On Mon, Oct 10, 2016 at 2:52 PM, Flavio Leitner > wrote: We welcome participants interested in DPDK enabled Open vSwitch to attend this one-day event. There will be 4 90-minute discussion slots to cover the most important aspects of it, take actions and plan next steps together. Hi, but for those unable to attend any chance you are planning on grabbing the discussions on video and make the few slides available (I expect this to be more talk and less slides thou)? Maybe and I know people hate the word, but someone writing summarized minutes :-) ? -- Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd -- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] switch notifies different controllers
Thank you > On Oct 7, 2016, at 2:06 AM, Justin Pettitwrote: > > In OVS, I think the "controller" action with "id=" set will do what you need. > You cross-posted this to a number of lists, so I don't know to whom you are > actually posing this question, though. > > --Justin > > >> On Oct 5, 2016, at 2:56 PM, AMER wrote: >> >> Dear All >> >> I am having two controllers (c1,c2) and multiple switches are connected to >> both of them. C1 controller needs to be notified when a particular packet >> arrives at a switch. On the other hand, when another particular packet >> arrives at the same or different switch c2 needs to be notified. The >> switches are connected to both of the controller, however, i want to use >> something other than "of.controller" in the flow-rules that matched those >> two particular packets, something like " outport=c1 or c2". >> >> Best regards, >> Amer >> ___ >> discuss mailing list >> discuss@openvswitch.org >> http://openvswitch.org/mailman/listinfo/discuss > ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] switch notifies different controllers
Thank you > On Oct 7, 2016, at 2:06 AM, Justin Pettitwrote: > > In OVS, I think the "controller" action with "id=" set will do what you need. > You cross-posted this to a number of lists, so I don't know to whom you are > actually posing this question, though. > > --Justin > > >> On Oct 5, 2016, at 2:56 PM, AMER wrote: >> >> Dear All >> >> I am having two controllers (c1,c2) and multiple switches are connected to >> both of them. C1 controller needs to be notified when a particular packet >> arrives at a switch. On the other hand, when another particular packet >> arrives at the same or different switch c2 needs to be notified. The >> switches are connected to both of the controller, however, i want to use >> something other than "of.controller" in the flow-rules that matched those >> two particular packets, something like " outport=c1 or c2". >> >> Best regards, >> Amer >> ___ >> discuss mailing list >> discuss@openvswitch.org >> http://openvswitch.org/mailman/listinfo/discuss > ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
[ovs-discuss] Access all OVS VLANs via VPN without OVS tunnels
Hi everyone, I am fighting long time with the following problem: +-+ | Server | | | +---+ | | | Laptop | | Bridge | | | ++-+-++ +---+---+ | vpn | vme| vme.10 | vnet1 | +--+ | vme.10 | vme | || | tag=10 | tag=10 | | Virtual | 192.168.10.2|192.168.0.2+--->| | |<--+ machine | +---+---+ ++-+-++ +--+ vme.10: Linux VLAN with id=10 vme: ovs bridge [192.168.0.1] vme:VPN tap vme.10: port for VLAN 10 access [192.168.10.200] vpn: port used by VPN server [] vnet1: auto-created by libvirt [] $ ovs-vsctl show Bridge vme Port "vnet1" tag: 10 Interface "vnet1" Port vpn Interface vpn type: internal Port "vme.10" tag: 10 Interface "vme.10" type: internal Port vme Interface vme type: internal I want my laptop to be able to access both 192.168.0.1 and 192.168.10.200, which are untagged and tagged accordingly, but I don't need Open vSwitch on it to establish GRE tunnels, etc. I have tried to set trunk on vpn interface: $ ovs-vsctl set port vpn trunk=10,20 vlan_mode=native-untagged but it doesn't help, I still can ping 192.168.0.1, but not 192.168.10.200. Only when I set a tag for vpn: $ ovs-vsctl set port vpn tag=10 then I can ping 192.168.10.200, but lose a connection to 192.168.0.1, as well. So, how can I have both "networks" accessible via VPN connection? NOTE: while writing this letter, I had obtained that VLAN device on my laptop doesn't work at all with ovs. I mean it works only via untagged interface: $ ping -I vme 192.168.10.200 PING 192.168.10.200 (192.168.10.200) from 192.168.10.120 vme: 56(84) bytes of data. 64 bytes from 192.168.10.200: icmp_seq=1 ttl=64 time=3.65 ms 64 bytes from 192.168.10.200: icmp_seq=2 ttl=64 time=1.99 ms ... $ ping -I vme.10 192.168.10.200 PING 192.168.10.200 (192.168.10.200) from 192.168.10.100 vme.10: 56(84) bytes of data. --- 192.168.10.200 ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 3999ms $ ip addr vme:mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 link/ether 00:ac:35:cf:e6:4a brd ff:ff:ff:ff:ff:ff inet 192.168.0.2/24 brd 192.168.0.255 scope global vpn_vme valid_lft forever preferred_lft forever inet 192.168.10.120/24 scope global vpn_vme vme.10@vme: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 8a:9f:f0:db:3e:93 brd ff:ff:ff:ff:ff:ff inet 192.168.10.100/24 scope global vme.10 This implies another question: does OVS support native Linux VLAN tags? Thanks in advance! Best regards from Sergii Maksymov ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
[ovs-discuss] [OFF Topic] test
Hi, Yesterday I've sent a mail to the list, and I although subscribed, didn't got it (I have delivery of own messages set to On on the mailman setup page), I've found my e-mail in the archives though. This is just a test message. Thank you for your patience and sorry for the SPAM. Cheers, Geza ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] remote syslog on ovs
On Mon, Oct 10, 2016 at 03:53:06PM +0200, Jannis Ohms wrote: > I am currently trying to configure remote logging. > I want to forward my log to a remote syslog server. > I have seen that it is possible to configure syslog as a log target using > ovs-apctl. But where can i specify a remote syslog server? --syslog-target. See ovs-vswitchd(8). ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] [ovs-announce] OvS-DPDK Design Summit - Nov 9th San Jose
On Mon, Oct 10, 2016 at 2:52 PM, Flavio Leitnerwrote: > We welcome participants interested in DPDK enabled Open vSwitch to attend > this one-day event. There will be 4 90-minute discussion slots to cover > the most important aspects of it, take actions and plan next steps > together. > Hi, but for those unable to attend any chance you are planning on grabbing the discussions on video and make the few slides available (I expect this to be more talk and less slides thou)? Maybe and I know people hate the word, but someone writing summarized minutes :-) ? -- Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] can't remove openvswitch.ko with "modprobe -r openvswitch "
> On Oct 10, 2016, at 2:05 AM, Justin Pettitwrote: > > You might check the log files. You might also check "lsmod" and see if > there's any dependency on it. > Also, see if this is related to a known issue that was discussed here [1]. I never got look at the code that Jesse suggested [2]; sorry! -- flaviof [1]: http://openvswitch.org/pipermail/discuss/2016-September/thread.html#22751 [2]: http://openvswitch.org/pipermail/discuss/2016-September/022762.html > --Justin > > >> On Oct 9, 2016, at 2:10 AM, xiongzhiwei wrote: >> >> Hi all, >> I have updated my ovs from 2.3.2 to 2.5, I want to remove the openvswitch.ko >> with “modprobe –r openvswitch”, but it doesn’t work. >> For the ovs 2.3.2, there is no this problem. >> >> Who can tell me how to uninstall the ovs? >> >> Thanks and regards >> >> Zhiwei Xiong >> >> >> >> 熊志伟 Xiong Zhiwei >> Mob:(+86) 186-1840-0861 >> E-mail:xiongzhi...@baicells.com >> 北京佰才邦技术有限公司Baicells Technologies Co. Ltd. >> >> >> 本邮件及其附件含有北京佰才邦技术有限公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! >> This e-mail and its attachments contain confidential information from >> Baicells Technologies Co. Ltd., which is intended only for the person or >> entity whose address is listed above. Any use of the information contained >> herein in any way (including, but not limited to, total or partial >> disclosure, reproduction, or dissemination) by persons other than the >> intended recipient(s) is prohibited. If you receive this e-mail in error, >> please notify the sender by phone or email immediately and delete it! >> >> ___ >> discuss mailing list >> discuss@openvswitch.org >> http://openvswitch.org/mailman/listinfo/discuss > > ___ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
[ovs-discuss] remote syslog on ovs
I am currently trying to configure remote logging. I want to forward my log to a remote syslog server. I have seen that it is possible to configure syslog as a log target using ovs-apctl. But where can i specify a remote syslog server? greetings Jannis ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] [ovs-announce] OvS-DPDK Design Summit - Nov 9th San Jose
Hello, We welcome participants interested in DPDK enabled Open vSwitch to attend this one-day event. There will be 4 90-minute discussion slots to cover the most important aspects of it, take actions and plan next steps together. The first slots are defined and the last one is open for proposals. * Performance improvements Moderator: Jan Scheurich (Ericsson) * Usability improvements and testing Moderator: Daniele Di Proietto (VMware) * HW acceleration of user space data path and functions Moderator: Flavio B. Leitner (Red Hat) * (open for proposals) To register a participant or for more information about the event please check the eventbrite link here: https://www.eventbrite.ie/e/ovs-dpdk-design-summit-tickets-27577437859 To propose a topic or to reach the organisers, please send an email to: Robin GillerRashid Khan Look forward to seeing you there. Best Regards, -- fbl ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
Re: [ovs-discuss] can't remove openvswitch.ko with "modprobe -r openvswitch "
You might check the log files. You might also check "lsmod" and see if there's any dependency on it. --Justin > On Oct 9, 2016, at 2:10 AM, xiongzhiweiwrote: > > Hi all, > I have updated my ovs from 2.3.2 to 2.5, I want to remove the openvswitch.ko > with “modprobe –r openvswitch”, but it doesn’t work. > For the ovs 2.3.2, there is no this problem. > > Who can tell me how to uninstall the ovs? > > Thanks and regards > > Zhiwei Xiong > > > > 熊志伟 Xiong Zhiwei > Mob:(+86) 186-1840-0861 > E-mail:xiongzhi...@baicells.com > 北京佰才邦技术有限公司Baicells Technologies Co. Ltd. > > > 本邮件及其附件含有北京佰才邦技术有限公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! > This e-mail and its attachments contain confidential information from > Baicells Technologies Co. Ltd., which is intended only for the person or > entity whose address is listed above. Any use of the information contained > herein in any way (including, but not limited to, total or partial > disclosure, reproduction, or dissemination) by persons other than the > intended recipient(s) is prohibited. If you receive this e-mail in error, > please notify the sender by phone or email immediately and delete it! > > ___ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss