Hi blp, Shetty,

Sorry for my late reply.
uname -a: 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64
x86_64 x86_64 GNU/Linux

before restarting network:
[[email protected] openvswitch]# ovs-vsctl show
c5ee1b0f-e7ec-4c73-a3fa-c79662619cba
    Bridge "ovsbr0"
        Port "v5254007ec542"
            tag: 142
            Interface "v5254007ec542"
        Port "bond0"
            Interface "bond0"
        Port "ovsbr0"
            tag: 150
            Interface "ovsbr0"
                type: internal

after: http://imgur.com/jU4CY2i (sorry for a image link, because the
network was lost I had to use virtual console thus unable to copy text)

We can see both the vlan tag and the port I created for a virtual machine
was lost after the network restart.
I think it might be related to /etc/sysconfig/network-scripts/ifup-ovs,
since this is the only point ovs relates to `service network restart`.

And there are no special logs in ovs-ctl.log, ovsdb-server.log, and
ovs-vswitchd.log. But my ovs-vswitchd.log keeps logging following lines
every second, is this relevant?:

2015-11-12T02:33:57.516Z|584314|dpif(revalidator406)|WARN|Dropped 3 log
messages in last 1 seconds (most recently, 1 seconds ago) due to excessive
rate
2015-11-12T02:33:57.516Z|584315|dpif(revalidator406)|WARN|system@ovs-system:
get_stats failed (No such file or directory)
2015-11-12T02:33:57.516Z|584316|netlink_socket(revalidator406)|INFO|Dropped
1 log messages in last 1 seconds (most recently, 1 seconds ago) due to
excessive rate
2015-11-12T02:33:57.516Z|584317|netlink_socket(revalidator406)|INFO|netlink
dump request error (No such file or directory)
2015-11-12T02:33:58.518Z|584318|dpif(revalidator406)|WARN|Dropped 3 log
messages in last 1 seconds (most recently, 1 seconds ago) due to excessive
rate
2015-11-12T02:33:58.518Z|584319|dpif(revalidator406)|WARN|system@ovs-system:
get_stats failed (No such file or directory)
2015-11-12T02:33:58.518Z|584320|netlink_socket(revalidator406)|INFO|Dropped
1 log messages in last 1 seconds (most recently, 1 seconds ago) due to
excessive rate
2015-11-12T02:33:58.518Z|584321|netlink_socket(revalidator406)|INFO|netlink
dump request error (No such file or directory)
2015-11-12T02:33:59.520Z|584322|dpif(revalidator406)|WARN|Dropped 3 log
messages in last 1 seconds (most recently, 1 seconds ago) due to excessive
rate
2015-11-12T02:33:59.520Z|584323|dpif(revalidator406)|WARN|system@ovs-system:
get_stats failed (No such file or directory)
2015-11-12T02:33:59.520Z|584324|netlink_socket(revalidator406)|INFO|Dropped
1 log messages in last 1 seconds (most recently, 1 seconds ago) due to
excessive rate
2015-11-12T02:33:59.520Z|584325|netlink_socket(revalidator406)|INFO|netlink
dump request error (No such file or directory)
2015-11-12T02:34:00.520Z|584326|dpif(revalidator406)|WARN|Dropped 3 log
messages in last 1 seconds (most recently, 1 seconds ago) due to excessive
rate
2015-11-12T02:34:00.520Z|584327|dpif(revalidator406)|WARN|system@ovs-system:
get_stats failed (No such file or directory)
2015-11-12T02:34:00.520Z|584328|netlink_socket(revalidator406)|INFO|Dropped
1 log messages in last 1 seconds (most recently, 1 seconds ago) due to
excessive rate
2015-11-12T02:34:00.520Z|584329|netlink_socket(revalidator406)|INFO|netlink
dump request error (No such file or directory)

On 11 November 2015 at 03:28, Ben Pfaff <[email protected]> wrote:

> On Tue, Nov 10, 2015 at 08:52:19PM +0800, Tashi Lu wrote:
> > I set a tag on a port, but once I restart the network service, e.g.
> > /etc/init.d/network restart, the tag will be lost, tested on both 2.3.2
> and
> > 2.4.0. Is this normal? How can I make vlan tag persistent?
>
> No, that doesn't make sense.
>
> How are you setting up your configuration?
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to