trying to upload template, getting 'cp ... failed with exit code 1'

  • Thread starter Thread starter joeblow
  • Start date Start date
J

joeblow

Guest
I'm trying to upload an appliance template via the proxmox web page. It fails with the error:

Code:
Error: command 'cp /tmp/proxmox_upload-6495.bin /var/lib/vz/template/cache/centos-5-standard_5.6-1_amd64.tar.gz' failed with exit code 1

This is repeatable, and using other templates gives the same result. As a side note downloading templates using the download tab is successful.

Any thoughts?

Diagnostic info:

Code:
proxmox:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/pve-root   33G  6.6G   25G  21% /
tmpfs                 3.9G     0  3.9G   0% /lib/init/rw
udev                   10M  588K  9.5M   6% /dev
tmpfs                 3.9G     0  3.9G   0% /dev/shm
/dev/mapper/pve-data   88G   20G   69G  22% /var/lib/vz
/dev/sda1             504M   31M  448M   7% /boot
172.21.21.185:/pub/isos
                       55G   43G  9.1G  83% /mnt/pve/ml-isos
172.21.21.185:/home/vz
                      910G  531G  333G  62% /mnt/pve/ml-pds-disks

Code:
proxmox:~# cd /tmp
proxmox:/tmp# ls -la
total 72
drwxr-xr-x  8 root root 4096 2011-07-14 14:43 .
drwxr-xr-x 24 root root 4096 2011-07-11 08:43 ..
-rw-r--r--  1 root root 5178 2011-06-28 17:57 apldownload-root.out
-rw-r--r--  1 root root    0 2009-01-17 08:55 .autorelabel
drwxr-xr-x 20 root root 4096 2009-01-17 09:09 centos-5
drwxrwxrwt  2 root root 4096 2011-04-20 15:19 .ICE-unix
drwx------  2 root root 4096 2011-05-04 16:34 ssh-InIrQQ2668
drwx------  2 root root 4096 2011-06-01 13:57 ssh-jlgkw11183
drwx------  2 root root 4096 2011-06-02 09:48 ssh-WSCxm10534
-rw-r--r--  1 root root   91 2011-07-13 16:09 vmops-101.out
-rw-r--r--  1 root root   93 2011-07-06 18:07 vmops-102.out
-rw-r--r--  1 root root   98 2011-07-14 08:47 vmops-103.out
-rw-r--r--  1 root root  658 2011-06-27 11:09 vmops-104.out
-rw-r--r--  1 root root  199 2011-06-27 11:06 vmops-105.out
-rw-r--r--  1 root root  658 2011-06-27 11:08 vmops-106.out
-rw-r--r--  1 root root   92 2011-07-14 14:47 vmops-107.out
-rw-r--r--  1 root root  100 2011-05-19 15:22 vmops-108.out
drwxrwxrwt  2 root root 4096 2011-04-20 15:19 .X11-unix
proxmox:/tmp#

Code:
proxmox:/tmp# ls -la /var/lib/vz/template/cache
total 177328
drwxr-xr-x 2 root root      4096 2011-07-14 14:07 .
drwxr-xr-x 5 root root      4096 2011-04-15 01:34 ..
-rw-r--r-- 1 root root 181390534 2011-05-02 03:51 centos-5-standard_5.6-1_i386.tar.gz
proxmox:/tmp#
Code:
proxmox:/tmp# pveversion -v
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-33
pve-kernel-2.6.32-4-pve: 2.6.32-33
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6
proxmox:/tmp#
 
Last edited by a moderator: