Revision history [back]

glance image-create --store option in API v2?

When using the v1 API, glance image-create has a --store option that allows users to select where the image will be stored. The API implements this by a header, "x-image-meta-store".

With API v2, image-create doesn't accept the --store option. I haven't found if "x-image-meta-store" is supported (and haven't tried it either; the v2 API is a bit over my head).

Is there a way to select the store using the API v2, with the CLI or otherwise?