[SOLVED] PVE4: no network bridges/interfaces in network (Not a HASH reference?)

Cipher

New Member
Jul 15, 2015
12
0
1
Germany, Hamburg
Hi,

after a short stint/look at 3.x, I decided to go with 4. But after the install and upgrade I don't have any network bridges in the network tab in the webinterface. Creating a new bridge with the second unused network card results in an error: Not a HASH reference at /usr/share/perl5/PVE/API2/Network.pm line 213. (500)
pve1.PNG
The corresponding line in Network.pm: raise_param_exc({ gateway => "Default gateway already exists on interface '$iface'." })
My /etc/network/interfaces file (nothing changed):
Code:
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
        address  192.168.1.50
        netmask  255.255.255.0
        gateway  192.168.1.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

When I remove the default gateway I can click create, but nothing happens. I can reboot, nothing changes (something happens to the file, my test #comment got deleted)...

I have the "Error: Not a HASH reference at /usr/share/perl5/PVE/RESTHandler.pm line 568. (500)" as well in the Pending Changes (please reboot), but it doesn't go away after a reboot.

corresponding line (the second one):
Code:
foreach my $k (keys %$hash) {        
$hash->{$k}->{$idprop} = $k;
push @$res, $hash->{$k};
}

Cheers!

Edit: other parts of the interface work as expected (backup, firewall, ...).
 
Last edited:
You use an older version of the PVE4 Beta - the screenshot says pve-manager is 4.0Beta-16 actual is 4.0Beta-26, please update your system and test again.
As far as I've seen it's already fixed there.
 
You use an older version of the PVE4 Beta - the screenshot says pve-manager is 4.0Beta-16 actual is 4.0Beta-26, please update your system and test again.
As far as I've seen it's already fixed there.
Thank you! I needed to do apt-get dist-upgrade because the vlan package needed to be removed, normal apt-get upgrade didn't suffice. It works :)
 

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!