platform9 / ssh-provider

SSH Machine Controller for the Cluster API
11 stars 4 forks source link

Actuator does not copy etcd CA cert to machine, but claims it does #55

Open dlipovetsky opened 6 years ago

dlipovetsky commented 6 years ago
2018/10/13 18:18:43 Not able to verify machine SSH identity: No public keys given. Continuing...
2018/10/13 18:18:43 Installing "nodeadm".
2018/10/13 18:18:43 Checking "nodeadm" desired version.
2018/10/13 18:18:43 "nodeadm" is already installed. Checking version.
2018/10/13 18:18:43 Found "nodeadm" version "0.0.6".
2018/10/13 18:18:43 Checking for "nodeadm" version "v0.0.5" in the cache "/var/cache/ssh-provider/nodeadm/v0.0.5/nodeadm".
2018/10/13 18:18:43 Installing "nodeadm" version "v0.0.5" from cache "/var/cache/ssh-provider/nodeadm/v0.0.5/nodeadm"
2018/10/13 18:18:43 Installing "etcdadm".
2018/10/13 18:18:43 Checking "etcdadm" desired version.
2018/10/13 18:18:43 "etcdadm" is already installed. Checking version.
2018/10/13 18:18:43 Found "etcdadm" version "0.0.6".
2018/10/13 18:18:43 Using "etcdadm" that is already installed. The installed and desired versions match on major.minor.patch.
2018/10/13 18:18:43 [secrets] wrote secret "/etc/kubernetes/pki/ca.crt" and key "/etc/kubernetes/pki/ca.key"
2018/10/13 18:18:43 [secrets] wrote secret "/etc/kubernetes/pki/front-proxy-ca.crt" and key "/etc/kubernetes/pki/front-proxy-ca.key"
2018/10/13 18:18:44 [secrets] wrote secret "/etc/kubernetes/pki/sa.pub" and key "/etc/kubernetes/pki/sa.key"
2018/10/13 18:18:44 [secrets] wrote secret "/etc/etcd/pki/ca.crt" and key "/etc/etcd/pki/ca.key"
2018/10/13 18:18:44 running "/opt/bin/etcdadm join https://10.105.16.98:2379" command. This might take some time..
2018/10/13 18:18:47 [certificates] Using the existing ca certificate and key.

2018/10/13 18:18:47 2018-10-13 18:18:48.437981 I | [certificates] creating PKI assets
2018-10-13 18:18:48.438148 I | creating a self signed etcd CA certificate and key files
2018-10-13 18:18:48.823364 I | creating a new server certificate and key files for etcd
2018-10-13 18:18:49.773886 I | [certificates] Error: certificate server is not signed by corresponding CA

2018/10/13 18:18:47 Unable to create machine: error creating machine "10.105.16.99": unable to deploy etcd: error running "/opt/bin/etcdadm join https://10.105.16.98:2379": command failed: Process exited with status 1