<div dir="ltr">Hi,<div><br></div><div>I took the latest openstack components from the master branch into use and tried again and now the delay is not there anymore. So everything seems to be fine with Nova version 2.15.0.22.</div>
<div><br></div><div>Thanks,</div><div>-Juha</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 September 2013 09:06, Jian Wen <span dir="ltr"><<a href="mailto:jian.wen@canonical.com" target="_blank">jian.wen@canonical.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"><div><div>Hello, Juha<br><br></div>I can't reproduce this bug in a devstack environment freshly installed today.<br>
<br>Instance's power state should be synced in a very short delay window since<br>the following bp.<br>
<a href="https://blueprints.launchpad.net/nova/+spec/compute-driver-events" target="_blank">https://blueprints.launchpad.net/nova/+spec/compute-driver-events</a><br><br></div><div>What is the exact version of nova are you using?<br>
</div>
<div>Could you file a bug?<br></div><div><br><br><br><br><br><br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Thu, Sep 19, 2013 at 9:04 PM, Juha Tynninen <span dir="ltr"><<a href="mailto:tyky72@gmail.com" target="_blank">tyky72@gmail.com</a>></span> wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div dir="ltr">Hi,<div><br></div><div>Ok, seems to be I can eliminate the delay by editing the value for the nova/compute/manager.py related configuration item in nova.conf: </div>

<div><br></div><div><div>cfg.IntOpt('sync_power_state_interval',</div>
<div>               default=600,</div><div>               help='interval to sync power states between '</div><div>                    'the database and the hypervisor'),</div></div><div><br></div><div>In the grizzly code there is also this default 600 seconds interval defined for this check, but still there wasn't this kind of delay present... I wonder what has changed.</div>


<div><br></div><div>How do you see, is there some negative effects to set the sync_power_state_interval very low in havana (e.g. 1s or even lower)...?</div><div><br></div><div>Thanks,</div><div>-Juha</div><div><br></div>

</div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 18 September 2013 12:41, Juha Tynninen <span dir="ltr"><<a href="mailto:tyky72@gmail.com" target="_blank">tyky72@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"><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">Hi,</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br></span></div><div>


<span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">Previously in grizzly if I killed the VM process (in case of devstack the relevant qemu-system process) nova </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">almost immediately noticed this and the status of VM was updated to SHUTOFF.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br>



</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">But now in havana it takes about 5 minutes the VM status to change to SHUTOFF. </span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">Anyone knows what causes this delay</span><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">?</span></div>



<div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">Thanks,</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">-Juha</span></div>



<div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div><br></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" 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" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div dir="ltr">Cheers,<div>Jian</div></div>
</font></span></div>
</blockquote></div><br></div>