25.04.2021, 17:31, "Vasily Averin" <[email protected]>:
On 4/25/21 3:13 PM, Aleksey Cheusov wrote:
Hi. I'm trying to create openvz-7 container with simfs.
It looks like you have specified non-installed repository.
vzpkg shows that you have installed alt-8-x86,
but during creation you have specified another temp;late: alt-8-x86_64
You are right. But the problem is different.
Using alt-8-x86 leads to the same results.
[root@ryzen ~]# vzpkg list -a | grep alt-8
alt-8-x86
[root@ryzen ~]# vzctl create 103 --ostemplate alt-8-x86
Cached package set 'alt-8-x86' is not found, run create cache utility...
Creating OS template cache for alt-8-x86 template
Cache for alt-8-x86 is not found, running /usr/bin/yum to install it...
Error: execv(/usr/bin/yum...) failed: No such file or directory
Error: Failed to install the template cache for alt-8-x86
Destroying Container private area: /var/lib/vz/private/103
Container unregistered succesfully
Container private area was destroyed
Creation of Container private area failed
[root@ryzen ~]# vzpkg create cache alt-8-x86
Creating OS template cache for alt-8-x86 template
Cache for alt-8-x86 is not found, running /usr/bin/yum to install it...
Error: execv(/usr/bin/yum...) failed: No such file or directory
Error: Failed to install the template cache for alt-8-x86
[root@ryzen ~]#
One more question.
[root@ryzen ~]# vzpkg list -a
debian-7-x86_64 2020-05-26 22:11:12
centos-5-x86
centos-5-x86-devel 2021-04-25 00:45:32
centos-7-x86_64
centos-7-x86_64-minimal 2020-05-23 17:46:06
ubuntu-6.06-x86
ubuntu-6.06-x86-minimal 2021-04-25 14:58:09
alt-8-x86 2020-05-23 21:52:36
alt-9-x86 2020-05-23 20:37:50
alt-9-x86_64 2020-05-23 20:30:06
[root@ryzen ~]# vzpkg remove cache ubuntu-6.06-x86
Removing OS template cache for ubuntu-6.06-x86 template
Error: Operation is not allowed. The template contains a pre-cached image.
[root@ryzen ~]#
What does "The template contains a pre-cached image." mean and how to remove cache?
_______________________________________________ Users mailing list [email protected] https://lists.openvz.org/mailman/listinfo/users
