Comments (4)
Thanks for the report.
If your key is passphrase-protected, you have to set use_ssh_agent = true
.
from terraform-openstack-rke.
@dhrp is it safe to close this issue ?
from terraform-openstack-rke.
No, I do not have a passphrase-protected ssh-key..
If I include the following:
module "rke" {
use_ssh_agent = false
ssh_keypair_name = "thatcher"
}
I get this error:
module.rke.module.rke.rke_cluster.cluster: Modifying... [id=6ff00396-409e-44de-892f-434265af50fd]
Error:
============= RKE outputs ==============
time="2020-03-23T14:37:45+01:00" level=info msg="Updating RKE cluster..."
time="2020-03-23T14:37:45+01:00" level=info msg="Initiating Kubernetes cluster"
Failed initializing cluster err:Error while reading SSH key file: open -----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAx8tOI4qDln8b8E1jJDPUYSrJNPrs6S6cf5Ny9T2/4l3kFFdk
[...]
7NkT5WR9LwCyGFQZyslLzRCO9YliypS5li2rnWx7u32O3YI8Z5msqjE=
-----END RSA PRIVATE KEY-----
: file name too long
========================================
on .terraform/modules/rke/remche-terraform-openstack-rke-f1d7e32/modules/rke/main.tf line 54, in resource "rke_cluster" "cluster":
54: resource "rke_cluster" "cluster" {
And if I set use_ssh_agent to 'true' (without doing ssh-add), I get the following (which makes sense, since ssh-agent then doesn't know my key).
Failed running cluster err:[workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Failed to check http://localhost:10248/healthz for service [kubelet] on host [45.129.173.183]: Get http://localhost:10248/healthz: Unable to access the service on localhost:10248. The service might be still starting up. Error: ssh: rejected: connect failed (Connection refused), log: F0323 13:31:45.957091 9871 server.go:273] failed to run Kubelet: could not init cloud provider "openstack": Authentication failed]
from terraform-openstack-rke.
@dhrp can you give #45 a try ?
from terraform-openstack-rke.
Related Issues (19)
- Octavia support HOT 2
- Cant downscale HOT 1
- On new installation get version conflict ..? HOT 1
- conditional cloud provider
- Disable kubeconfig file write
- Worker nodes array HOT 3
- Use terraform-docs
- add taint
- use_ssh_agent HOT 3
- Receiving errors HOT 6
- Code quality checks fail
- Terraform 0.13
- Install fails because no docker engine is installed HOT 5
- failed to run Kubelet: could not init cloud provider "openstack": Authentication failed HOT 1
- openstack built-in cloud provider is now deprecated. Please use 'external' cloud provider for openstack HOT 1
- Creating PVs fails when Openstack has multiple compute AZs, but only one storage AZ HOT 6
- Adding a worker doesn't add a node in RKE cluster HOT 6
- [bug] Error when enabling loadbalancer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-openstack-rke.