<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I am having a problem about calling API speed is up and down, something need 0.1s, something it needs 3s<br><br>Thanks<div>from Peter</div><br><br><div><hr id="stopSpelling">Date: Thu, 25 Jul 2013 17:41:11 +0700<br>From: chu.ducminh@gmail.com<br>To: openstack@lists.launchpad.net; openstack@lists.openstack.org<br>Subject: [Openstack] Call to API very slow [Grizzly]<br><br><div dir="ltr"><div><div><div><div><div><div><div><div>All operations in my Openstack dashboard very slow (compare to my old Openstack deployment)<br></div>Then i do some check on an instance:<br><br>$ time curl <a href="http://169.254.169.254/openstack" target="_blank">http://169.254.169.254/openstack</a><br>
2012-08-10<br>2013-04-04<br>latest<br>real    0m<b>5.605s</b><br>user    0m0.004s<br>sys    0m0.004s<br><br></div>5 seconds for a simple API query !??<br><br><br></div>in quantum-ns-metadata-proxyxxxx.log, i saw:<br>2013-07-25 <b>17:17:09  </b>  DEBUG [quantum.agent.metadata.namespace_proxy] Request: GET /openstack HTTP/1.0<br>
Accept: */*<br>Content-Type: text/plain<br>Host: 169.254.169.254<br>User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/<a href="http://1.2.3.4" target="_blank">1.2.3.4</a> libidn/1.23 librtmp/2.3<br>2013-07-25 <b>17:17:14</b>    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'<a href="http://169.254.169.254/openstack" target="_blank">http://169.254.169.254/openstack</a>'}<br>
2013-07-25 17:17:14    DEBUG [quantum.agent.metadata.namespace_proxy] 2012-08-10<br>2013-04-04<br>latest<br><br></div>I take a look at metadata-agent.log, and saw almost request/response finished @<b>17:17:09<br></b></div>
But the last finished <b>@</b><b>17:17:14<br></b>2013-07-25 <b>17:17:14</b>    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'<a href="http://172.30.1.14:8775/openstack" target="_blank">http://172.30.1.14:8775/openstack</a>'}<br>
<b><br></b></div>I enabled slow query log on MySql, but can't find any slow query.<br><br></div>Do you know possible problems in this situation?<br></div>Thank you very much!<br><div><div><div><div><div><div><div><div>
<div><br></div></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp</div>                                     </div></body>
</html>