From f62e75fdb101a07e220700d607da3f3a12a5d6a6 Mon Sep 17 00:00:00 2001 From: Sally O'Malley Date: Mon, 26 Nov 2018 12:11:44 -0500 Subject: [PATCH] clarify logComplete msgs and return err if wait for bootstrap complete exceeds timeout --- cmd/openshift-install/create.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/openshift-install/create.go b/cmd/openshift-install/create.go index 411ae3f6bc0..7618af03085 100644 --- a/cmd/openshift-install/create.go +++ b/cmd/openshift-install/create.go @@ -243,14 +243,15 @@ func destroyBootstrap(ctx context.Context, directory string) (err error) { return destroybootstrap.Destroy(rootOpts.dir) } -// logComplete prints info upon completion +// logComplete prints info and suggestions to manage installed cluster func logComplete(directory string) error { absDir, err := filepath.Abs(directory) if err != nil { return err } kubeconfig := filepath.Join(absDir, "auth", "kubeconfig") - logrus.Infof("Install complete! Run 'export KUBECONFIG=%s' to manage your cluster.", kubeconfig) - logrus.Info("After exporting your kubeconfig, run 'oc -h' for a list of OpenShift client commands.") + logrus.Infof("Install complete! Run 'export KUBECONFIG=%s' to manage the cluster.", kubeconfig) + logrus.Info("Wait for workers to become ready. Run 'oc get nodes -w' to watch for workers coming up.") + logrus.Info("Run 'oc -h' for a list of OpenShift client commands.") return nil }