<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 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>