<div dir="ltr"><div><div><div><div>Hi Will,<br><br></div>I agree to @zhiyan that the log are not valuable enough, in most cases, it is because "Authorization Failure" for db's pass, or auth protocol or others.<br>
<br></div>Anyway, please provide more log or config file's detail.<br><br></div>Hope it helps<br><br></div>Damon<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-14 14:19 GMT+08:00 Zhi Yan Liu <span dir="ltr"><<a href="mailto:lzy.dev@gmail.com" target="_blank">lzy.dev@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In both glance-api logs [1][2], I think your registry service should<br>
got some problems when it handles glance-api requests, but from the<br>
glance-registry logs you provided, I can't found any valuable<br>
information for that case, so could you collect more logs? especially<br>
glance-registry service.<br>
<br>
zhiyan<br>
<br>
[1] 2014-04-13 15:40:18.247 11634 INFO<br>
glance.registry.client.v1.client [29ff632c-8a35-4502-a437-dc29a629e4cc<br>
c7cf091e6b184a17a361526e62c46fdd 16869d14f07048f59bb2bacff6fb18a5]<br>
Registry client request GET /images/detail raised ServerError<br>
<br>
[2] 2014-04-13 15:41:52.626 11634 INFO<br>
glance.registry.client.v1.client [091f2a2f-a786-4c81-ad98-8671b1ea914e<br>
c7cf091e6b184a17a361526e62c46fdd 16869d14f07048f59bb2bacff6fb18a5]<br>
Registry client request POST /images raised ServerError<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Apr 14, 2014 at 3:47 AM, William Dunn <<a href="mailto:wdunn@mailtrust.com">wdunn@mailtrust.com</a>> wrote:<br>
> I'm working on setting up Havana on CentOS 6.5, bare metal.<br>
><br>
> Everything seems cool up to here:<br>
> <a href="http://docs.openstack.org/havana/install-guide/install/yum/content/glance-verify.html" target="_blank">http://docs.openstack.org/havana/install-guide/install/yum/content/glance-verify.html</a><br>
><br>
> but when I tried to load the test image into glance:<br>
> glance image-create --name="CirrOS 0.3.1" --disk-format=qcow2 \<br>
> --container-format=bare --is-public=true < cirros-0.3.1-x86_64-disk.img<br>
> I get a 500 error:<br>
> <a href="http://pastie.org/private/l9hzbuacftyt9ashgt7ang" target="_blank">http://pastie.org/private/l9hzbuacftyt9ashgt7ang</a><br>
><br>
> I poked around, and discovered that I also get the same 500 error when I do a<br>
> glance image-list:<br>
> [root@box images]# glance image-list<br>
> Request returned failure status.<br>
> HTTPInternalServerError (HTTP 500)<br>
><br>
> Doing a curl:<br>
> curl -i -X GET -H 'X-Auth-Token: blahblah' -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' <a href="http://192.168.20.1:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20" target="_blank">http://192.168.20.1:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20</a><br>
> returns:<br>
> HTTP/1.1 500 Internal Server Error<br>
> Content-Type: text/plain<br>
> Content-Length: 0<br>
> Date: Sun, 13 Apr 2014 19:44:51 GMT<br>
> Connection: close<br>
><br>
> So, I googled, and I followed all the advice I found. My filesystem_store_datadir<br>
> is set, I verified that there is a service tenant in keystone and a glance user<br>
> with admin credentials in keystone, the sql data is in both glance-api.conf and<br>
> glance-registry.conf, and is correct. I verified that the unix user glance can<br>
> write to the image store directory, and that the mysql user glance can read/write<br>
> to the database glance, as specified.<br>
><br>
> So, I bumped up to debug output for both the registry and api, and this is what<br>
> I've got:<br>
> Doing a glance image-list, registry log:<br>
> <a href="http://pastie.org/private/cshdglpjxasmitl480ljq" target="_blank">http://pastie.org/private/cshdglpjxasmitl480ljq</a><br>
> Doing a glance image-list, api log:<br>
> <a href="http://pastie.org/private/wkceq0bdrunsvvm9qemdow" target="_blank">http://pastie.org/private/wkceq0bdrunsvvm9qemdow</a><br>
> Doing a glance image-create blahblahblah, registry log:<br>
> <a href="http://pastie.org/private/xxetsfl0nopcaszvsiemw" target="_blank">http://pastie.org/private/xxetsfl0nopcaszvsiemw</a><br>
> Doing a glance image-create blahblahblah, api log:<br>
> <a href="http://pastie.org/private/jmsa5y30xn6xpay77weea" target="_blank">http://pastie.org/private/jmsa5y30xn6xpay77weea</a><br>
><br>
> I can provide more info if needed, but I'm stumped at this point. Any suggestions?<br>
><br>
><br>
> Will Dunn<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br></div>