Details
-
Type: Bug
-
Status: Verified
-
Priority: Major
-
Resolution: Fixed
-
Fix Version/s: Vz7.0-Update15
-
Component/s: Templates
-
Security Level: Public
Description
Steps to Reproduce :
--------------------------------------------------
# vzpkg clean 'ubuntu-18.04-x86_64'
Can not find 'ubuntu-18.04-x86_64' EZ os template
Looking for the precreated template cache /vz/template/cache/ubuntu-18.04-x86_64.tar.gz
File "/usr/libexec/ovz-template-converter", line 36
def writeconfig(configfile, configtext, configmode=0644):
^
SyntaxError: invalid token
Error: Failed to convert the precreated cache /vz/template/cache/ubuntu-18.04-x86_64.tar.gz
--------------------------------------------------
>Host OS: kernel uname -a : 3.10.0-1062.12.1.vz7.131.10
--------------------------------------------------
Also I get this on another server :
# /usr/libexec/ovz-template-converter --verbose /vz/template/cache/centos-7-x86_64-minimal.tar.gz
File "/usr/libexec/ovz-template-converter", line 36
def writeconfig(configfile, configtext, configmode=0644):
^
SyntaxError: invalid token
--------------------------------------------------
>Host OS: kernel uname -a : 3.10.0-1127.8.2.vz7.151.14
--------------------------------------------------
[root@openvz7 cache]# yum list installed |grep vztt
vztt.x86_64 7.0.71-1.vz7 @anaconda/7.0.14
vztt-lib.x86_64 7.0.71-1.vz7 @anaconda/7.0.14
It is affecting creation of containers
--------------------------------------------------
# vzpkg clean 'ubuntu-18.04-x86_64'
Can not find 'ubuntu-18.04-x86_64' EZ os template
Looking for the precreated template cache /vz/template/cache/ubuntu-18.04-x86_64.tar.gz
File "/usr/libexec/ovz-template-converter", line 36
def writeconfig(configfile, configtext, configmode=0644):
^
SyntaxError: invalid token
Error: Failed to convert the precreated cache /vz/template/cache/ubuntu-18.04-x86_64.tar.gz
--------------------------------------------------
>Host OS: kernel uname -a : 3.10.0-1062.12.1.vz7.131.10
--------------------------------------------------
Also I get this on another server :
# /usr/libexec/ovz-template-converter --verbose /vz/template/cache/centos-7-x86_64-minimal.tar.gz
File "/usr/libexec/ovz-template-converter", line 36
def writeconfig(configfile, configtext, configmode=0644):
^
SyntaxError: invalid token
--------------------------------------------------
>Host OS: kernel uname -a : 3.10.0-1127.8.2.vz7.151.14
--------------------------------------------------
[root@openvz7 cache]# yum list installed |grep vztt
vztt.x86_64 7.0.71-1.vz7 @anaconda/7.0.14
vztt-lib.x86_64 7.0.71-1.vz7 @anaconda/7.0.14
It is affecting creation of containers