Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/openshift-install/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ var (
if err2 := logClusterOperatorConditions(ctx, config); err2 != nil {
logrus.Error("Attempted to gather ClusterOperator status after installation failure: ", err2)
}
logrus.Info("Use the following command if you want to wait longer for install completion:")
logrus.Info("openshift-install wait-for install-complete --help")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either here or in the help (which only says "Wait until the cluster is ready"), what do you think of explaining why someone might want to wait longer?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that decision is up to the user, and depends on their feelings vs. the ClusterOperator and ClusterVersion conditions we report immediately before and after these new lines. What would you add?

logrus.Fatal(err)
}
timer.StopTimer(timer.TotalTimeElapsed)
Expand Down
2 changes: 1 addition & 1 deletion cmd/openshift-install/waitfor.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func newWaitForBootstrapCompleteCmd() *cobra.Command {
logrus.Error("Attempted to gather ClusterOperator status after wait failure: ", err2)
}

logrus.Info("Use the following commands to gather logs from the cluster")
logrus.Info("Use the following command to gather logs from the cluster:")
logrus.Info("openshift-install gather bootstrap --help")
logrus.Fatal(err)
}
Expand Down