As far as I know, nova-manager is responsible for synchronizing vm states (i.e. <span class="nd" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">@manager.periodic_task</span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">(</span><span class="n" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">ticks_between_runs</span><span class="o" style="margin:0px;padding:0px;border:0px;font-weight:bold;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">=</span><span class="mi" style="margin:0px;padding:0px;border:0px;color:rgb(0,153,153);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">10</span><span class="p" style="margin:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">)</span><div>
Look at this link (<a href="https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L3073">https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L3073</a>)<br><br>Regards,</div><div>JuanFra.<br>
<br><div class="gmail_quote">2012/12/11 Steve Eastham <span dir="ltr"><<a href="mailto:steve.eastham@gmail.com" target="_blank">steve.eastham@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Typically it's the power_state or vm_state in the database that can become out of sync with reality.<span class="HOEnZb"><font color="#888888"><br><br>-Steve</font></span><div class="HOEnZb"><div class="h5"><br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Dec 11, 2012 at 10:41 AM, JuanFra Rodriguez Cardoso <span dir="ltr"><<a href="mailto:juanfra.rodriguez.cardoso@gmail.com" target="_blank">juanfra.rodriguez.cardoso@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Steve:<div><br></div><div>you have to sync things in DB like...?<br><br><br><div class="gmail_quote">2012/12/11 Steve Eastham <span dir="ltr"><<a href="mailto:steve.eastham@gmail.com" target="_blank">steve.eastham@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Was wondering if there are fixes in Folsom or patches for Essex for keeping Openstack better in sync with the actual libvirt/KVM status. Today we have to manually update the DB if things become out of sync.<span><font color="#888888"><br>


<br>-Steve<br>
</font></span><br></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>