Migrate to Glance API v2

Registered by Nikolay Starodubtsev

Previously murano team try to use Glance API v2 in murano client, but encountered a problem with `copy-from` operation which is not present in API v2 (the bug is assigned). To replace functionality of copy-from the following workaround can be used:
1) Download needed image to some temporarily space.
2) Upload it to image repository using glance v2 API

Blueprint information

Status:
Not started
Approver:
Kirill Zaitsev
Priority:
Undefined
Drafter:
Nikolay Starodubtsev
Direction:
Needs approval
Assignee:
zhurong
Definition:
New
Series goal:
None
Implementation:
Deferred
Milestone target:
None

Related branches

Sprints

Whiteboard

Is there interest in doing this still?
(kzaitsev) — there is, but there is currently no acceptable (ux-wise) solution for the problem
(jallirs) --- Wrote some POC code for doing it that'll download the image to a temp file and then checksum and create the image and then upload to glance using v2, would that be acceptable?
(kzaitsev) — UX-wise this will not be an acceptable solution IMO, for dashboard this is generally a terrible idea to download anything in a long ongoning process. I'd rather postpone this untill glance folks figure out how to do this using v2 right, but if you have any concerns — come to one of our IRC community meetings.
(jallirs) --- we were going to do it using the CLI and tasks which are async, i'll come to the IRC meeting and propose something :)

Gerrit topic: https://review.openstack.org/#q,topic:bug/1675171,n,z

Addressed by: https://review.openstack.org/448790
    Update glanceclient from v1 to v2 to avoid deprecation errors.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.