<div dir="ltr"><div>Nova has different log files, one for the scheduler, one for the conductor, one for the api-server, and one for the compute agent. If you don't see anything at all regarding openstack in /var/log, is there a chance you've enabled syslog logging?<br></div><div><br></div><div>If you're running from devstack, you might have logs in /opt/stack/screen-logs (or another directory if you specified a different one in localrc).<br></div><div>Note: if you've enabled syslog for devstack you will have to look into syslog.</div><div><br></div><div>I should have mentioned this thing about logs in my previous post! sorry about that, I realise my reply sounded quite dumb and irritating.</div><div><br></div><div>Salvatore</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 June 2015 at 09:14, Silvia Fichera <span dir="ltr"><<a href="mailto:fichera.sil@gmail.com" target="_blank">fichera.sil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Good morning.<div>As I told I can't find the folder /var/log/nova.</div><div>So which log should I check?</div><div>Thanks</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-06-19 16:23 GMT+02:00 Salvatore Orlando <span dir="ltr"><<a href="mailto:sorlando@nicira.com" target="_blank">sorlando@nicira.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I would check for errors in the nova compute logs.<div><br></div><div>In some cases I had the same error, but the actual root cause was that the nova compute log was failing to setup networking for an instance. The request went back to the scheduler, which selected another compute node, but failed in the same way while setting up networking, and so on until failure.</div><div><br></div><div>Salvatore</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 19 June 2015 at 14:50, Silvia Fichera <span dir="ltr"><<a href="mailto:fichera.sil@gmail.com" target="_blank">fichera.sil@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Hi all, I have 4 VMs in a server, managed by ESXi. One of these perform as OVS, one is the Openstack controller and the other two are the compute hosts. Yesterday I set up Openstack via devstack with Opendaylight integration for VTN. There was some issue in the VTN configuration but I was able to create the instances. This morning I tryed again to launch the instances before facing the other problems and there was this error:</p><blockquote style="margin:0px 0px 18px;padding:0px 0px 0px 15px;border-left-width:5px;border-left-style:solid;border-left-color:rgb(238,238,238);color:rgb(75,75,75);font-family:Arial;font-size:14px;line-height:21px;background-color:rgb(245,245,245)"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">Error: Failed to launch instance "inst": Please try again later [Error: No valid host was found. Exceeded max scheduling attempts 3 for instance a12ab017-396a-46d0-9749-011b829c6273. Last exception: [u'Traceback (most recent call last):\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 2081, in _do_build_and_run_in].</p></blockquote><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">My VMs have the maximun availability of memory and CPU (the same as yesterday). I tryed with a tiny flavour but there is the same error. When I do: nova-manage service list in my controller node I have this output:</p><blockquote style="margin:0px 0px 18px;padding:0px 0px 0px 15px;border-left-width:5px;border-left-style:solid;border-left-color:rgb(238,238,238);color:rgb(75,75,75);font-family:Arial;font-size:14px;line-height:21px;background-color:rgb(245,245,245)"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">Binary Host Zone Status State Updated_At</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">nova-conductor devstack1 internal enabled :-) 2015-06-19 12:45:16</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">nova-compute devstack1 nova enabled :-) 2015-06-19 12:45:08</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">nova-cert devstack1 internal enabled :-) 2015-06-19 12:45:10</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">nova-scheduler devstack1 internal enabled :-) 2015-06-19 12:45:10</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">nova-consoleauth devstack1 internal enabled :-) 2015-06-19 12:45:14</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">nova-compute devstack2 nova enabled :-) 2015-06-19 12:45:10</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif">nova-compute devstack3 nova enabled :-) 2015-06-19 12:45:11</p></blockquote><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">(all smiling!!)</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">I have also read to check the file /var/log/nova/nova.log (if I'm not wrong), but I can't find the directory nova inside /var/log</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Thank you</p><span><font color="#888888"><div><br></div>-- <br><div>Silvia Fichera</div>
</font></span></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Silvia Fichera</div>
</font></span></div>
</blockquote></div><br></div>