Symptoms

In some cases the PACI Instance Manager will not create CI servers, Load Balancers or Images, returning the following error in the PACI-im.log:

P300002: Cannot find suitable hardware node

However, there are suitable hardware nodes registered in Parallels Operations Automation (POA), which have appropriate OS templates installed and appropriate tags assigned.

Cause

The most common cause is that registered hardware nodes do not fit provisioning requirements due to a lack of resources.

Resolution

Find out the exact reason of provisioning failure using the RESTful API request to create CI server, Image or Load Balancer on a particular hardware node:

POST http://{PACI_URL}:4465/paci/v1.0/of/{CUSTOMER_ID}/ve/at/{HARDWARE_NODE_NAME}

or

POST http://{PACI_URL}:4465/paci/v1.0/of/{CUSTOMER_ID}/image/at/{HARDWARE_NODE_NAME}

or

POST http://{PACI_URL}:4465/paci/v1.0/of/{CUSTOMER_ID}/load-balancer/at/{HARDWARE_NODE_NAME}

See the real-life example below.

The following RESTful API request to create a CI server fails with the generic error message:

[root@paci-im ~]# curl -uadmin:'Password' -H "Content-type: application/xml" -X POST --data '<?xml version="1.0" encoding="utf-8"?><ve><name>LB-01</name><description>LB Server 1</description><subscription-id>1</subscription-id><cpu number="1" power="500"/><ram-size>1024</ram-size><bandwidth>150</bandwidth><no-of-public-ip>1</no-of-public-ip><ve-disk local="true" size="15" primary="true"/><platform><template-info name="centos-5-x86_64"/><os-info type="linux-free" technology="CT"/></platform></ve>' http://10.55.83.14:4465/paci/v1.0/of/1/ve

P300002: Cannot find suitable hardware node

You can see the exact cause of the problem when trying to create CI server on a particular Hardware Node using the following request:

~# curl -uadmin:'Password' -X POST -H "Content-type: application/xml" --data '<?xml version="1.0" encoding="utf-8"?><ve><name>LB-01</name><description>LB Server 1</description><subscription-id>1</subscription-id><cpu number="1" power="500"/><ram-size>1024</ram-size><bandwidth>150</bandwidth><no-of-public-ip>1</no-of-public-ip><ve-disk local="true" size="15" primary="true"/><platform><template-info name="centos-5-x86_64"/><os-info type="linux-free" technology="CT"/></platform></ve>' http://10.55.83.14:4465/paci/v1.0/of/1/ve/at/myserver.domain.tld

P3000030: Netgroup [PACI] doesn't have free private subnets

Internal content

Link on internal Article