proxmox create vm error

It looks you have an old version of PVE. Tries to upgrade to the latest version, recreate the container, and it still do not work post the full error log.
 
It looks you have an old version of PVE. Tries to upgrade to the latest version, recreate the container, and it still do not work post the full error log.


Package versions
proxmox-ve: 4.2-60 (running kernel: 4.4.13-2-pve)
pve-manager: 4.2-17 (running version: 4.2-17/e1400248)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.13-2-pve: 4.4.13-58
pve-kernel-4.4.15-1-pve: 4.4.15-60
lvm2: 2.02.116-pve2
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-43
qemu-server: 4.0-85
pve-firmware: 1.1-8
libpve-common-perl: 4.0-71
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-56
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6-1
pve-container: 1.0-72
pve-firewall: 2.0-29
pve-ha-manager: 1.0-33
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.3-4
lxcfs: 2.0.2-pve1
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5.7-pve10~bpo80


????
 
What does happen if you create a standard container with the command line tools, for instance using the debian template we provide:

pct create 102 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz

does that work ?
 
What does happen if you create a standard container with the command line tools, for instance using the debian template we provide:

pct create 102 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz

does that work ?


root@Giga-VPS-1:~# pct create 123 /var/lib/vz/template/cache/debian-8.0-standard_8.4-1_amd64.tar.gz
400 Parameter verification failed.
storage: storage 'local' does not support container directories
pct create <vmid> <ostemplate> [OPTIONS]
root@Giga-VPS-1:~#
 
* Please make sure you use the right storage by using the -storage command line switch.

This should point to a storage where you want to store the container for instance

pct create 103 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz -storage pvevgibsd


* Also which template are you using when getting the error you mentionned ?
 
* Please make sure you use the right storage by using the -storage command line switch.

This should point to a storage where you want to store the container for instance

pct create 103 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz -storage pvevgibsd


* Also which template are you using when getting the error you mentionned ?


root@Giga-VPS-1:~# pct create 123 /var/lib/vz/template/cache/debian-8.0-standard_8.4-1_amd64.tar.gz -storage local-lvm
Logical volume "vm-123-disk-1" created.
mke2fs 1.42.12 (29-Aug-2014)
Discarding device blocks: done
Creating filesystem with 1048576 4k blocks and 262144 inodes
Filesystem UUID: da544bdf-486d-4feb-b63d-bea1583f9df7
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: done

extracting archive '/var/lib/vz/template/cache/debian-8.0-standard_8.4-1_amd64.tar.gz'
Total bytes read: 533678080 (509MiB, 135MiB/s)
Detected container architecture: amd64
Creating SSH host key 'ssh_host_rsa_key' - this may take some time ...
Creating SSH host key 'ssh_host_key' - this may take some time ...
Creating SSH host key 'ssh_host_ecdsa_key' - this may take some time ...
Creating SSH host key 'ssh_host_ed25519_key' - this may take some time ...
Creating SSH host key 'ssh_host_dsa_key' - this may take some time ...
root@Giga-VPS-1:~#


???
 
so we know that container creation works, but whcms uses the -arch parameter which does not work currently (this is a bug)
 
I have some error , when I tried to create container on gui or command line it gives me this error: Storage : local does not support container directories