Skip to content
Open
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
11 changes: 9 additions & 2 deletions agent/isobuilder/ui_driven_cluster_installation/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,15 @@ func runDownloadLogs() {
browser := rod.New().ControlURL(url).MustConnect()
defer browser.MustClose()

// Navigate to base URL - UI will redirect to current cluster
page := browser.MustPage(getBaseURL(ipStack, rendezvousIP))
// Navigate to base URL - UI will redirect to current cluster. After a
// successful installation the rendezvous node reboots to join the cluster
// and the GUI is no longer running, so connection refused is expected.
uiURL := getBaseURL(ipStack, rendezvousIP)
page, err := browser.Page(proto.TargetCreateTarget{URL: uiURL})
if err != nil {
logrus.Infof("Assisted Installer UI at %s is not reachable (expected after successful installation): %v", uiURL, err)
return
}
page.MustWaitLoad()

logrus.Info("Connected to Assisted Installer UI")
Expand Down