[Users] HA: Show stopper while trying out Openvz 7 beta 1

Konstantin Bukharov bkb at odin.com
Mon Aug 3 13:40:29 PDT 2015


Hi Joe,

You don’t need to download ez-template before caching – vzctl/vzpkg could do that job. Note also that if your node has an internet access and standard repositories configured:
vzpkg list –O –available
will display list of available EZ OS templates.

Best regards,
Konstantin


От: users-bounces at openvz.org [mailto:users-bounces at openvz.org] От имени jjs - mainphrame
Отправлено: Monday, August 3, 2015 22:31
Кому: OpenVZ users <users at openvz.org>
Тема: Re: [Users] Show stopper while trying out Openvz 7 beta 1

Hi Kir,

Thanks for the reminder. Actually, vzctl create did download the template and create the container, once I worked around the issue of /var/tmp needing to be ext4.

But the corresponding ez-template packages need to be installed, I think, and that's what threw me, since there was nothing like that in the openvz that I had used from 2010 onward. At any rate, I'm happy to see the ez templates in openvz. It's a very good feature.

Joe

On Mon, Aug 3, 2015 at 12:15 PM, Kir Kolyshkin <kir at openvz.org<mailto:kir at openvz.org>> wrote:


On 08/03/2015 02:34 AM, Sergey Bronnikov wrote:
Hi

yes, because Virtuozzo doesn't use precreated OpenVZ templates.
Proper way is:
- install required template via yum (CentOS 6 x86_64 installed by default)
- run something like: prlctl create 100 --ostemplate centos-6-x86_64 --vmtype=ct
prlctl will create cache and then create container

As far as I know, vzctl create (as well as prlctl create) should trigger
template metadata installation and "vzpkg create cache". It's not happening,
so looks like a bug.

Just in case -- if I'm wrong and vzctl is not able to trigger template metadata
installation and cache creation, the error message should be more
clear.


We will publish template management guide on http://docs.openvz.org/
but right now you can use the same doc from Virtuozzo 6 page -
http://www.odin.com/products/virtuozzo/documentation/

On 11:16 Fri 24 Jul , jjs - mainphrame wrote:
Hello,

Following up, it appears that my only problem was that one now must create
an OS template cache, as in PVC, and the documentation on the wiki did not
yet reflect that fact - but once the template cache is created, everything
falls into place. The old precreated templates are apparently not used.

Regards,

J



On Thu, Jul 23, 2015 at 5:13 PM, jjs - mainphrame <jjs at mainphrame.com<mailto:jjs at mainphrame.com>>
wrote:
Hello,

it appears the bugzilla is not accepting bug reports for openvz 7 yet - at
least there was no option to select rhel/centos 7 as the platform.

At any rate, when I googled the error, I found several people asking about
this show stopper, but nobody answering. Any pointers as to what I can try
would be appreciated.

[root at annie template]# vzctl create 101 --ostemplate centos-7-x86_64
Unable to get appcache tarball name for ve-basic.conf-sample with
ostemplate centos-7-x86_64
Destroying Container private area: /vz/private/101
Warning: Container is in old data format, unregistration skipped
Container private area was destroyed
Creation of Container private area failed
[root at annie template]# 

Regards,

J
_______________________________________________
Users mailing list
Users at openvz.org<mailto:Users at openvz.org>
https://lists.openvz.org/mailman/listinfo/users


_______________________________________________
Users mailing list
Users at openvz.org<mailto:Users at openvz.org>
https://lists.openvz.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20150803/8de24958/attachment.html>


More information about the Users mailing list