Branch: refs/heads/master
Home: https://github.com/NixOS/nixops
Commit: 057371ff1ae4f8a563477f5d7539746c9980c059
https://github.com/NixOS/nixops/commit/057371ff1ae4f8a563477f5d7539746c9980c059
Author: aszlig <[email protected]>
Date: 2015-10-29 (Thu, 29 Oct 2015)
Changed paths:
M tests/hetzner-backend/rescue-image.nix
Log Message:
-----------
tests/hetzner: Print output of debootstrap.log.
Very useful to debug failing builds of the rescue image like this one:
http://hydra.nixos.org/build/27061182/nixlog/197
Signed-off-by: aszlig <[email protected]>
Commit: 80d867aa49fd3da044bed800f8585c9f2ebeb0ae
https://github.com/NixOS/nixops/commit/80d867aa49fd3da044bed800f8585c9f2ebeb0ae
Author: aszlig <[email protected]>
Date: 2015-10-29 (Thu, 29 Oct 2015)
Changed paths:
M tests/hetzner-backend/default.nix
M tests/none-backend.nix
Log Message:
-----------
tests: Provide a name for the VM tests.
Having "vm-test-run-unnamed" sounds a bit ugly, so let's give them
proper names.
Signed-off-by: aszlig <[email protected]>
Commit: 1b784d87014f6601a3528579af4da3dbda87de2c
https://github.com/NixOS/nixops/commit/1b784d87014f6601a3528579af4da3dbda87de2c
Author: aszlig <[email protected]>
Date: 2015-10-29 (Thu, 29 Oct 2015)
Changed paths:
M nixops/ssh_util.py
Log Message:
-----------
ssh_util: Reconnect on dead SSH master socket.
This took me hours to debug, because I was originally hunting for the
issue behind the test failure of the Hetzner backend:
https://hydra.nixos.org/build/27122260/nixlog/19/raw
It did not fail on my own Hydra instance or my build machines, because
the build of the target machines was fast enough so the gap between the
last connection to the master and the next connection when copying the
closure to the target machines was less than 600 seconds.
Those 600 seconds is the ControlPersist timeout for the SSH master
connection and was introduced in bbe469a. On a slow or highly loaded
system however, this gap is too long, the master socket dies in-between
and a SSH client connecting to the non-existing sockets waits forever.
Fortunately, OpenSSH cleans up the socket, so we can easily test whether
the socket is still available.
Also, OpenSSH only creates the socket once the connection is
established, so while we usually start the SSHMaster when we want to
connect anyway, it's not necessarily the case.
So we wait 60 seconds until the master socket is created, so that
is_alive() doesn't return False in-between. Which in turn would lead to
the startup of another master process while the first one is still
starting up.
Signed-off-by: aszlig <[email protected]>
Compare: https://github.com/NixOS/nixops/compare/877158cd488f...1b784d87014f_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits