[Openstack] How specify image api version at server side?

Su Zhang westlifezs at gmail.com
Thu Mar 26 04:26:43 UTC 2015


Thanks for your response Lars!
I checked the log, however it is an empty file.
I've already specify "use_syslog = True" in glance-api.conf.

but here is what I've seen
su at ubuntu:/opt/stack/glance/glance$ cat /var/log/glance/api.log
su at ubuntu:/opt/stack/glance/glance$


any ideas?

Thanks,

On Wed, Mar 25, 2015 at 9:23 PM, Lars Kellogg-Stedman <lars at redhat.com>
wrote:

> On Wed, Mar 25, 2015 at 08:53:07PM -0700, Su Zhang wrote:
> > su at ubuntu:/opt/stack/glance/glance$ export OS_IMAGE_API_VERSION=2
> > su at ubuntu:/opt/stack/glance/glance$
> > glance image-list HTTPInternalServerError (HTTP 500)
>
> The first place to look for information is in your glance-api server
> logs, to see if there is information there about why glance is
> returning a 500 error to the client.
>
> The glance logs should be located in /var/log/glance.
>
> --
> Lars Kellogg-Stedman <lars at redhat.com> | larsks @
> {freenode,twitter,github}
> Cloud Engineering / OpenStack          | http://blog.oddbit.com/
>
>


-- 
Su Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150325/2801ebf8/attachment.html>


More information about the Openstack mailing list