yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14383
[Bug 1245514] Re: block using --location when creating an image with swift backend
--location would simply create a db entry.
nova will download the image locally when we need to run an instance.
I think it would be interesting to see if we can configure nova to work with swift as shared storage and than it would be interesting to see what would happen but I see it more as an RFE.
so yes, I am closing this as wont fix (invalid) until this capability is added to nova (I will check if a blueprint exists).
thanks!
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1245514
Title:
block using --location when creating an image with swift backend
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
I am working with swift as backend to glance.
There is something that I find a little odd in the whole process of
creating an image with swift backend.
If I change the glance-api.conf to work with swift, I think that I expect the images to be created in swift when we use the --location tag.
currently, only if we use the --copy-from we actually create the image in swift (since we copy the image), but if we use --location, we create the image locally with the link and will only try to create the object in swift if we try to boot an instance.
The reason I find this odd is because if we have a problem with swift we cannot actually know about it because with --location the image is created locally.
Also, if we launch several instances from an image while trying to upload it to swift at the same time I think we may encounter some performance issues.
to conclude... I think that if we decide to work with a different
backend for glance we should not support --location as a local create
image method and either block this option from api or re-direct to
copy-from if backend is not local.
btw, horizon is using the --copy-from when we change conf to swift so
that the image will be copied to swift when we create it and report
issues is this cannot be done.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1245514/+subscriptions