[Openstack] Call to API very slow [Grizzly]

Peter Cheung mcheung63 at hotmail.com
Thu Jul 25 10:43:13 UTC 2013

I am having a problem about calling API speed is up and down, something need 0.1s, something it needs 3s

Thanksfrom Peter

Date: Thu, 25 Jul 2013 17:41:11 +0700
From: chu.ducminh at gmail.com
To: openstack at lists.launchpad.net; openstack at lists.openstack.org
Subject: [Openstack] Call to API very slow [Grizzly]

All operations in my Openstack dashboard very slow (compare to my old Openstack deployment)
Then i do some check on an instance:

$ time curl

real    0m5.605s
user    0m0.004s
sys    0m0.004s

5 seconds for a simple API query !??

in quantum-ns-metadata-proxyxxxx.log, i saw:
2013-07-25 17:17:09    DEBUG [quantum.agent.metadata.namespace_proxy] Request: GET /openstack HTTP/1.0

Accept: */*
Content-Type: text/plain
User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/ libidn/1.23 librtmp/2.3
2013-07-25 17:17:14    DEBUG [quantum.agent.metadata.namespace_proxy] {'date': 'Thu, 25 Jul 2013 10:17:14 GMT', 'status': '200', 'content-length': '28', 'content-type': 'text/html; charset=UTF-8', 'content-location': u''}

2013-07-25 17:17:14    DEBUG [quantum.agent.metadata.namespace_proxy] 2012-08-10

I take a look at metadata-agent.log, and saw almost request/response finished @17:17:09

But the last finished @17:17:14
2013-07-25 17:17:14    DEBUG [quantum.agent.metadata.agent] {'date': 'Thu, 25 Jul 2013 10:17:14 GMT', 'status': '200', 'content-length': '28', 'content-type': 'text/html; charset=UTF-8', 'content-location': u''}

I enabled slow query log on MySql, but can't find any slow query.

Do you know possible problems in this situation?
Thank you very much!

Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130725/1fd16b05/attachment.html>

More information about the Openstack mailing list