Glance v2 API doesn't support credentials for image importing

Bug #1789429 reported by kay on 2018-08-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Undecided
Unassigned

Bug Description

Old glance v1 API supported credentials specification in the "--copy-from" parameter. However new v2 API doesn't support credentials as well as "swift+https" method. Besides when URL is specified with credentials, these credentials are available via "glance task-show %taskid%" output.

New image import method web-download is added which might be a solution for this. Please add additional information if you still think this needs to be addressed.

Changed in glance:
status: New → Incomplete
kay (kay-diam) wrote :

That is actually what I did mean.

glance image-create-via-import --disk-format vmdk --container-format bare --import-method web-download --uri https://USERNAME:<email address hidden>:443/v1/AUTH_auth/glance_image --name new-image

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

Other bug subscribers