cannot create a vm from template

beta17

New Member
Nov 15, 2010
25
0
1
Zurich
Hi

i just created a vm with debian 7 and converted to a template...

now, if i try to make a full clone of the template i got this error:

Code:
Full clone feature is not available at /usr/share/perl5/PVE/API2/Qemu.pm line 2201.  (500)



here some other infos:

vm config file
Code:
root@proxmox:/vms/conf# cat 100.conf
boot: cd
bootdisk: virtio0
cores: 1
memory: 256
name: debianTemplate
net0: virtio=B6:F8:89:E0:CD:1D,bridge=vmbr0
ostype: l26
scsihw: virtio-scsi-pci
serial0: socket
sockets: 1
template: 1
vga: std
virtio0: local:100/vm-100-disk-2.qcow2,format=qcow2,size=10G

storage config file
Code:
root@proxmox:/vms/conf# more /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content images,vztmpl,rootdir
        maxfiles 0

dir: vms
        path /vms
        content images,iso,vztmpl,rootdir,backup
        maxfiles 3

pveversion:
Code:
root@proxmox:/vms/conf# pveversion -v
proxmox-ve-2.6.32: 3.1-113 (running kernel: 2.6.32-25-pve)
pve-manager: 3.1-17 (running version: 3.1-17/eb90521d)
pve-kernel-2.6.32-24-pve: 2.6.32-111
pve-kernel-2.6.32-25-pve: 2.6.32-113
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-7
qemu-server: 3.1-5
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-13
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2

any suggestion?!

thx
 
Last edited:
hallo Dietmar

here the steps i've done:
- installed debian 7 on a new vm
- shutdown vm and converted to template

here the new conf file:
Code:
[root@proxmox] /vms/conf
 # more 100.conf
bootdisk: virtio0
cores: 1
ide2: none,media=cdrom
memory: 512
name: test
net0: virtio=B2:6A:61:3C:DA:1E,bridge=vmbr0
ostype: l26
serial0: socket
sockets: 1
template: 1
virtio0: vms:100/base-100-disk-2.qcow2,format=qcow2,size=10G

here a diff output from the old config and the new:
Code:
[root@proxmox] /vms/conf
 # diff 100.conf 100.conf.ORIG
8d7
< serial0: socket
10,11c9,10
< template: 1
< virtio0: vms:100/base-100-disk-2.qcow2,format=qcow2,size=10G
---
> virtio0: vms:100/vm-100-disk-2.qcow2,size=10G
> serial0: socket

still not able to create a linked or full clone :-(

Code:
[root@proxmox] /vms/conf
 # qm clone 100 105 --full
Full clone feature is not available at /usr/share/perl5/PVE/API2/Qemu.pm line 2201.