Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Issue 6115009: Add more robust ssh ping to be run on reboot for updates. (Closed)

Created:
9 years, 11 months ago by sosa
Modified:
9 years, 6 months ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Add more robust ssh ping to be run on reboot for updates. Upon investigation it seems there's a race condition when ssh starts up the first time. This adds a much more robust way to ping a machine when it's up then the previous method. Change-Id: I092744b259c169975d1c4f283f01a556fce24723 BUG=chromium-os:10867 TEST=Ran it 30 times with image_to_live --noupdate --nostateful_update. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=6058752

Patch Set 1 #

Total comments: 6

Patch Set 2 : Nits and fixes for petkov #

Patch Set 3 : Add kill #

Total comments: 1

Patch Set 4 : use local -r #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M remote_access.sh View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sosa
9 years, 11 months ago (2011-01-12 02:33:14 UTC) #1
petkov
mostly optional nits with one real bug, i think http://codereview.chromium.org/6115009/diff/1/remote_access.sh File remote_access.sh (right): http://codereview.chromium.org/6115009/diff/1/remote_access.sh#newcode49 remote_access.sh:49: ...
9 years, 11 months ago (2011-01-12 18:38:52 UTC) #2
sosa
PTAL Didn't move to common library yet. Maybe in another CL? Also I think I ...
9 years, 11 months ago (2011-01-12 21:53:58 UTC) #3
petkov
Wait but no kill anymore?
9 years, 11 months ago (2011-01-12 21:59:20 UTC) #4
sosa
Re-added kill ! kill to return inverse status ... i.e. we wanna return 1 if ...
9 years, 11 months ago (2011-01-12 22:04:48 UTC) #5
petkov
9 years, 11 months ago (2011-01-12 22:40:31 UTC) #6
LGTM

http://codereview.chromium.org/6115009/diff/9001/remote_access.sh
File remote_access.sh (right):

http://codereview.chromium.org/6115009/diff/9001/remote_access.sh#newcode48
remote_access.sh:48: local timeout_inc=1
maybe

readonly TIMEOUT_INC=1

Powered by Google App Engine
This is Rietveld 408576698