Failure when creating an openvz VM

snesreviews

New Member
Jul 7, 2008
26
0
1
No idea what's happening here - happens on two different proxmox boxes. Can't see where the mac address is getting passed and I'm assuming a half empty comma separated string is bad. This is created by the GUI:

vzctl set 108 --vmguarpages 65792:9223372036854775807 --oomguarpages 65792:9223372036854775807 --privvmpages 65792:72371 --lockedpages 65536:65536 --diskspace 10485760:11534336 --diskinodes 2000000:2200000 --cpus 1 --hostname bsuse9132 --searchdomain belfast.wombatfs.com --netif_add eth0,,, --onboot yes --nameserver 10.0.2.1 --nameserver 10.0.2.11 --userpasswd root:password --save
Invalid container MAC address length
Bad parameter for --netif_add: eth0,,,
unable to set parameters - command failed - 5376
unable to apply VM settings -



When this is completed, I can set the DNS settings ok, but modifying anything else in the network area results in this:


Jul 30 14:26:18 pvedaemon15317 unable to apply VM settings, command failed: /usr/bin/pvectl vzset 108 --netif ifname=eth0,bridge=vmbr0

Which, when run manually from the command line, produces:

proxmox-01:/etc/vz/conf# /usr/bin/pvectl vzset 108 --netif ifname=eth0,bridge=vmbr0
Use of uninitialized value in numeric ne (!=) at /usr/bin/pvectl line 140.
Use of uninitialized value in numeric ne (!=) at /usr/bin/pvectl line 140.
vzctl set 108 --netif_add eth0,,,,vmbr0 --save
Invalid container MAC address length
Bad parameter for --netif_add: eth0,,,,vmbr0
unable to set parameters - command failed - 5376

It also doesn't create the swap and memory sizes correctly (generates 8mb memory!), but after modification, I can get a vnc session going, but it can not see any network devices.

Is there any way I can create these manually? Looking at another openvz machine I got working (I created it before upgrading), it references veth106.0 which gets created in the system, but I'm not sure how to do this manually inkeeping with the proxmox general scheme.

Cheers guys!
 
No idea what's happening here - happens on two different proxmox boxes. Can't see where the mac address is getting passed and I'm assuming a half empty comma separated string is bad. This is created by the GUI:

vzctl set 108 --vmguarpages 65792:9223372036854775807 --oomguarpages 65792:9223372036854775807 --privvmpages 65792:72371 --lockedpages 65536:65536 --diskspace 10485760:11534336 --diskinodes 2000000:2200000 --cpus 1 --hostname bsuse9132 --searchdomain belfast.wombatfs.com --netif_add eth0,,, --onboot yes --nameserver 10.0.2.1 --nameserver 10.0.2.11 --userpasswd root:password --save
Invalid container MAC address length
Bad parameter for --netif_add: eth0,,,
unable to set parameters - command failed - 5376
unable to apply VM settings -



When this is completed, I can set the DNS settings ok, but modifying anything else in the network area results in this:


Jul 30 14:26:18 pvedaemon15317 unable to apply VM settings, command failed: /usr/bin/pvectl vzset 108 --netif ifname=eth0,bridge=vmbr0

Which, when run manually from the command line, produces:

proxmox-01:/etc/vz/conf# /usr/bin/pvectl vzset 108 --netif ifname=eth0,bridge=vmbr0
Use of uninitialized value in numeric ne (!=) at /usr/bin/pvectl line 140.
Use of uninitialized value in numeric ne (!=) at /usr/bin/pvectl line 140.
vzctl set 108 --netif_add eth0,,,,vmbr0 --save
Invalid container MAC address length
Bad parameter for --netif_add: eth0,,,,vmbr0
unable to set parameters - command failed - 5376

It also doesn't create the swap and memory sizes correctly (generates 8mb memory!), but after modification, I can get a vnc session going, but it can not see any network devices.

Is there any way I can create these manually? Looking at another openvz machine I got working (I created it before upgrading), it references veth106.0 which gets created in the system, but I'm not sure how to do this manually inkeeping with the proxmox general scheme.

Cheers guys!

looks like using old versions. pls review exaclty your sources.list and update, see also http://pve.proxmox.com/wiki/Downloads
 

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!