openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #09633
Using glance to upload/add??
-
To:
openstack <openstack@xxxxxxxxxxxxxxxxxxx>
-
From:
Joshua Harlow <harlowja@xxxxxxxxxxxxx>
-
Date:
Thu, 5 Apr 2012 11:38:34 -0700
-
Accept-language:
en-US
-
Acceptlanguage:
en-US
-
Thread-index:
Ac0TW05J3PJJUdAEME6YMtJlCMWjAA==
-
Thread-topic:
Using glance to upload/add??
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 location, and I am unsure about that since the function that eventually gets called in these storage objects doesn't have/receive that.
def add(self, image_id, image_file, image_size):
Is it expected that people will only add to locations that use the default_store?
Might be nice to actually be able to specify that, and resort to the default_store if its not provided (thus the reason its called default).
Thx!
-Josh
Follow ups