Add copy_from upload option to image creation in v2

Bug #1419040 reported by Julie Pichon
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
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)
Changed in glance:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Julie Pichon (jpichon) wrote : Re: [Bug 1419040] Re: Add copy_from upload option to image creation in v2

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.

Revision history for this message
Erno Kuvaja (jokke) wrote :

Not exactly a bug, changing the Importance to wishlist.

Changed in glance:
importance: Medium → Wishlist
Kent Wang (k.wang)
Changed in glance:
assignee: nobody → Kent Wang (k.wang)
Revision history for this message
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
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

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

Revision history for this message
Boris Lukashev (rageltman) wrote :

Has this had any progress out of public view? 2.5y since last update?
What qualifies for wishlist at Canonical? This report describes a functional disparity from upstream OpenStack, resulting in an inability to perform actions which are documented as viable in the upstream code.

Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

As pointed out by Dmitriy, the web-download method for the image import is a replacement for the "copy from" feature of v1.

Changed in glance:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.