Add copy_from upload option to image creation in v2

Bug #1419040 reported by Julie Pichon on 2015-02-06
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Glance
Wishlist
Unassigned

Bug Description

Horizon relies heavily on the copy_from attribute when creating new images, for example from feedback from deployers we even offer the option to entirely disallow direct file uploads [1] [2] and only let end-user create new images by indicating a URL.

It is my understanding that the copy_from attribute isn't currently implemented in Glance v2. As we slowly add proper support for v2 to Horizon [3] it would be really helpful if there was a way to create an image given a URL when using v2 also. If this is already tracked somewhere else, please me know! Thank you.

[1] http://docs.openstack.org/developer/horizon/topics/deployment.html#file-uploads
[2] http://docs.openstack.org/developer/horizon/topics/settings.html#horizon-images-allow-upload
[3] https://blueprints.launchpad.net/horizon/+spec/horizon-glance-v2

Louis Taylor (kragniz) on 2015-02-06
Changed in glance:
status: New → Confirmed
importance: Undecided → Medium

On 06/02/15 16:22, Louis Taylor wrote:
> I believe this blueprint is intending to implement somewhat equivalent
> functionality: https://blueprints.launchpad.net/glance/+spec/new-upload-
> workflow
>
> ** Changed in: glance
> Status: New => Confirmed
>
> ** Changed in: glance
> Importance: Undecided => Medium
>

Thanks Louis! From the blueprint description it's not obvious to me yet
whether that will cover this use case, but I'll certainly keep an eye on
it as well.

Erno Kuvaja (jokke) wrote :

Not exactly a bug, changing the Importance to wishlist.

Changed in glance:
importance: Medium → Wishlist
Kent Wang (k.wang) on 2015-04-13
Changed in glance:
assignee: nobody → Kent Wang (k.wang)
Kent Wang (k.wang) wrote :

I recently learned about Glance image import tasks that does what previous v1 copy_from does: https://wiki.openstack.org/wiki/Glance-tasks-import

Should this be sufficient for Horizon?

Changed in glance:
assignee: Kent Wang (k.wang) → nobody

I think, that this bug might be resolved by web-download introdution in Q: https://docs.openstack.org/glance/rocky/admin/interoperable-image-import.html#image-import-methods

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers