Create a Custom Image via API

Hello. When I try to import an image (vmdk disk) from VMWare cloud director via the API directly, I get an error “Your source URL is unreachable”. At the same time, when I store the same vmdk disk in google cloud storage and share a link to it, the import proceeds without any problems.

Could you give me an advice on what could be the problem? Is there a way to avoid unnecessary data transfer (from VMware vcloud director to another storage)? After all, VMWare gives a direct link which allows to download files without authorization. What is the difference between VMWare and google endpoints?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Seems like DO first request is HTTP HEAD and VMWare Cloud Director doesn’t support this and just returns HTTP 501 code.

This causes the error “Your source URL is unreachable”.