[SOLVED] 4.0-48 openvswitch issue

Q-wulf

Renowned Member
Mar 3, 2013
613
39
93
my test location
i've noticed that with Proxmox 4.0-48 openvswitch does not work as before anymore.
Code:
pveversion -v
proxmox-ve: 4.0-16 (running kernel: 4.2.2-1-pve)
pve-manager: 4.0-48 (running version: 4.0-48/0d8559d0)
pve-kernel-4.2.2-1-pve: 4.2.2-16
lvm2: 2.02.116-pve1
corosync-pve: 2.3.5-1
libqb0: 0.17.2-1
pve-cluster: 4.0-22
qemu-server: 4.0-30
pve-firmware: 1.1-7
libpve-common-perl: 4.0-29
libpve-access-control: 4.0-9
libpve-storage-perl: 4.0-25
pve-libspice-server1: 0.12.5-1
vncterm: 1.2-1
pve-qemu-kvm: 2.4-9
pve-container: 1.0-6
pve-firewall: 2.0-12
pve-ha-manager: 1.0-9
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.3-1
lxcfs: 0.9-pve2
cgmanager: 0.37-pve2
criu: 1.6.0-1
zfsutils: 0.6.5-pve4~jessie
openvswitch-switch: 2.3.0+git20140819-3



I use the following steps to setup the network:

install Proxmox from Image, then
  • apt-get update && apt-get upgrade
  • apt-get install openvswitch-switch

go to proxmox gui,
  • delete vmbro
  • create ovs bridge vmbr0 (bridge ports: eth0)
  • create ovs IntPort vlan192 ( Ovs Bridge: vmbr0, Ip 192.168.2.101, 255.255.255.0, gateway: 192.168.2.1)
  • create ovs IntPort vlan1 ( Ovs Bridge: vmbr0, ip 10.1.1.1, 255.255.255.0, vlan-tag=1)
  • create ovs IntPort vlan0 ( Ovs Bridge: vmbr0, ip 10.0.1.1, 255.255.0.0, vlan-tag=4000)


looks like this in gui:
Screen Shot 2015-10-19 at 01.21.00.png

restart Proxmox.



no Problems with
  • Proxmox4 beta 2
  • Proxmox4 initial release

Problem with Proxmox 4.0-48:
--> Networks do not come up.
--> temp-fix (after every reboot):
  • login on physical machine
  • execute /etc/init.d/networking restart

What seems to be the issue post initial release of proxmox 4 ?
 
Last edited:
You simply use a wrong openvswitch-switch package (2.3.0+git20140819-3). We deliver version 2.3.2 with our repositories.
 
nano /etc/apt/sources.list
debhttp://ftp.de.debian.org/debian jessie main contrib


# security updates
debhttp://security.debian.org jessie/updates main contrib


nano /etc/apt/sources.list.d/pve-enterprise.list


nano /etc/apt/sources.list.d/ceph.list


seems like its missing the proxmox no subscription repository.

Its kinda weird, cause i installed it fresh from the Proxmox4 release image, like i had done a multitude of times before, and then

apt-get update && apt-get upgrade.


I did 3 fresh installs before i decided to post to the forums. I can only assume the issue was the same as it had teh same symptoms




Edit:

I have now fixed the repos according to
https://pve.proxmox.com/wiki/Package_repositories



edit2:

Works now as intended - networks come up automatically after a reboot.

pveversion -v
proxmox-ve: 4.0-16 (running kernel: 4.2.2-1-pve)
pve-manager: 4.0-50 (running version: 4.0-50/d3a6b7e5)
pve-kernel-4.2.2-1-pve: 4.2.2-16
lvm2: 2.02.116-pve1
corosync-pve: 2.3.5-1
libqb0: 0.17.2-1
pve-cluster: 4.0-23
qemu-server: 4.0-31
pve-firmware: 1.1-7
libpve-common-perl: 4.0-29
libpve-access-control: 4.0-9
libpve-storage-perl: 4.0-27
pve-libspice-server1: 0.12.5-1
vncterm: 1.2-1
pve-qemu-kvm: 2.4-10
pve-container: 1.0-10
pve-firewall: 2.0-12
pve-ha-manager: 1.0-10
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.3-1
lxcfs: 0.9-pve2
cgmanager: 0.37-pve2
criu: 1.6.0-1
zfsutils: 0.6.5-pve4~jessie
openvswitch-switch: 2.3.2-1

edit3:

Image was burned on 06.10.2015

Release.txt states:

Release Notes:
--------------


05.10.2015: Proxmox Virtual Environment 4.0


- based on Debian 8.2


- new kernel 4.2.1
[...]
 
Last edited:

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 yours easily in our online shop.

Buy now!