<div dir="auto">Hi, </div><div dir="auto"><br></div><div dir="auto">Check the nova scheduler log. You will see what filter is failing. That's a good starting point.</div><div dir="auto"><br></div><div dir="auto">Maybe you have an aggregate group and you need to add the new compute node into the group.</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 24 Dec 2020 at 18:38 Grant Morley <<a href="mailto:grant@civo.com">grant@civo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div>
<p>Hi All,</p>
<p>I was wondering if anyone could point me in the right direction
with an issue we are having adding in new compute nodes to our
platform. We have been trying to add a few new compute nodes to
increase our capacity and upon configuring them with OSA and them
appearing to be in service we have noticed that no new instances
are provisioning onto them. We did a test by disabling all compute
nodes except for the new ones and an instance launch failed with
"No valid compute hosts were found"</p>
<p>We have enabled debug mode on Nova and also looked at the
nova-api containers ( scheduler, compute etc ) and it appears
there is not even an attempt to try and launch an instance on the
new hosts from what we can see.</p>
<p>The only thing we have noticed on the newly added hosts is that
the "privsep-helper" doesn't appear to be started whereas on a
working node it is running.</p>
<p>We have not changed the software versions of OpenStack or OSA, we
are running Queens.</p>
<p>The newly added compute node is reporting itself back fine from
what we can see:</p>
<p> Total usable vcpus: 72, total allocated vcpus: 0
_report_final_resource_view
/openstack/venvs/nova-17.1.2/lib/python2.7/site-packages/nova/compute/resource_tracker.py:827<br>
2020-12-24 16:26:32.895 6491 INFO nova.compute.resource_tracker
[req-6c58a97e-b7cb-4987-a219-da5b1ce156f8 - - - - -] Final
resource view: name=compute-27.openstack.local phys_ram=257826MB
used_ram=2048MB phys_disk=30166GB used_disk=0GB total_vcpus=72
used_vcpus=0 pci_stats=[]<br>
2020-12-24 16:26:33.022 6491 DEBUG nova.compute.resource_tracker
[req-6c58a97e-b7cb-4987-a219-da5b1ce156f8 - - - - -]
Compute_service record updated for
compute-27:compute-27.openstack.local _update_available_resource
/openstack/venvs/nova-17.1.2/lib/python2.7/site-packages/nova/compute/resource_tracker.py:767<br>
2020-12-24 16:26:33.023 6491 DEBUG oslo_concurrency.lockutils
[req-6c58a97e-b7cb-4987-a219-da5b1ce156f8 - - - - -] Lock
"compute_resources" released by
"nova.compute.resource_tracker._update_available_resource" :: held
0.334s inner
/openstack/venvs/nova-17.1.2/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285<br>
2020-12-24 16:26:35.001 6491 DEBUG oslo_service.periodic_task
[req-6c58a97e-b7cb-4987-a219-da5b1ce156f8 - - - - -] Running
periodic task ComputeManager._poll_rebooting_instances
run_periodic_tasks
/openstack/venvs/nova-17.1.2/lib/python2.7/site-packages/oslo_service/periodic_task.py:215</p>
<p>Does anyone know of any other logs we can check / enable that
might lead us in the right direction to figure out why the new
hosts are not adding in?</p>
<p>Any help would be greatly appreciated as we are a bit stumped at
the moment.</p>
<p>Many thanks,</p></div><div><p><br>
</p>
<div>-- <br>
<div dir="auto">
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div style="line-height:15px;margin-bottom:5px;color:rgb(109,190,255)"><span style="font-weight:bold;font-size:110%;color:rgb(35,157,255)">Grant
Morley</span></div>
<div style="line-height:15px;margin-bottom:10px;color:rgb(136,136,136)">Site Reliability Engineer, <span style="color:rgb(35,157,255)">Civo Ltd</span></div>
<div style="margin-right:110px;line-height:15px;margin-bottom:10px;color:rgb(136,136,136)"><span>Unit
H-K, Gateway 1000, Whittle Way<br>
Stevenage, Herts, SG1 2FP, UK</span></div>
</td>
<td valign="top" align="right"><img src="https://www.civo.com/images/email-logo.jpg" style="width: 100px; line-height: 15px; float: none; margin-top: 0px; margin-right: 10px; color: rgb(168, 216, 255);"></td>
</tr>
</tbody>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding:4px;background-color:rgb(35,157,255);color:white" width="*">Visit us at <a href="https://www.civo.com/" style="line-height:15px;text-decoration:none;color:white" target="_blank">www.civo.com</a></td>
<td width="2"><br>
</td>
<td style="text-align:center;padding:4px;background-color:rgb(240,240,240)" width="200"><a href="https://www.civo.com/signup" style="line-height:15px;margin-right:6px;text-decoration:none;color:rgb(35,157,255)" target="_blank">Signup for an account now
></a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>