[ovs-dev] OvS on OpenVZ
Ben Pfaff
blp at nicira.com
Wed Feb 3 23:02:40 UTC 2010
On Wed, Feb 03, 2010 at 02:58:03PM -0500, Eric Murray wrote:
> When using the ovs-dpctl utility to remove interfaces from a given datapath,
> I get the warning:
[...]
> Could this warning be related to the problem I'm having with accessing the
> outside world from a VM?
The important facts for determining whether a VM can access the outside
world are:
1. Are both the VM and the physical ethernet interface
configured in the Open vSwitch configuration file to be on the
same bridge (datapath)? You can find this out by looking at
your ovs-vswitchd.conf, which should have lines like:
bridge.br0.port = eth1
bridge.br0.port = vif1.0
The port names may differ of course.
2. Did ovs-vswitchd actually add these to the datapath? You can
find out by running "ovs-dpctl show".
Other things can go wrong too but those are the basics.
> Feb 03 14:49:16|00023|brcompatd|INFO|ovs-appctl wrote to stderr:
> cat: /usr/local/var/run/ovs-vswitchd.pid: No such file or directory
> Error connecting to "/usr/local/var/run/ovs-vswitchd..ctl": No such file or
> directory
You configured OVS to use directories that don't exist on your system.
You should create /usr/local/var/run or you should configure OVS to use
directories that already exist.
More information about the dev
mailing list