OpenVZ Forum


Home » General » Support » Creation of container private area failed (Trying to create container - I get= " - .tar.gz.tar.gz not found")
Creation of container private area failed [message #42275] Wed, 30 March 2011 04:29 Go to next message
lemmingNO1 is currently offline  lemmingNO1
Messages: 5
Registered: March 2011
Location: Colorado
Junior Member
Debian 6.0.1
kernel 2.6.32-5-openvz-amd64
tools vzctl version 3.0.24

I followed the instructions found on Howtoforge for OpenVZ on Debian6.0 Squeeze (AMD64)...

I wanted to create 3 different containers, each containing a different template, so I could clone them as I needed them to populate /vz as I built my project. So, I only did the first step in creating a container ( vzctl create 101 xxx ) and then moved to create the next template container 102.

My first container using a debian template installed fine. However, my second container (102) containing a ubuntu template continues to give me this error (notice the.tar.gz.tar.gz extension) :

root@ispy2:/var/lib/vz/template/cache# vzctl create 102 --ostemplate ubuntu-10.04-minimal_10.04_amd64.tar.gz --config basic

Creating container private area (ubuntu-10.04-minimal_10.04_amd64.tar.gz)

Cached OS template /var/lib/vz/template/cache/ubuntu-10.04-minimal_10.04_amd64. tar.gz.tar.gz not found

Creation of container private area failed

root@ispy2:/var/lib/vz/template/cache# ls

debian-6.0-amd64-minimal.tar.gz ubuntu-10.04-lamp_10.04_amd64.tar.gz ubuntu-10.04-minimal_10.04_amd64.tar.gz

root@ispy2:/var/lib/vz/template/cache# vzlist -a
CTID NPROC STATUS IP_ADDR HOSTNAME
101 6 running - -

What am I doing wrong to have vzctl think my template name has two ".tar.gz" instead of one? Thanks! Razz

Re: Creation of container private area failed [message #42277 is a reply to message #42275] Wed, 30 March 2011 06:50 Go to previous messageGo to next message
gralex is currently offline  gralex
Messages: 62
Registered: December 2008
Location: Russia, Novosibirsk
Member
Do not specify .tar.gz

vzctl create 102 --ostemplate ubuntu-10.04-minimal_10.04_amd64 --config basic


P.s. поправьте меня если ошибаюсь Wink
Re: Creation of container private area failed [message #42312 is a reply to message #42275] Wed, 30 March 2011 20:44 Go to previous message
lemmingNO1 is currently offline  lemmingNO1
Messages: 5
Registered: March 2011
Location: Colorado
Junior Member
Uh! How dumb of me! Thanks gralex!

I have been staring at his and not seeing, for what seems like forever! My only defense is, I'm blond and I'm on a diet that seems to give me a constant headache! But, as John Wayne said: Life is tough. It's even tougher if you are stupid!

Thanks again! Sorry about the wasted space.
Previous Topic: Kernel Parameters in HN and VN
Next Topic: maxlat missing?
Goto Forum:
  


Current Time: Tue Jul 23 08:25:52 GMT 2024

Total time taken to generate the page: 0.02461 seconds