open-vswitch issue

lexa500

New Member
Feb 23, 2016
12
0
1
39
Hello! I have freshly installed and update proxmox system.
my /etc/network/interfaces file is
Code:
auto lo
iface lo inet loopback
#auto vlan101
#iface vlan101 inet manual
#vlan-raw-device eth1
#iface vlan2762
#auto vmbr0
#iface vmbr0 inet static
#    address 10.111.1.31
#    netmask 255.255.255.0
#    gateway 10.111.1.1
#    bridge_ports vlan101
#    bridge_stp off
#    bridge_fd 0

allow-ovs vmbr0

allow-vmbr0 eth0
iface eth0 inet manual
    ovs_type OVSPort
    ovs_bridge vmbr0

iface eth0 inet manual

allow-vmbr0 vlan101
iface vlan101 inet static
    address  10.111.1.44
    netmask  255.255.255.0
    gateway  10.111.1.1
    ovs_type OVSIntPort
    ovs_bridge vmbr0
    ovs_options tag=101
    ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif

allow-vmbr1 eth1
iface eth1 inet manual
    ovs_type OVSPort
    ovs_bridge vmbr1

auto vmbr0
iface vmbr0 inet manual
    ovs_type OVSBridge
    ovs_ports eth0 vlan101

auto vmbr1
iface vmbr1 inet manual
    ovs_type OVSBridge
    ovs_ports eth1
If I reboot the server - nothing goes up, no ip adresses etc! if I restart the networking via /etc/init.d - everything is fine.
Any ideas?
 

lexa500

New Member
Feb 23, 2016
12
0
1
39
also i have this in logs
Code:
Jan 31 02:34:34 foxy openvswitch-switch[2108]: /etc/openvswitch/conf.db does not exist ... (warning).
Jan 31 02:34:35 foxy ovs-vsctl[2275]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists del-port vmbr0 eth0
Jan 31 02:34:35 foxy ovs-vsctl[2275]: ovs|00002|vsctl|ERR|unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy networking[2207]: Deconfiguring network interfaces...ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy openvswitch-switch[2108]: Creating empty database /etc/openvswitch/conf.db.
Jan 31 02:34:35 foxy systemd[1]: Started System Logging Service.
Jan 31 02:34:35 foxy systemd[1]: Starting LXC Container Initialization and Autoboot Code...
Jan 31 02:34:35 foxy networking[2207]: ifdown: interface eth0 not configured
Jan 31 02:34:35 foxy networking[2207]: ifdown: interface vlan101 not configured
Jan 31 02:34:35 foxy ovs-vsctl[2324]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists del-br vmbr0
Jan 31 02:34:35 foxy ovs-vsctl[2324]: ovs|00002|vsctl|ERR|unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy networking[2207]: ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy networking[2207]: done.
Jan 31 02:34:35 foxy systemd[1]: Starting LSB: Raise network interfaces....
Jan 31 02:34:35 foxy ovs-vsctl[2355]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --may-exist add-br vmbr0 --
Jan 31 02:34:35 foxy ovs-vsctl[2355]: ovs|00002|vsctl|ERR|unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy networking[2334]: Configuring network interfaces...ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy ovs-vsctl[2364]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --may-exist add-port vmbr0 eth0 --
Jan 31 02:34:35 foxy ovs-vsctl[2364]: ovs|00002|vsctl|ERR|unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy networking[2334]: ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Jan 31 02:34:35 foxy openvswitch-switch[2108]: Starting ovsdb-server.
Jan 31 02:34:35 foxy ovs-vsctl[2402]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --no-wait -- init -- set Open_vSwitch . db-version=7.6.0
Jan 31 02:34:35 foxy systemd[1]: Started LXC Container Initialization and Autoboot Code.
Jan 31 02:34:35 foxy ovs-vsctl[2422]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --no-wait set Open_vSwitch . ovs-version=2.3.0 "external-ids:system-id=\"beac9d17-e8a9-4127-b03f-0b9a67aa225b\"" "system-type=\"unknown\"" "system-version=\"unknown\""
Jan 31 02:34:35 foxy openvswitch-switch[2108]: Configuring Open vSwitch system IDs.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!