CenturyLinkLabs / panamax-ui

The Web GUI for Panamax
http://panamax.io
Apache License 2.0
1.44k stars 150 forks source link

Digitalocean: Remote Target installation fails: "You specified an invalid image for Droplet creation" #546

Open tobkle opened 9 years ago

tobkle commented 9 years ago

The automatic digitalocean setup fails with:

POST https://api.digitalocean.com/v2/droplets: 422 You specified an invalid image for Droplet creation.

tobkle commented 9 years ago

If I do the installation of such a cluster on digitalocean myself, I'm able to create the remote target. But whenever I do a remote deploy, it fails with an error: "End of file reached". I've no idea what that means. Which file?

cakkineni commented 9 years ago

@tobkle

Thank you for logging the issue. We were using Ubuntu 14.10 in Digital Ocean, which got removed. We've updated our deployment script to use Ubutu 15.04 now. Please try to re-create the remote-agent from panamax and see if it works better.

kamaljeetrathi commented 8 years ago

Droplet newDroplet = new Droplet(); newDroplet.setName("api-client-test-host"); newDroplet.setSize(new Size("512mb")); // setting size by slug value newDroplet.setRegion(new Region("sgp1")); // setting region by slug value; sgp1 => Singapore 1 Data center newDroplet.setImage(new Image(1601)); // setting by Image Id 1601 => centos-5-8-x64 also available in image slug value newDroplet.setEnableBackup(Boolean.TRUE); newDroplet.setEnableIpv6(Boolean.TRUE); newDroplet.setEnablePrivateNetworking(Boolean.TRUE);

it is giving an error :+1: You specified an invalid image for Droplet creation.

can anyone tell about cause of it.