Can't create vmbr0 on clean installation

Hanz

New Member
Oct 24, 2017
2
0
1
47
Dear All,
Came across a nasty problem after installing Proxmox 5.1 on Debian 9.
Cant' create initial bridge vmbr0 and bridge it with eth interface. Get error:
Can't use an undefined value as an ARRAY reference at /usr/share/perl5/PVE/INotify.pm line 1181. (500)
Untitled.png
Any ideas on what could get wrong?
 
Hello,

do you have find a solutions for this problems ?
I have the same issue after a fresh installation of proxmox 5.2-1.

please help !
 
Maybe interaface names not eth0

Change default network name (ens33) to old “eth0” on Debian 9

vim /etc/default/grub

change:

GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

and

grub-mkconfig -o /boot/grub/grub.cfg

reboot
 
Hi Hollis

Yes, exactly, the network interface named eno1, i have make change in the /etc/default/grub and run the grub-mkconfig -o /boot/grub/grub.cfg, after reboot, the interface name change to eth0.

from the GUI interface, I tried to create an bridge interface, but same error :

Can't use an undefined value as an ARRAY reference at /usr/share/perl5/PVE/INotify.pm line 1187. (500)

I usually add this bridge interface to the file /etc/network/interfaces, but i don't find him.
On the other hand, i find the config networking in /etc/systemd/network/50-default.network !

Best regards
 

Attachments

  • Screenshot-2018-5-24 ns369117 - Proxmox Virtual Environment.png
    Screenshot-2018-5-24 ns369117 - Proxmox Virtual Environment.png
    8.8 KB · Views: 15
Make changes with hands and reboot?
Code:
~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
        address  A.B.C.D
        netmask  255.255.255.0
        gateway  A.B.C.254
        broadcast  A.B.C.255
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        network A.B.C.0
 
When i run the command cat /etc/network/interfaces :

Code:
cat: /etc/network/interfaces: No such file or directory

I tried to create it manually with the parameters that you put them, and restart the networking service :


May 24 11:28:41 ns369117 systemd[1]: Starting Raise network interfaces...
May 24 11:28:41 ns369117 ifup[9123]: Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
May 24 11:28:41 ns369117 ifup[9123]: RTNETLINK answers: File exists
May 24 11:28:41 ns369117 ifup[9123]: ifup: failed to bring up vmbr0
May 24 11:28:42 ns369117 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
May 24 11:28:42 ns369117 systemd[1]: Failed to start Raise network interfaces.
May 24 11:28:42 ns369117 systemd[1]: networking.service: Unit entered failed state.
May 24 11:28:42 ns369117 systemd[1]: networking.service: Failed with result 'exit-code'.


Failed to start the servcie.

Like whats i said, the configuration file is located in /ets/systemd/network/50-default.network
Code:
# cat /etc/systemd/network/50-default.network
# This file sets the IP configuration of the primary (public) network device.
# You can also see this as "OSI Layer 3" config.
# It was created by the OVH installer, please be careful with modifications.

[Match]
MACAddress=xx:xx:xx:xx:xx:xx

[Network]
Description=network interface on public network, with default route
DHCP=no
Address=a.b.c.x/24
Gateway=a.b.c.254
#IPv6AcceptRA=false
NTP=ntp.ovh.net
DNS=127.0.0.1
DNS=213.186.33.99
DNS=2001:41d0:3:163::1
Gateway=xxxx:xxxx:xx:xx:ff:ff:ff:ff:ff

[Address]
Address=xxxx:xxxx:xxxx:xxxx::/64

[Route]
Destination=xxxx:xxxx:xxxx:xxxx:ff:ff:ff:ff
Scope=link
 
All my instalation Debian 9 (and older) uses /etc/network/interfaces :(
Netinstall ISO without any Windows Manager
 
actually, my old Proxmox servers that I have installed, I find the file /etc/network/interfaces, but with this fresh install in a new server,
I fall on this new config.

Any advice for this issue please ?
 
hello

I am having this problem and still can't figure our how to fix it , i followed the link u post that resolve your problem but still i am getting same error messages u got when creating first network in proxmox Virtual Environment 5.4-5 on a fresh debian 9.9 version install

Code:
[Match]
Name=eno1
#MACAddress=ff:ff:ff:ff:ff

[Network]
Bridge=vmbr0
Description=network interface on public network, with default route
DHCP=no
Address=a.b.c.d/24
Gateway=a.b.c.254
IPv6AcceptRA=no
NTP=ntp.ovh.net
DNS=127.0.0.1
DNS=213.186.33.99
DNS=2001:41d0:3:163::1
Gateway=xxxx:xxxx:xx:xx:ff:ff:ff:ff:ff

[Address]
Address=xxxx:xxxx:xxxx:xxxx::/64

[Route]
Destination=xxxx:xxxx:xxxx:xxxx:ff:ff:ff:ff
Scope=link

does anyone know how to fix this on systemd.network ? not legacy network?
 

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!