Hi,
i have same issue when adding XCP-ng 8.3 host to CloudStack 4.19.1.3 (pool with single host):
cloudstack log:
2024-11-28 15:24:31,812 INFO [c.c.r.ResourceManagerImpl] (qtp660017404-16:ctx-2963461b ctx-f5077d60) (logid:c31fbed3) Trying to add a new host at http://10.1.253.118 in data center 1 2024-11-28 15:24:31,865 WARN [c.c.h.x.d.XcpServerDiscoverer] (qtp660017404-16:ctx-2963461b ctx-f5077d60) (logid:c31fbed3) Xml Rpc Exception org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse server's response: Duplicate name: restrict_vtpm at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:188) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143) at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126) at com.xensource.xenapi.Connection.dispatch(Connection.java:330) at com.xensource.xenapi.Host.getAllRecords(Host.java:3251) at com.cloud.hypervisor.xenserver.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:237)i've API call packet capture an i found that 'pool.get_record' section 'restrictions' has only one ocurence of 'restrict_vtpm'
but 'host.get_all_records' section 'license_params' has 'restrict_vtpm' twice, same as 'xe host-license-view' output.
Petr