Article ID: 126044, created on Jun 27, 2015, last review on Jun 27, 2015

  • Applies to:
  • Virtuozzo containers for Windows

Symptoms

Installing Application template though PVA MN fails with similar error:

Virtual Environments         CT1001
Hardware Nodes               WIN-NQ6D1IGEJ0O
User                         administrator
Status                        Failed
Time                            Operation                                                                           Status
Apr 14, 2015 08:20:23 AM    Operation with the Container "CT1001" and package(s) .net.4.5.2-v2-1.0 is started   Completed
Apr 14, 2015 08:20:23 AM    Operation with the Container "CT1001" is finished with errors: Can not install packages: packages .net.4.5.2-v2-1.0 (OS windows_2008r2_dc_sp1-6.1.7601) cannot be installed into Container because they seem to be incompatible with the later OS template.

However the same template can be installed via CLI:

C:\Users\Administrator>vzpkgadd 1001 .net.4.5.2-v2-1.0
Adding template .net.4.5.2-v2-1.0 to container 1001...
Command 'vzpkgadd' is successfully finished

The same error may occur, if the template is installed via API call, example:

<?xml version="1.0" encoding="UTF-8"?><packet xmlns:ns1="http://www.swsoft.com/webservices/vza/4.0.0/vzatypes" xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" time="2015-06-27T01:00:08+0000" timeout="10800" timeout_limit="2147483647" uid="" priority="4000" type="6" progress="on" version="4.0.0">
<target>vzapackagem</target>
<data>
<vzapackagem>
<install>
<eid>a36ae0f7-bc0e-42b9-a8ec-9c2ea7015785</eid>
<installation_package>
<package xsi:type="ns1:package_vztemplateType">
<ns1:name>panel-11.0.9.0</ns1:name>
</package>
</installation_package>
</install>
</vzapackagem>
</data>
</packet>

Cause

In case of using XML API, the incorrect package type is indicated:

package_vztemplateType - EZ templates
package_std_vztemplateType - standard templates

In addition, PVA treats all templates starting with a dot '.' as EZ tepmlates automatically, so this may also cause the same issue, e.g.:

.net.4.5.2-v2-1.0

Resolution

The correct XML API call should be as follows:

<?xml version="1.0" encoding="UTF-8"?><packet xmlns:ns1="http://www.swsoft.com/webservices/vza/4.0.0/vzatypes" xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" time="2015-06-27T01:00:08+0000" timeout="10800" timeout_limit="2147483647" uid="" priority="4000" type="6" progress="on" version="4.0.0">
<target>vzapackagem</target>
<data>
<vzapackagem>
<install>
<eid>a36ae0f7-bc0e-42b9-a8ec-9c2ea7015785</eid>
<installation_package>
<package xsi:type="ns1:package_std_vztemplateType">
<ns1:name>panel-11.0.9.0</ns1:name>
</package>
</installation_package>
</install>
</vzapackagem>
</data>
</packet>

For the correct work of PVA MN names started with 'dot' should be avoided for application templates on Virtuozzo Containers for Windows.

Search Words

packages cannot be installed into Container because they seem to be incompatible with the later OS template

template type ez

can not install os template

sdfdsf

965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF