Scheduler sends VM to HV that lacks resources

fsbiz at yahoo.com fsbiz at yahoo.com
Thu Nov 14 16:09:01 UTC 2019


 Hi Chris,
Thanks for the response.
>Your request, is asking for CUSTOM_RRR430 will a value of 2, but it
>is only available as 1. Have a look at your server create request,
>there's something, probably your flavor, which is unexpected.
The requests coming in are "forced host" requests.  The PaaS layer maintains an inventory of actual bare-metal available nodes and a user has to explicitly selecta baremetal node.  The PaaS layer then makes a nova api call for an instance to be createdon that specific baremetal node.   
>Placement and nova scheduler are working correctly with the data they
>have, the problem is with how inventory is being reported or requested.
>This could either be with how your ironic nodes are being reported,
>or with flavors.As far as I can recall, we've started seeing this particular error only recently after we added another 200 nodes to our flat infrastructure.  
Thanks,Fred.



    On Thursday, November 14, 2019, 01:18:40 AM PST, Chris Dent <cdent+os at anticdent.org> wrote:  
 
 On Thu, 14 Nov 2019, fsbiz at yahoo.com wrote:

> Ultimately, nova-conductor is reported "NoValidHost: No valid host was found. There are not enough hosts available"This has been traced to nova-placement-api "Allocation for CUSTOM_RRR430 on resource provider 3cacac3f-9af0-4e39-9bc8-d1f362bdb730 violates min_unit, max_unit, or step_size. Requested: 2, min_unit: 1, max_unit: 1, step_size: 1"
> Any pointers on what next steps I should be looking at ?

Your request, is asking for CUSTOM_RRR430 will a value of 2, but it
is only available as 1. Have a look at your server create request,
there's something, probably your flavor, which is unexpected.

Placement and nova scheduler are working correctly with the data they
have, the problem is with how inventory is being reported or requested.
This could either be with how your ironic nodes are being reported,
or with flavors.

> 2019-11-12 10:26:02.461 4161129 WARNING nova.objects.resource_provider [req-6d79841e-6abe-490e-b79b-8d88b04215af 1ee9f9bf77294e8e8bf50bb35c581689 acf8cd411e5e4751a61d1ed54e8e874d - default default] Allocation for CUSTOM_Z370_A on resource provider 3cacac3f-9af0-4e39-9bc8-d1f362bdb730 violates min_unit, max_unit, or step_size. Requested: 2, min_unit: 1, max_unit: 1, step_size: 1

This is the same issue, but with a different class of inventory

-- 
Chris Dent                      ٩◔̯◔۶          https://anticdent.org/
freenode: cdent  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20191114/645cb7b6/attachment-0001.html>


More information about the openstack-discuss mailing list