Why does nova list takes 28 seconds

asked 2013-11-13 14:02:22 -0600

mark0978 gravatar image

nova list returns details on 11 VMs. All these VMs are on this compute node, and the command is being run on the compute node.

Here is what time nova list tells me:

real    0m28.246s
user    0m0.336s
sys     0m0.040s

Why is it so slow, and what do I look at to troubleshoot the why......

edit retag flag offensive close merge delete


What version of OpenStack are you running?

fifieldt gravatar imagefifieldt ( 2013-11-13 19:10:58 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-13 19:14:19 -0600

fifieldt gravatar image

updated 2013-11-13 19:14:46 -0600


the best thing to do is enable debug logging and look at the timestamps in the logs for the nova-api service to see what is going on and what happens where. A particular place to look is what SQL queries are being run, and how optimal they are - in older versions of OpenStack (eg Essex) there were some queries that were not so good.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-11-13 14:02:22 -0600

Seen: 317 times

Last updated: Nov 13 '13