Ask Your Question

How i can pass image file url in create image rest API ?

asked 2017-05-16 10:53:06 -0500

munishbeasian gravatar image

i have uploaded a image on a ftp server and i want this image to be uploaded on openstack using create image API. Is there way to pass the url of the image in the request body or you can suggest any other way to upload image using REST client.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-05-17 08:44:58 -0500

itlinux gravatar image

The new version does not do it anymore. You have to download it then upload it into glance. You can use wget or curl.

edit flag offensive delete link more


how i can pass the image file stream in the new (v2) openstack create image REST API. can you please share the API as i can't find in API description to pass the file stream in the request body. I can see from the description that first create image and then update image with file content.Is it so?

munishbeasian gravatar imagemunishbeasian ( 2017-05-25 01:38:30 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-05-16 10:53:06 -0500

Seen: 451 times

Last updated: May 17 '17