R
R
RusMits2021-07-28 11:48:48
OpenVZ
RusMits, 2021-07-28 11:48:48

What is missing to create a vzctl create virtual machine?

Previously, there were no such problems, in July 2021, OPENVZ virtual machines stopped being created. I am
trying to create a virtual machine

vzctl create 3424  --ostemplate ubuntu-20.04-x86_64
Cached package set 'ubuntu-20.04-x86_64' is not found, run create cache utility...
Creating OS template cache for ubuntu-20.04-x86_64 template
Device md0 not found
Error: Failed to create ploop image /vz/tmp//vzpkg.oOirMA/cache-private/root.hdd/root.hds: Error in ploop_umount (ploop.c:2753): Failed to find top delta name and format 2
Error: Cannot create ploop device
Error: Failed to read ploop disk descriptor /vz/tmp//vzpkg.oOirMA/cache-private/root.hdd: Error in ploop_open_dd (di.c:364): Can't resolve /vz/tmp//vzpkg.oOirMA/cache-private/root.hdd/DiskDescriptor.xml: No such file or directory 39
VE_PRIVATE is not set
Creation of Container private area failed


System Information
[[email protected] ~]# df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs   16G     0   16G   0% /dev
tmpfs          tmpfs      16G     0   16G   0% /dev/shm
tmpfs          tmpfs      16G  476K   16G   1% /run
tmpfs          tmpfs      16G     0   16G   0% /sys/fs/cgroup
/dev/md2       ext4      423G  2.7G  398G   1% /
/dev/md1       ext3      487M  210M  252M  46% /boot
tmpfs          tmpfs     3.2G     0  3.2G   0% /run/user/0


[[email protected] ~]# cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)


I saw the Device md0 not found error, that on other servers there is also no df md0 in df and everything works correctly. Perhaps they updated the versions of centos and something broke, but I don’t really understand this.

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
S
Sanes, 2021-07-28
@RusMits

Try it through prlctland add a flag --vmtype ct
The template name is spelled a little differently.
In general, the problem with the disk. Device md0 not found Do you have OpenVZ v7?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question