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