pve 1.5 (2.6.18) can't create openvz vm from appliance

m.ardito

Famous Member
Feb 17, 2010
1,473
18
103
Torino, Italy
Hi,

i was trying to create a minimal server using ubuntu hardy appliance
- downloaded appliance (http://pve.proxmox.com/wiki/Ubuntu_Hardy_Standard)
- setup the openvz vm

once i clicked 'create' on the web gui i got an error:

Code:
/usr/bin/pvectl vzcreate 118 --disk 2 --ostemplate local:vztmpl/ubuntu-8.04-standard_8.04-3_i386.tar.gz --rootpasswd .....  --hostname ..... --nameserver ..... --nameserver ..... --searchdomain ..... --onboot no --ipset 127.0.0.1 --swap 512 --mem 512 --cpus 1
unable to create VE 118: command 'vzctl create 118 --ostemplate ubuntu-8.04-standard_8.04-3_i386 --config pve.auto' failed with exit code 5:
Unable to open /dev/vzctl: No such file or directory
Please check that vzdev kernel module is loaded and you have sufficient permissions to access the file.

unable to apply VM settings -
i'm using pve 1.5 with kernel 2.6.18, so openvz should work i think...

also checked

Code:
#/etc/init.d/vz status
..done

and 

#/etc/init.d/vz restart
Stopping OpenVZ: ..done
..done
here is pveversion -v output

Code:
pve-manager/1.5/4660
dadmin@debian:~$ pveversion -v
pve-manager: 1.5-7 (pve-manager/1.5/4660)
running kernel: 2.6.26-2-amd64
proxmox-ve-2.6.18: 1.5-5
pve-kernel-2.6.18-1-pve: 2.6.18-4
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-5
What am i missing?

Marco
 
Sorry, i just realized the running kernel is
2.6.26-2-amd64

this is a debian lenny based pve tst system, i think in the last days someone "updated" lenny and rebooted, and that changed the default kernel in grub....

M