Comment 10 for bug 1045152

Revision history for this message
flolle (florian-feldhaus) wrote :

I encountered the same problem when running get_vnc_console. After some debugging it turned out that update_available_resource was blocking the execution of get_vnc_console. This is a big problem as a GET request for the VNC console is waiting for get_vnc_console and can result in HTTP timeouts.
I wrote a little script to measure the time of get_vnc_console which can be found here https://gist.github.com/4197449
The result is, that whenever update_available_resource is running the duration of running get_vnc_console goes up from 1-2 seconds to 10-30 seconds.
I applied the patch from #8 restarted nova-compute, nova-api and nova-network but the problem still persists.