<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">any `WARNING`s or `ERROR`s in the compute log?<br><br>does `nova host-list` tell you on which nodes the compute services are running?<br><br>gl, hf!<br><br>azq<br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2014-01-09 23:06:04,"Danny Roberts" <danny.roberts@reconnix.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I am running OpenStack Havana on CentOS 6.5 using 1 controller node and 6 compute nodes.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">They are set up with shared storage for Glance, Nova & Cinder as well as shared Nova Networking (no Neutron in our environment).</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">When trying to boot an instance it goes into Building status for a few seconds before going into Error status. </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Tailing the nova scheduler log shows this error each time:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">2014-01-09 14:40:06.304 2239 WARNING nova.scheduler.utils [req-3f21465f-7ec6-4ea0-9a08-c3a7dcd3faff 5fc621f9f24941febb883f78d2d350ec c22af115b6a84dc78b1ae19385c6cd23] Failed to scheduler_run_instance: No valid host was found. Exceeded max scheduling attempts 3 for instance d1ff048b-6ddd-4589-b188-7606a047df23</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">2014-01-09 14:40:06.305 2239 WARNING nova.scheduler.utils [req-3f21465f-7ec6-4ea0-9a08-c3a7dcd3faff 5fc621f9f24941febb883f78d2d350ec c22af115b6a84dc78b1ae19385c6cd23] [instance: d1ff048b-6ddd-4589-b188-7606a047df23] Setting instance to ERROR state.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">As I understand the "No valid host" error indicates that the scheduler could not find a compute host with the resources required in order to schedule the instance on any of the available hosts. However none of the hosts are running anything currently and have decent specs. Also it's only a tiny instance so doesn't require much anyway.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I tried setting '<span style=" font-family:'Helvetica Neue,Arial,Helvetica,sans-serif'; font-size:14px; font-weight:600; color:#4b4b4b; background-color:#ffffff;">scheduler_default_filters=AllHostsFilter'</span><span style=" font-family:'Helvetica Neue,Arial,Helvetica,sans-serif'; font-size:14px; color:#4b4b4b; background-color:#ffffff;"> in '</span><span style=" font-family:'Helvetica Neue,Arial,Helvetica,sans-serif'; font-size:14px; font-weight:600; color:#4b4b4b; background-color:#ffffff;">/etc/nova/nova.conf'</span>� as how I read it in the Developers docs and on various forums this should mean that the scheduler does not checks for resources and just schedules the build on a connected host. However even with this option set the '<span style=" font-weight:600;">nova boot' </span>still goes into Error status and gives the error shown in the above log snippet.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I have tried multiple images in case the image is at fault but none will launch (even the one we have in use in another OpenStack environment) so don't believe that it is that. I also updated all our boxes yesterday to the latest package versions and this hasn't changed anything.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Any ideas why this error might still be occurring or any advise on how we could debug the situation further?</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Regards,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Danny Roberts</p>
</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>