Problem with pveca

hec

Renowned Member
Jan 8, 2009
278
18
83
Wien
www.vector-its.at
I installed a new server with proxmox 1.9

Code:
pmx-00:/vz# pveca -cmissing ip address for node '1'
pmx-00:/vz# pveversion 
pve-manager/1.9/6542
pmx-00:/vz# pveversion -v
pve-manager: 1.9-24 (pve-manager/1.9/6542)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 1.9-47
pve-kernel-2.6.32-6-pve: 2.6.32-47
qemu-server: 1.1-32
pve-firmware: 1.0-14
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-2pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.0-6

I tried to create the cluster with pveca -c and got following message:

Code:
missing ip address for node '1'
I think the pveca script has a problem with my network config.

Here is my interfaces file:
Code:
auto loiface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual




auto bond0
iface bond0 inet manual
    slaves eth0 eth1
    bond_miimon 100
    bond_mode 4


auto bond0.101
iface bond0.101 inet manual
        vlan-raw-device bond0


auto bond0.102
iface bond0.102 inet manual
    vlan-raw-device bond0


auto bond0.110
iface bond0.110 inet manual
    vlan-raw-device bond0


auto bond0.111
iface bond0.111 inet manual
    vlan-raw-device bond0


auto bond0.120
iface bond0.120 inet manual
        vlan-raw-device bond0


auto vmbr0
iface vmbr0 inet manual
    bridge_ports bond0.101
    bridge_stp off
    bridge_fd 0


auto vmbr1
iface vmbr1 inet static
    address 10.0.8.101
    netmask 255.255.255.0
    gateway 10.0.8.1
        bridge_ports bond0.102
        bridge_stp off
        bridge_fd 0


auto vmbr2
iface vmbr2 inet manual
        bridge_ports bond0.110
        bridge_stp off
        bridge_fd 0


auto vmbr3
iface vmbr3 inet manual
        bridge_ports bond0.111
        bridge_stp off
        bridge_fd 0


auto vmbr4
iface vmbr4 inet manual
        bridge_ports bond0.120
        bridge_stp off
        bridge_fd 0

I have eth0 and eth1 in bonding mode. On the bonding device there are 5 vlans and for every vlan i have on bridge. Only the vmbr1 has a ip.

Any ideas how to solve this problem?
 
I think the problem is that vmbr0 needs a ip and not only one of the vmbr. Are i'm right?

Yes. PVE uses the IP address of 'eth0' or 'vmbr0' for the cluster, but your setup dos not assign addresses to both of those devices.
 
you need assign an IP address to eth0 or vmbr0. otherwise the cluster communication will not work.
 

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!