Skip to content

Commit

Permalink
Better error message when cluster has no external connectivity
Browse files Browse the repository at this point in the history
It's currently not very clear from the current error message that it is
network access from inside the cluster which failed (as opposed to
network access from the host). This commit attempts to make this more
explicit.

This is somehow related to #778
  • Loading branch information
cfergeau authored and gbraad committed Oct 31, 2019
1 parent 49e925f commit 4665025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/machine/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func Start(startConfig StartConfig) (StartResult, error) {
logging.Infof("Check internal and public DNS query ...")

if queryOutput, err := dns.CheckCRCPublicDNSReachable(servicePostStartConfig); err != nil {
logging.Warnf("Failed public DNS query: %v : %s", err, queryOutput)
logging.Warnf("Failed public DNS query from the cluster: %v : %s", err, queryOutput)
}

// Additional steps to perform after newly created VM is up
Expand Down

0 comments on commit 4665025

Please sign in to comment.