You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
Log for Job: aa7e391c-87fe-4344-ba5b-3e7ce81e7d42
Starting task krib-install-cluster:etcd-config:etcd-config on machine-2
Starting command ./etcd-config-etcd-config.sh.tmpl
Command running
Configure the etcd cluster
Add initial variables to track members.
[]
[]
Creating 1 servers
Electing etcd members to cluster profile: k8s
Certs plugin detected....setting up CA
We are first machine in cluster, setting up the root certs...
Client CA Exists, but we did not set password. Need to reset!!
Command exited with status 1
Action etcd-config.sh.tmpl finished
Task etcd-config failed
Marked machine machine-2 as not runnable
Updated job for krib-install-cluster:etcd-config:etcd-config to failed
Task signalled that it failed
is failing to run so it thinks the certs are created "when they are not".
The steps to recreate below assume Rebar is already installed. We started with the KRIB content plugin following the video https://youtu.be/rzBq3BsYQTM?t=1295. We also assume you have created a portal.rackn.io account (required for bulk actions and adding the content package)
The "Client CA Exists, but we did not set password. Need to reset!!" warning in the script indicates that the certificate information in the cert-data profile does not match the profile. If you run the "krib-reset-cluster" stage to clear the values then it will remove the previous run data.
If using sledgehammer instances, you'll need to reboot the machines to detach the drives.
KRIB is failing with
Task etcd-config failed
Full error:
It look like it' falling into this block here, https://github.com/digitalrebar/provision-content/blob/master/krib/templates/etcd-config.sh.tmpl#L68
It seems like the command
drpcli machines runaction $RS_UUID getca certs/root $CLIENT_CA 2>/dev/null
is failing to run so it thinks the certs are created "when they are not".
The steps to recreate below assume Rebar is already installed. We started with the KRIB content plugin following the video https://youtu.be/rzBq3BsYQTM?t=1295. We also assume you have created a portal.rackn.io account (required for bulk actions and adding the content package)
Steps to recreate.
Go to https://portal.rackn.io/#/e/147.75.196.129:8092/machines and login
Go to https://portal.rackn.io/#/e/147.75.196.129:8092/plugins/packet-ipmi and enter a machine name, count and click create. This will send an api request to create the nodes.
Go to https://portal.rackn.io/#/e/147.75.196.129:8092/machines, and wait for nodes to be discovered.
Go to krib profile https://portal.rackn.io/#/e/147.75.196.129:8092/profiles/example-ha-krib
Clone
Enter name for new profile e.g k8s
Set the etcd/cluster-profile param to match the profile name "k8s"
Set the krib/cluster-profile param to match the profile name "k8s"
Save new profile
Go to https://portal.rackn.io/#/e/147.75.196.129:8092/bulk
Select all machines to be used in new k8s cluster
Use profile drop down to choose the new "k8s" profile
Click the + symbol to add the profile to the machines
Use Workflows drop down to choose the krib-install-cluster workflow
Click the Change Worlflow button (play / skip button) - This starts the k8s deployment
Expected:
Result:
Task etcd-config failed
The text was updated successfully, but these errors were encountered: