[Openstack] Using glance to upload/add??

2012-04-05 Thread Joshua Harlow
Hi all, I was looking at the glance add command and I am trying to figure out how to use it to upload images to locations other than the default_store = file How does one go about telling it which store should be used. It seems like there is a location option, but that is the fully specified

Re: [Openstack] Using glance to upload/add??

2012-04-05 Thread Jay Pipes
Heya! Answers inline. :) On 04/05/2012 02:38 PM, Joshua Harlow wrote: Hi all, I was looking at the glance add command and I am trying to figure out how to use it to upload images to locations other than the “default_store = file” How does one go about telling it which store should be used.

Re: [Openstack] Using glance to upload/add??

2012-04-05 Thread Jay Pipes
You got it. Specifically... https://github.com/openstack/glance/blob/master/glance/api/v1/images.py#L370 Best, jay On 04/05/2012 04:56 PM, Joshua Harlow wrote: Cool, so glance internally does some lookup of ‘X-Image-Meta-Store’ and this will over-ride the default_store? -Josh On 4/5/12