<div dir="ltr">For what its worth the line within the interfaces section:<div><br></div><div><link state='up'/><br></div><div><br></div><div>Causes the container creation to fail on the first try, and then work on the second. I'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 'DspCmdGetDefaultVmConfig' 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 'DspCmdGetDefaultVmConfig' 2156 for CT uuid=''</div><div>Aug 10 15:04:00 stark-ssd02 prl_disp_service: 08-10 15:04:00.589 F /disp:3342:3387/ Processing command 'DspCmdAddVirtualNetwork' 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 '24Task_ManagePrlNetService' 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 'ovsbr0' 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 'ovsbr0' 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 '24Task_ManagePrlNetService' 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 'DspCmdDeleteVirtualNetwork' 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 '24Task_ManagePrlNetService' 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 '24Task_ManagePrlNetService' 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"><<a href="mailto:mnestratov@virtuozzo.com" target="_blank">mnestratov@virtuozzo.com</a>></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'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>
<domain type='vz'><br>
<name>your-ct-name</name><br>
<uuid>5869cd3e-13fc-4e69-b99a-<wbr>d37c020987b6</uuid><br>
<memory unit='KiB'>524288</memory><br>
<currentMemory unit='KiB'>524288</currentMemo<wbr>ry><br>
<vcpu placement='static'>1</vcpu><br>
<os><br>
<type arch='x86_64'>exe</type><br>
<init>/sbin/init</init><br>
</os><br>
<clock offset='utc'/><br>
<on_poweroff>destroy</on_power<wbr>off><br>
<on_reboot>restart</on_reboot><br>
<on_crash>destroy</on_crash><br>
<devices><br>
<filesystem type='file' accessmode='passthrough'><br>
<driver type='ploop' format='ploop'/><br>
<source file='/path/to/your/ploop/disk<wbr>/directory'/><br>
<target dir='/'/><br>
</filesystem><br>
<interface type='bridge'><br>
<mac address='fa:16:3e:c6:5c:90'/><br>
<source bridge='some-bridge'/><br>
<target dev='veth1234'/><br>
<link state='up'/><br>
</interface><br>
<input type='mouse' bus='parallels'/><br>
<input type='keyboard' bus='parallels'/><br>
<graphics type='vnc' port='-1' autoport='yes' listen='10.27.68.3'><br>
<listen type='address' address='10.27.68.3'/><br>
</graphics><br>
<video><br>
<model type='parallels' heads='1'/><br>
</video><br>
</devices><br>
</domain><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'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 "premium" 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'm sure I'll have a bunch more questions, but this is where I'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>