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

Mohammed Naser mnaser at vexxhost.com
Thu Mar 26 12:33:58 UTC 2015


Hi there,


I would also suggest that you run the `glance` command with the --debug flag.  It will give you full details on how to recreate the request, I suspect when you’re forcing the API version, you’re getting a URL that’s not quite right.




Regardless, it should give you more insight and easy troubleshooting.




Thanks

Mohammed

On Thu, Mar 26, 2015 at 7:58 AM, Lars Kellogg-Stedman <lars at redhat.com>
wrote:

> On Wed, Mar 25, 2015 at 09:26:43PM -0700, Su Zhang wrote:
>> 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?
> Sure.  Since you configured use_syslog=True, you'll need to check in
> your system logs, which depending on your platform may be
> /var/log/messages, /var/log/syslog, or "journalctl -u
> openstack-glance-api", or something else.
> -- 
> Lars Kellogg-Stedman <lars at redhat.com> | larsks @ {freenode,twitter,github}
> Cloud Engineering / OpenStack          | http://blog.oddbit.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150326/5e6b04fd/attachment.html>


More information about the Openstack mailing list