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

Uwe Sauter uwe.sauter.de at gmail.com
Thu Mar 26 09:45:46 UTC 2015


Hi Su,

if you configured use_syslog=True then this probably will only log to Syslog (e.g. /var/log/messages). You should set
this to False to get back /var/log/glance/api.conf

Regards,

	Uwe



Am 26.03.2015 um 05:26 schrieb Su Zhang:
> 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 <mailto: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 <mailto:lars at redhat.com>> | larsks @ {freenode,twitter,github}
>     Cloud Engineering / OpenStack          | http://blog.oddbit.com/
> 
> 
> 
> 
> -- 
> Su Zhang
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 




More information about the Openstack mailing list