Requests | Blesta

Requests

Digital Ocean module

Nasser Humood shared this idea 7 years ago
Completed

I think that we need a default integration for digital ocean, they have an api.

Comments (9)

photo
1

This is already available at https://github.com/blesta/module-digitalocean

photo
1

I found it's no longer supported by Blesta, even it's not showing under "Available Modules' list when I uploaded the files. So, can you kindly update the module a bit for the new updated version of Blesta? Right now my Blesta version is: 5.9.0

photo
1

The module has never shipped with Blesta, it's available on our Github at the link provided. Are you having problems with the module on Blesta 5.9? As far as I understand, it was updated for version 5.x of Blesta and should work fine.

photo
1

Thanks for your quick reply! I know it's not shipped with Blesta never & yes I was visited that github link & downloaded that master files & rename the folder name to "digitaloceanmodule" from "module-digitalocean-master" then uploaded to /components/modules. But it's not showing to "Available" Module list in Blesta admin panel.

If you get a bit time, then just try to install it & let me know if it's working for you while the Blesta v5.9.0.

photo
1

So in /components/modules/ you have a directory digitaloceanmodule and in that directory you can see digitaloceanmodule.php?

photo
1

Yes, this file: digitaloceanmodule.php already in that folder.

photo
1

I just tried this and the module shows up for me. It must exist at /components/modules/digitaloceanmodule and it is listed under Settings > Company > Modules > Available: DigitalOcean Module (ver 2.2.2) The logo is a modulesbakery logo as it appears here https://github.com/blesta/module-digitalocean/blob/master/views/default/images/logo.png

photo
1

Sorry, it was my bad luck! I was always looking for DO logo but as it's don't appear that why I was thinking it's not present there. As all others module showing the brand logo that why mind was looking for DO logo.

However, still not able to deploy any VM, due to SSH key issues. I tested different scenario but no luck yet, if you can help to solve this that will be great.

1. I was created a "package" with DO module & all others setting required. Place an order from clientarea as a user, it was asking me for SSH key & must need to give it. Ok, fine I was given my SSH public key & it's correct format. Marked the invoice as paid but the order not executed. I found my SSH key in DO "security" tab with "fingerprint" & I was able to create new VM from DO admin dashboard using that SSH key. Means, my SSH key is 100% ok & acceptable by DO.

2. With above order, I was trying to manually activate it. Without "Send order Confirmation Email & Use Module" tick mark. Because I already created VM & want to assign it manually. But no luck, order did not activated, because it's asking for the SSH key. However, for this order I already have working SSH key setup. ok, I copy paste the key & getting "SSH Key is already in use on your account".

3. Now I deleted my SSH key from DO dashboard & copy paste the key to manual activation page. Now, I getting "are invalid key identifiers for Server creation." but it's accepted by DO & I can see it in DO dashboard.

Based on my above experience, can you guide me how can I solve the issues?

photo
1

The DigitalOcean API provides powerful tools for performing a wide range of tasks, from managing Droplets, VPCs, fall guys, Kubernetes, to controlling DNS zones and more.

photo