Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add openstack provider #37

Open
alexandrevilain opened this issue Dec 22, 2019 · 4 comments
Open

[Feature] Add openstack provider #37

alexandrevilain opened this issue Dec 22, 2019 · 4 comments

Comments

@alexandrevilain
Copy link
Contributor

alexandrevilain commented Dec 22, 2019

Adding openstack provider will allow us to use great providers like OVH providing instances starting à 0,008€/hour.

I can work on it, submitting a PR on inletsctl.

Expected Behaviour

Adding the --provider openstack flag should provision a new instance on an openstack provider.

Current Behaviour

We can't provision an instance on providers using OpenStack.

Possible Solution

Using gophercloud: https://github.com/gophercloud/gophercloud
And adding the following flags:

  • openstack-endpoint
  • openstack-username
  • openstack-password
@alexellis
Copy link
Member

Interesting suggestion, I'd like to know more. Do all providers expose openstack directly? I don't think that Civo does that, they wrap it with a ruby REST API.

Are all instance names and images the same between every openstack deployment?

I'd think you may need more parameters, but I'm not an openstack expert.

@alexellis
Copy link
Member

Ping @alexandrevilain

@alexandrevilain
Copy link
Contributor Author

Hi @alexellis! Sorry for the delay.

I don't know which provider exposes the OpenStack API. The only provider I know is OVH which exposes the OpenStack API. I think that instances types and images are different between providers. So you're right, I'll need more parameters.

I'm now working on EC2 provider, I'll start working on OpenStack after that. I think that I'll have more work to do as we will need to pass more parameters to the provider.

@alexandrevilain
Copy link
Contributor Author

alexandrevilain commented Jan 15, 2020

Hi @alexellis
I think that I can take inspiration from the terraform openstack provider.
There are many parameters: https://github.com/terraform-providers/terraform-provider-openstack/blob/master/openstack/provider.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants