diff --git a/cmd/openshift-install/create.go b/cmd/openshift-install/create.go index 70a8201a8d6..078d80bb961 100644 --- a/cmd/openshift-install/create.go +++ b/cmd/openshift-install/create.go @@ -103,7 +103,7 @@ var ( logrus.Error("Attempted to gather ClusterOperator status after installation failure: ", err2) } if err2 := runGatherBootstrapCmd(rootOpts.dir); err2 != nil { - logrus.Error("Attempted to gather debug logs after installation failure: ", err2) + logrus.Error("Attempted to gather debug logs after installation failure by running openshift-install gather bootstrap:", err2) } logrus.Fatal("Bootstrap failed to complete: ", err) } diff --git a/cmd/openshift-install/gather.go b/cmd/openshift-install/gather.go index a0060b12f30..7b309d8dfdf 100644 --- a/cmd/openshift-install/gather.go +++ b/cmd/openshift-install/gather.go @@ -124,7 +124,7 @@ func logGatherBootstrap(bootstrap string, port int, masters []string, directory logrus.Info("Pulling debug logs from the bootstrap machine") client, err := ssh.NewClient("core", net.JoinHostPort(bootstrap, strconv.Itoa(port)), gatherBootstrapOpts.sshKeys) if err != nil && strings.Contains(err.Error(), "ssh: handshake failed: ssh: unable to authenticate") { - return errors.Wrap(err, "failed to create SSH client, ensure the private key is added to your authentication agent (ssh-agent) or specified with the --key parameter") + return errors.Wrap(err, "failed to create SSH session, ensure the private key is added to your authentication agent (ssh-agent) or specified with the --key parameter") } else if err != nil { return errors.Wrap(err, "failed to create SSH client") }