Can not create CT from a downloaded Template

Christian Bee

New Member
Nov 21, 2013
8
0
1
Hannover, Germany
Hello, this is my first post and i hope i picked up the right forum.
I installed ProxMox 3.0-23 and downloaded the Ubuntu 12.04 server edition and created a bunch of VMs with it.
Its running good and stable.
Now, a few months later, i downloaded the CentOS 6 template, but i can't create a CT or VM from a template, because its not listed.
In fact, none of my templates are listed anymore.
 
Hi, too little info to solve this but:

from web gui select the running CT, look under its options

you will find "storage" field, it should be filled filled with a storage name where the original template was: is it still there, and you uploaded the centos template there?

check that storage on the gui, look for containers.
check also storage definition (web gui : datacenter > storage > storagename EDIT), if "templates" is still enabled for it...

Marco
 
Okay, i made a mistake here. I have running VMs not CTs.
When i look at the options of my VM, there is no storage field.
I created the VMs by copying an existing template i created (and there is also no "storage" field under "options").

In the Storage View, i see 1 storage. There is a button templates. There is also an empty list. When i upload an ISO file, or download some existing template, its not listed there.
 
Okay, i made a mistake here. I have running VMs not CTs.
When i look at the options of my VM, there is no storage field.
I created the VMs by copying an existing template i created (and there is also no "storage" field under "options").

yes those are CT options only...
can you go to pve command line as root?

if yes, try

#ls /mnt/pve/<storagename>

and post the output here

(beware is case sensitive)

Marco
 
Last edited:
root@Proxmox-VE ~ # ls -la /var/lib/vz/template/cache/
total 498M
drwxr-xr-x 2 root root 4.0K Nov 21 08:01 .
drwxr-xr-x 5 root root 4.0K Jul 30 22:47 ..
-rw-r--r-- 1 root root 174M Oct 17 2012 centos-5-standard_5.8-1_i386.tar.gz
-rw-r--r-- 1 root root 200M Oct 17 2012 centos-6-standard_6.3-1_i386.tar.gz
-rw-r--r-- 1 root root 125M Oct 17 2012 ubuntu-12.04-standard_12.04-1_i386.tar.
 
The /mnt folder is empty

/mnt should not be empty. It should at least have /mnt/pve/.
Seems to me your /mnt/pve got unmounted somehow or cluster lost sync. Thats probably why you are not seeing any storage. May be a reboot? Do you have other nodes in the cluster? Do they have /mnt/pve?
 
root@Proxmox-VE /mnt # ls -la /var/lib/vz
total 32K
drwxr-xr-x 8 root root 4.0K Jul 30 22:47 .
drwxr-xr-x 37 root root 4.0K Jul 30 22:48 ..
drwxr-xr-x 2 root root 4.0K Mar 27 2013 dump
drwxr-xr-x 9 root root 4.0K Nov 20 19:33 images
drwxr-xr-x 2 root root 4.0K Nov 23 11:03 lock
drwxr-xr-x 2 root root 4.0K Jul 30 23:31 private
drwxr-xr-x 2 root root 4.0K Jul 30 23:31 root
drwxr-xr-x 5 root root 4.0K Jul 30 22:47 template
 
root@Proxmox-VE /mnt # ls -la /var/lib/vz
total 32K
drwxr-xr-x 8 root root 4.0K Jul 30 22:47 .
drwxr-xr-x 37 root root 4.0K Jul 30 22:48 ..
drwxr-xr-x 2 root root 4.0K Mar 27 2013 dump
drwxr-xr-x 9 root root 4.0K Nov 20 19:33 images
drwxr-xr-x 2 root root 4.0K Nov 23 11:03 lock
drwxr-xr-x 2 root root 4.0K Jul 30 23:31 private
drwxr-xr-x 2 root root 4.0K Jul 30 23:31 root
drwxr-xr-x 5 root root 4.0K Jul 30 22:47 template

No one ? :( thinking about reinstalling, which would be a pain in the running system.
 

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!