<div dir="auto">Hi there,</div><div dir="auto"><br></div><div dir="auto">I like the idea, but historically, Nova has steered away from giving more details on why things failed to schedule in order to prevent leaking information about the cloud. </div><div dir="auto"><br></div><div dir="auto">I agree that it’s one of the more painful errors, but I see the purpose behind masking it from the user in an environment where the user is not the operator. </div><div dir="auto"><br></div><div dir="auto">It would be good to hear from other devs, or maybe if this can be an admin-level thing. </div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Mohammed</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 25, 2021 at 9:53 AM Brito, Hugo Nicodemos <<a href="mailto:Hugo.Brito@windriver.com">Hugo.Brito@windriver.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 dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255);color:rgb(0,0,0)">
Hi,
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">In a prototype, we have improved Nova's scheduling error messages. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">This helps both developers and end users better understand the </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">scheduler problems that occur on creation of an instance.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">When a scheduler error happens during instance creation via the nova </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">upstream, we get the following message on the Overview tab </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">(Horizon dashboard): "No valid host was found." This doesn't give us </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">enough information about what really happened, so our solution was to </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">add more details on the instance's overview page, e.g.:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">**Fault:Message** attribute provides a summary of why each host can not </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">satisfy the instance’s resource requirements, e.g. for controller-0, it </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">indicates “No valid host was found. Not enough host cell CPUs to fit </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">instance cell” (where cell is a numa-node or socket).</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">**Fault:Details** attribute provides even more detail for each </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">individual host, for example it shows that the instance “required” 2 </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">CPU cores and shows the “actual” CPU cores available on each “numa” </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">node: “actual:0, numa:1” and “actual:1, numa:0”.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">These details are also present using the OpenStack CLI, in the </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">_fault_ attribute:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">- openstack server show <instance>  </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">With that in mind, we'd like to know if you are open to consider such </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">a change. We are willing to submit a spec and upstream that </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">implementation.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">Regards,</div>
- nicodemos<br>
</div>
</div>

</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mohammed Naser<br>VEXXHOST, Inc.</div>