Ask Your Question
0

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
0

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

Comments

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 371 times

Last updated: May 17 '17