From fdc1427317dc3e3d99f5c63ebe8185d6e87af5c3 Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Sun, 14 Jul 2019 00:49:08 -0700 Subject: [PATCH] Add more logs for bootstrap --- pkg/daemons/control/bootstrap.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/daemons/control/bootstrap.go b/pkg/daemons/control/bootstrap.go index 1fbfef2f3a..89fd0dc058 100644 --- a/pkg/daemons/control/bootstrap.go +++ b/pkg/daemons/control/bootstrap.go @@ -72,6 +72,7 @@ func fetchBootstrapData(cfg *config.Control) error { } defer cli.Close() + logrus.Info("Fetching bootstrap data from etcd") gr, err := cli.Get(context.TODO(), k3sRuntimeEtcdPath) if err != nil { return err @@ -136,6 +137,7 @@ func storeBootstrapData(cfg *config.Control) error { return err } + logrus.Info("Storing bootstrap data to etcd") runtimeBase64 := base64.StdEncoding.EncodeToString(certData) _, err = cli.Put(context.TODO(), k3sRuntimeEtcdPath, runtimeBase64) if err != nil {