<div dir="ltr">For what its worth the line within the interfaces section:<div><br></div><div>&lt;link state=&#39;up&#39;/&gt;<br></div><div><br></div><div>Causes the container creation to fail on the first try, and then work on the second. I&#39;ve attached the output and log below:</div><div><br></div><div>==== Command output ====</div><div><div>[root@stark-ssd02 ~]# virsh define dom.xml </div><div>error: Failed to define domain from dom.xml</div><div>error: internal error: PRL_ERR_VM_NOT_CREATED PRL_ERR_VM_NOT_CREATED</div><div>========</div><div><br></div><div><br></div><div>==== Log Output ====</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.552 F /disp:3342:3387/ Processing command &#39;DspCmdGetDefaultVmConfig&#39; 2156 (PJOC_UNKNOWN)<br></div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.558 F /disp:3342:3387/ Processing command &#39;DspCmdGetDefaultVmConfig&#39; 2156 for CT uuid=&#39;&#39;</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.589 F /disp:3342:3387/ Processing command &#39;DspCmdAddVirtualNetwork&#39; 2111 (PJOC_SRV_ADD_VIRTUAL_NETWORK)</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.590 F /disp:3342:6815/ Task &#39;24Task_ManagePrlNetService&#39; with uuid = {560a2b5e-247f-4d0b-8cbf-ed16aeaefe7b} was started. Flags = 0x800</div><div>Aug 10 15:04:00 stark-ssd02 libvirtd: 1677: error</div><div> : virNetworkAssignDefLocked:555 : operation failed: network &#39;ovsbr0&#39; already exists with uuid 53089767-a631-48d8-a33b-571d8f67ecbf</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.592 F /disp:3342:6815/ libvirt error operation failed: network &#39;ovsbr0&#39; already exists with uuid 53089767-a631-48d8-a33b-571d8f67ecbf</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.645 F /disp:3342:6815/ error: -2147483355 was catched. reason Success</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.646 F /disp:3342:6815/ Task &#39;24Task_ManagePrlNetService&#39; with uuid = {560a2b5e-247f-4d0b-8cbf-ed16aeaefe7b} was finished with result PRL_ERR_VM_NOT_CREATED (0x80000125) )</div><div>Aug 10 15:04:00 stark-ssd02 libvirtd: 1672: error : prlsdkAddNet:3038 : internal error: PRL_ERR_VM_NOT_CREATED PRL_ERR_VM_NOT_CREATED</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.649 F /disp:3342:3387/ Processing command &#39;DspCmdDeleteVirtualNetwork&#39; 2113 (PJOC_SRV_DELETE_VIRTUAL_NETWORK)</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.650 F /disp:3342:6816/ Task &#39;24Task_ManagePrlNetService&#39; with uuid = {58665f42-2560-47ba-a779-f7ad69fff736} was started. Flags = 0</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.734 F /disp:3342:6816/ Task &#39;24Task_ManagePrlNetService&#39; with uuid = {58665f42-2560-47ba-a779-f7ad69fff736} was finished with result PRL_ERR_SUCCESS (0) )</div></div><div>========<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 7:20 AM, Maxim Nestratov <span dir="ltr">&lt;<a href="mailto:mnestratov@virtuozzo.com" target="_blank">mnestratov@virtuozzo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">10-Aug-16 13:27, Sergey Bronnikov пишет:<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, Frank<br>
<br>
On 09:43 Tue 09 Aug , Frank Laszlo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
My company is rolling out a new setup, which was originally going to use<br>
openvz 6. With the release of vz7, we&#39;d like to take a moment to see if it<br>
meets our requirements.<br>
<br>
I have a handful of questions that I have no been able to find answers to,<br>
as the documentation is rather spare.<br>
<br>
1) Am I able to create containers using libvirt? (specifically from XML<br>
passed to virsh) What does this XML look like?<br>
</blockquote>
Max, please comment.<br>
</blockquote>
<br></span>
Yes you are. Below is an example:<br>
<br>
&lt;domain type=&#39;vz&#39;&gt;<br>
  &lt;name&gt;your-ct-name&lt;/name&gt;<br>
  &lt;uuid&gt;5869cd3e-13fc-4e69-b99a-<wbr>d37c020987b6&lt;/uuid&gt;<br>
  &lt;memory unit=&#39;KiB&#39;&gt;524288&lt;/memory&gt;<br>
  &lt;currentMemory unit=&#39;KiB&#39;&gt;524288&lt;/currentMemo<wbr>ry&gt;<br>
  &lt;vcpu placement=&#39;static&#39;&gt;1&lt;/vcpu&gt;<br>
  &lt;os&gt;<br>
    &lt;type arch=&#39;x86_64&#39;&gt;exe&lt;/type&gt;<br>
    &lt;init&gt;/sbin/init&lt;/init&gt;<br>
  &lt;/os&gt;<br>
  &lt;clock offset=&#39;utc&#39;/&gt;<br>
  &lt;on_poweroff&gt;destroy&lt;/on_power<wbr>off&gt;<br>
  &lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>
  &lt;on_crash&gt;destroy&lt;/on_crash&gt;<br>
  &lt;devices&gt;<br>
    &lt;filesystem type=&#39;file&#39; accessmode=&#39;passthrough&#39;&gt;<br>
      &lt;driver type=&#39;ploop&#39; format=&#39;ploop&#39;/&gt;<br>
      &lt;source file=&#39;/path/to/your/ploop/disk<wbr>/directory&#39;/&gt;<br>
      &lt;target dir=&#39;/&#39;/&gt;<br>
    &lt;/filesystem&gt;<br>
    &lt;interface type=&#39;bridge&#39;&gt;<br>
      &lt;mac address=&#39;fa:16:3e:c6:5c:90&#39;/&gt;<br>
      &lt;source bridge=&#39;some-bridge&#39;/&gt;<br>
      &lt;target dev=&#39;veth1234&#39;/&gt;<br>
      &lt;link state=&#39;up&#39;/&gt;<br>
    &lt;/interface&gt;<br>
    &lt;input type=&#39;mouse&#39; bus=&#39;parallels&#39;/&gt;<br>
    &lt;input type=&#39;keyboard&#39; bus=&#39;parallels&#39;/&gt;<br>
    &lt;graphics type=&#39;vnc&#39; port=&#39;-1&#39; autoport=&#39;yes&#39; listen=&#39;10.27.68.3&#39;&gt;<br>
      &lt;listen type=&#39;address&#39; address=&#39;10.27.68.3&#39;/&gt;<br>
    &lt;/graphics&gt;<br>
    &lt;video&gt;<br>
      &lt;model type=&#39;parallels&#39; heads=&#39;1&#39;/&gt;<br>
    &lt;/video&gt;<br>
  &lt;/devices&gt;<br>
&lt;/domain&gt;<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2) Are OS Templates any different than openvz 6.0?<br>
</blockquote>
Yes, OpenVZ 7 uses EZ templates.<br>
See <a href="https://docs.openvz.org/openvz_users_guide.webhelp/_managing_templates.html" rel="noreferrer" target="_blank">https://docs.openvz.org/openvz<wbr>_users_guide.webhelp/_managing<wbr>_templates.html</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3) Has vz7 been tested with openvswitch and veth?<br>
</blockquote></blockquote>
<br></span>
it was tested via intermediate linux bridge<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4) Does networking in vz7 work like KVM does now that we&#39;re using KVM for<br>
the hypervisor?<br>
</blockquote></blockquote>
<br></span>
you can use veth interfaces in CTs, which can be plugged into an arbitrary bridge on the host<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
5) I noticed vz7 supports qcow2, In my testing containers created with<br>
prlctl were still using ploop. Is there a trick to enable this?<br>
</blockquote></blockquote>
<br></span>
ploop format is for containers, qcow2 - for virtual machines. There is no trick to make containers use qcow2 at the moment.<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dima, please comment.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
6) Can VZ7 hosts be kickstarted? I thought I read somewhere that kickstart<br>
was a &quot;premium&quot; feature only available in the paid version.<br>
</blockquote>
Installation using Kickstart is available in OpenVZ 7 too - <a href="https://docs.openvz.org/openvz_installation_using_pxe_guide.webhelp/_creating_a_kickstart_file.html" rel="noreferrer" target="_blank">https://docs.openvz.org/openvz<wbr>_installation_using_pxe_guide.<wbr>webhelp/_creating_a_kickstart_<wbr>file.html</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m sure I&#39;ll have a bunch more questions, but this is where I&#39;m starting<br>
at. Thank you.<br>
<br>
-- <br>
Frank Laszlo<br>
Nexcess - Beyond Hosting<br>
21700 Melrose Ave.<br>
Southfield, MI. 48075<br>
Phone: <a href="tel:%2B1.866.639.2377" value="+18666392377" target="_blank">+1.866.639.2377</a><br>
Fax:   <a href="tel:%2B1.248.281.0473" value="+12482810473" target="_blank">+1.248.281.0473</a><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailm<wbr>an/listinfo/users</a><br>
</blockquote>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Frank Laszlo<br>Nexcess - Beyond Hosting<br>21700 Melrose Ave.<br>Southfield, MI. 48075<div>Cell: +1.248.602.6123<br>Phone: +1.866.639.2377<br>Fax:   +1.248.281.0473 </div></div></div>
</div>