-
Notifications
You must be signed in to change notification settings - Fork 12
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
error 1: invalid value "us-central" for flag -linode-datacenter-id: strconv.ParseInt: parsing "us-central": invalid syntax #9
Comments
@optimum-web This provider is based on Linode APIv3, https://www.linode.com/api/ . The plans and datacenter are specified differently, as a single integer ID that represents the plan, the distribution, and the region. I plan on updating this provider for APIv4 support. The parameters will be renamed but the values will accept the values that you provided. I'll follow-up with a link to my fork when ready. |
Thanks ! |
Sounds good. |
I have yet to try this myself, but this is my start at it. displague#5 If you are able to build this and give it a shot, let me know if it works (or offer some pulls) :-) I built against the "nodebalancers" branch of https://github.com/displague/lindodego .. My pull request for that is here, linode/linodego#18 I'll revisit this later today or tomorrow. |
Well, it works -- at least as well as, and all credit to, this project. https://github.com/displague/docker-machine-linode Give it a shot! |
@displague getting errors on go get github.com/displague/docker-machine-linode
|
@optimum-web I was building against a branch of https://github.com/chiefy/linodego that hadn't been merged. It has since been merged. Also, I built some binaries: https://github.com/displague/docker-machine-linode/releases |
Perfect ! It worked fine. Only one thing remains is to change documentation table: flag provided but not defined: -linode-instance-type , it should be -linode-type, check https://github.com/displague/docker-machine-linode |
I may actually rename it to Better to rename it now when there are only two users! |
Yeah, done it. Testing today one more time. |
Almost working.. machine has been created at linode but provisioning failed. Running pre-create checks... The default lines below are for a sh/bash shell, you can specify the shell you're using, with the --shell flag. |
@trydirect I noticed that too -- I updated the default image to
I've opened the Issues tab on https://github.com/displague/docker-machine-linode/issues |
well .. yes, but that does not fix the problem with ubuntu early versions. |
Machine created successfully but can not connect it via SSH. |
@optimum-web What does
|
Hi,
Command was: ['docker-machine', 'create', '--driver=linode', '--linode-label', 'mautic-linode.com', '--linode-api-key', '', '--linode-root-pass', '**', '--linode-datacenter-id', 'us-central', '--linode-distribution-id', 'linode/ubuntu18.04', '--linode-plan-id', 'g6-nanode-1', 'mautic-linode.com']
error 1: invalid value "us-central" for flag -linode-datacenter-id: strconv.ParseInt: parsing "us-central": invalid syntax
Linode is updating their API so that could cause the issue ?
The text was updated successfully, but these errors were encountered: