-
Notifications
You must be signed in to change notification settings - Fork 7
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
Machine driver for Rancher #12
Comments
Sorry - my go version was to old. I got a binary now |
OK. Having compiled docker-machine-driver-triton I tried to add it as a custom docker-machine driver to rancher (s. http://rancher.com/docs/rancher/v1.3/en/configuration/machine-drivers/). That worked OK. Problem is, that we have to add "A path to an SSH private key file that has been added to $SDC_ACCOUNT" to provision a VM. I guess, this path would be inside the rancher server (which is a docker container, as well). I've tried to add it (by mapping a volume inside the rancher server) but get Error with pre-create check: "error creating SSH private key signer: Error PEM-decoding private key material: nil block received back from the cloudapi. |
The error you've described, Verify the key input into the Docker Machine driver. Make sure you are handling newlines properly or transforming newlines before it is used by Docker Machine. I'm not sure how this can be done with Rancher. Let me know what you find, interested in helping debug this. |
As another example, the same Go client library ( |
@neuroserve I'm a little late to the party but did you ever get this working? I'm interested in a rancher machine driver for triton as well. |
@neuroserve I recently worked on getting this machine driver working in Rancher and IIRC I also encountered this error in the beginning:
and I think I worked around it by generating a new SSH key in PEM format (
and the PEM key that it liked started with:
Since this is a very old issue with no recent activity I opened a new issue (#13) related to this that will be followed up by a PR for making this driver compatible with Rancher. |
I'd like to add the triton machine driver to Rancher (rancher.com).
Docs: http://rancher.com/docs/rancher/v1.3/en/configuration/machine-drivers/
Where can I find the "machine driver binary 64-bit Linux" or how can I create it?
Sorry, I'm not a go master (yet).
The text was updated successfully, but these errors were encountered: