Hello.
I had a serious problem last Sunday when the package openvswitch-switch was upgraded and all the VMs were out of network, until I thought of doing
After setting up a test hypervisor, and many tests, I tracked down the issue to :
Would there be some way of adding
And it would be nice to have a command to re-attach all the VMs to the bridge, instead of changing arbitrary parameters through the GUI once for each VM...
I'm surprise such a bug would creep on me and not impact others.
Best regards.
I had a serious problem last Sunday when the package openvswitch-switch was upgraded and all the VMs were out of network, until I thought of doing
ifup lan0
on each hosts.After setting up a test hypervisor, and many tests, I tracked down the issue to :
systemctl restart ovs-vswitchd
crash vm networks, butifreload -a
get it up againsystemctl restart networking
crash vm networks, butifreload -a
is not enough. I need to change a parameter on the vm config (like firewall=1) and back to get network back.
Code:
cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp1s0 inet manual
auto lan0
iface lan0 inet static
address 10.1.253.1/24
ovs_type OVSIntPort
ovs_bridge vmbr1
auto vmbr0
iface vmbr0 inet static
address 172.30.1.3/12
gateway 172.16.0.1
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports lan0
#bappli_tinc
Would there be some way of adding
ifreload -a
to the ovs-vswitchd
service restart or something ?And it would be nice to have a command to re-attach all the VMs to the bridge, instead of changing arbitrary parameters through the GUI once for each VM...
I'm surprise such a bug would creep on me and not impact others.
Best regards.