diff --git a/installer/fileserver/server.go b/installer/fileserver/server.go index 41d50ca69c..4db4694aa4 100644 --- a/installer/fileserver/server.go +++ b/installer/fileserver/server.go @@ -252,7 +252,7 @@ func startInitializationServices() string { if err := registerWithPSC(ctx); err != nil { log.Debug(errors.ErrorStack(err)) - errorMsg = append(errorMsg, "Failed to register with PSC: %s", err.Error()) + errorMsg = append(errorMsg, "Failed to register with PSC. Please check the vSphere user domain PSC settings and try again") } if len(errorMsg) == 0 { diff --git a/installer/fileserver/tasks.go b/installer/fileserver/tasks.go index e3fa96704f..79b72bdb47 100644 --- a/installer/fileserver/tasks.go +++ b/installer/fileserver/tasks.go @@ -116,7 +116,7 @@ func registerWithPSC(ctx context.Context) error { // This runs the PSC tool's register command. cmd := exec.Command(cmdName, cmdArgs...) if output, err := cmd.CombinedOutput(); err != nil { - log.Infof("Error running PSC register command: %s", string(output)) + log.Infof("Error running PSC register command for %s: %s", client, string(output)) return err } log.Infof("Successfully registered %s with PSC", client)