-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
virtualbox: Quiet initial ssh timeout warning #8027
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tstromberg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -438,7 +438,7 @@ func trySSH(h *host.Host, ip string) error { | |||
d := net.Dialer{Timeout: 3 * time.Second} | |||
conn, err := d.Dial("tcp", sshAddr) | |||
if err != nil { | |||
out.WarningT("Unable to verify SSH connectivity: {{.error}}. Will retry...", out.V{"error": err}) | |||
glog.Warningf("dial failed (will retry): %v", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this only causes UI trouble on virtualbox what if we supress UI error only for virtualbox driver? and let other drivers bug us if that happens?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like adding another branch would be over-complicating things with little benefit. If it fails later, an error will be emitted by the ssh runner.
Codecov Report
@@ Coverage Diff @@
## master #8027 +/- ##
=======================================
Coverage 35.78% 35.78%
=======================================
Files 143 143
Lines 9171 9171
=======================================
Hits 3282 3282
Misses 5489 5489
Partials 400 400
|
On VirtualBox, this issue is apparently a lot more common than I thought.
Fixes #8011