|
|
|
|
|
|
|
Re: ERROR: No such OS template: install [message #23766 is a reply to message #23744] |
Mon, 26 November 2007 09:34 |
maratrus
Messages: 1495 Registered: August 2007 Location: Moscow
|
Senior Member |
|
|
Hi,
1. The current problem occurs in "/usr/share/vzpkg/functions" in
os2full function.
2. To avoid a problem I advise you to create a new template cache just type "vzpkgcache fedora-core-6" and then you get in /vz/template/cache directory appropriate cache (but it takes some time!).
P.S.(!!!)
But if you can wait a little time I think that you receive the full answer and the decision in this forum.
[Updated on: Mon, 26 November 2007 09:38] Report message to a moderator
|
|
|
|
Re: ERROR: No such OS template: install [message #23785 is a reply to message #23768] |
Mon, 26 November 2007 22:59 |
soptom
Messages: 34 Registered: October 2007 Location: Greece
|
Member |
|
|
++ PROGNAME=vzyum
++ test -z ''
++ VZP_LOGFILE=/var/log/vzpkg.log
++ test -z ''
++ DEBUG_LEVEL=3
++ VZCTL=/usr/sbin/vzctl
++ VZLOCKDIR=/vz/lock
++ VECFGDIR=/etc/sysconfig/vz-scripts/
++ VZCFG=/etc/sysconfig/vz
++ VZLIB_SCRIPTDIR=/usr/lib/vzctl/scripts
++ YUM=/usr/share/vzyum/bin/yum
++ ARCHES='x86 i386 x86_64 ia64'
+ log4 Started vzyum 2 install yum
+ log 4 Started vzyum 2 install yum
+ local level=4
+ shift
+ test 4 -gt 3
+ return 0
+ set -e
+ test 3 -lt 2
+ get_veid 2
+ VEID=2
+ check_veid 2
+ '[' x2 = x0 ']'
+ echo 2
+ egrep -q '^[[:digit:]]+$'
++ get_vz_var VE_ROOT
++ local gotdef=1
+++ eval 'source /etc/sysconfig/vz && echo $VE_ROOT'
++++ source /etc/sysconfig/vz
+++++ VIRTUOZZO=yes
+++++ LOCKDIR=/vz/lock
+++++ DUMPDIR=/vz/dump
+++++ VE0CPUUNITS=1000
+++++ LOGGING=yes
+++++ LOGFILE=/var/log/vzctl.log
+++++ LOG_LEVEL=0
+++++ VERBOSE=0
+++++ DISK_QUOTA=yes
+++++ VZFASTBOOT=no
+++++ TEMPLATE=/vz/template
+++++ VE_ROOT=/vz/root/2
+++++ VE_PRIVATE=/vz/private/2
+++++ CONFIGFILE=vps.basic
+++++ DEF_OSTEMPLATE=fedora-core-6-i686-default
+++++ VZWDOG=no
+++++ IPTABLES='ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length'
+++++ IPV6=no
+++++ IP6TABLES='ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT'
++++ echo /vz/root/2
++ local value=/vz/root/2
++ test -z /vz/root/2
++ echo /vz/root/2
+ VE_ROOT=/vz/root/2
++ get_vz_var VE_PRIVATE
++ local gotdef=1
+++ eval 'source /etc/sysconfig/vz && echo $VE_PRIVATE'
++++ source /etc/sysconfig/vz
+++++ VIRTUOZZO=yes
+++++ LOCKDIR=/vz/lock
+++++ DUMPDIR=/vz/dump
+++++ VE0CPUUNITS=1000
+++++ LOGGING=yes
+++++ LOGFILE=/var/log/vzctl.log
+++++ LOG_LEVEL=0
+++++ VERBOSE=0
+++++ DISK_QUOTA=yes
+++++ VZFASTBOOT=no
+++++ TEMPLATE=/vz/template
+++++ VE_ROOT=/vz/root/2
+++++ VE_PRIVATE=/vz/private/2
+++++ CONFIGFILE=vps.basic
+++++ DEF_OSTEMPLATE=fedora-core-6-i686-default
+++++ VZWDOG=no
+++++ IPTABLES='ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length'
+++++ IPV6=no
+++++ IP6TABLES='ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT'
++++ echo /vz/private/2
++ local value=/vz/private/2
++ test -z /vz/private/2
++ echo /vz/private/2
+ VE_PRIVATE=/vz/private/2
+ shift
+ USER_ARGS='install yum'
++ /usr/sbin/vzctl status 2
+ STATUS='VEID 2 exist mounted running'
+ echo VEID 2 exist mounted running
+ grep -qw exist
+ echo VEID 2 exist mounted running
+ grep -qw running
+ get_ve_os_template 2
+ test -z 2
++ get_ve_var OSTEMPLATE
++ local vecfg=/etc/sysconfig/vz-scripts//2.conf
+++ eval 'source /etc/sysconfig/vz-scripts//2.conf && echo $OSTEMPLATE'
++++ source /etc/sysconfig/vz-scripts//2.conf
+++++ ONBOOT=yes
+++++ AVNUMPROC=40:40
+++++ NUMPROC=65:65
+++++ NUMTCPSOCK=80:80
+++++ NUMOTHERSOCK=80:80
+++++ VMGUARPAGES=6144:2147483647
+++++ KMEMSIZE=2211842:2359296
+++++ TCPSNDBUF=319488:524288
+++++ TCPRCVBUF=319488:524288
+++++ OTHERSOCKBUF=132096:336896
+++++ DGRAMRCVBUF=132096:132096
+++++ OOMGUARPAGES=6144:2147483647
+++++ LOCKEDPAGES=32:32
+++++ SHMPAGES=8192:8192
+++++ PRIVVMPAGES=200000:2200000
+++++ NUMFILE=2048:2048
+++++ NUMFLOCK=100:110
+++++ NUMPTY=16:16
+++++ NUMSIGINFO=256:256
+++++ DCACHESIZE=1048576:1097728
+++++ PHYSPAGES=0:2147483647
+++++ NUMIPTENT=128:128
+++++ DISKSPACE=9000000:9100000
+++++ DISKINODES=90000:91000
+++++ QUOTATIME=600
+++++ CPUUNITS=1550
+++++ VE_ROOT=/vz/root/2
+++++ VE_PRIVATE=/vz/private/2
+++++ OSTEMPLATE=fedora-core-6-i686-default
+++++ ORIGIN_SAMPLE=vps.basic
+++++ IP_ADDRESS=91.194.90.126
+++++ HOSTNAME=fc6
+++++ NAMESERVER=91.194.90.11
+++++ CPULIMIT=25
++++ echo fedora-core-6-i686-default
++ local value=fedora-core-6-i686-default
++ echo fedora-core-6-i686-default
+ OSTEMPLATE=fedora-core-6-i686-default
+ test -z fedora-core-6-i686-default
+ echo fedora-core-6-i686-default
+ fgrep -q /
++ get_vz_var TEMPLATE
++ local gotdef=1
+++ eval 'source /etc/sysconfig/vz && echo $TEMPLATE'
++++ source /etc/sysconfig/vz
+++++ VIRTUOZZO=yes
+++++ LOCKDIR=/vz/lock
+++++ DUMPDIR=/vz/dump
+++++ VE0CPUUNITS=1000
+++++ LOGGING=yes
+++++ LOGFILE=/var/log/vzctl.log
+++++ LOG_LEVEL=0
+++++ VERBOSE=0
+++++ DISK_QUOTA=yes
+++++ VZFASTBOOT=no
+++++ TEMPLATE=/vz/template
+++++ VE_ROOT=/vz/root/2
+++++ VE_PRIVATE=/vz/private/2
+++++ CONFIGFILE=vps.basic
+++++ DEF_OSTEMPLATE=fedora-core-6-i686-default
+++++ VZWDOG=no
+++++ IPTABLES='ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length'
+++++ IPV6=no
+++++ IP6TABLES='ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT'
++++ echo /vz/template
++ local value=/vz/template
++ test -z /vz/template
++ echo /vz/template
+ TEMPLATE=/vz/template
++ ost2full fedora-core-6-i686-default
++ local ost=fedora-core-6-i686-default oname over oset oarch tost tdir
++ local template=/vz/template
++ test -z /vz/template
++ for oarch in '$ARCHES'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ oarch=
++ for oarch in '$ARCHES'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ oarch=
++ for oarch in '$ARCHES'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ oarch=
++ for oarch in '$ARCHES'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ tost=fedora-core-6-i686-default
++ '[' fedora-core-6-i686-default = fedora-core-6-i686-default ']'
++ oarch=
++ '[' -z '' ']'
+++ get_arch
+++ case `uname -m` in
++++ uname -m
+++ echo i386
++ oarch=i386
++ '[' i386 == x86 ']'
++ oset=default
+++ echo fedora-core-6-i686-default
+++ sed 's@-\([^-][^-]*\)$@/\1@'
++ tdir=fedora-core-6-i686/default
++ test -d /vz/template/fedora-core-6-i686/default
+++ echo -n fedora-core-6-i686-default
+++ sed 's/[^-]//g'
+++ wc -c
++ test 4 -ge 2
+++ echo fedora-core-6-i686-default
+++ awk -F - '{print $NF}'
++ oset=default
++ tost=fedora-core-6-i686
+++ echo fedora-core-6-i686
+++ sed 's@-\([^-][^-]*\)$@/\1@'
++ tdir=fedora-core-6/i686
++ '[' -d /vz/template/fedora-core-6/i686 ']'
++ return 1
+ OST=
+ abort 'No such OS template: install'
+ log 1 No such OS template: install
+ local level=1
+ shift
+ test 1 -gt 3
+ local addstr
+ case $level in
+ addstr='ERROR: '
+ local 'msg=ERROR: No such OS template: install'
+ test 1 -lt 3
+ echo -e ERROR: No such OS template: install
ERROR: No such OS template: install
+ test -z /var/log/vzpkg.log
++ LANG=C
++ date '+%b %d %H:%M:%S'
+ local 'date=Nov 27 02:32:00'
+ local 'logmsg=Nov 27 02:32:00 [vzyum] ERROR: No such OS template: install'
+ echo -e 'Nov 27 02:32:00 [vzyum] ERROR: No such OS template: install'
+ exit 1
[root@master2 etc]#
[Updated on: Mon, 26 November 2007 22:59] Report message to a moderator
|
|
|
|
|