From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Offloading to use Guile-SSH instead of lsh Date: Sun, 6 Nov 2016 09:47:26 +0200 Message-ID: <20161106074721.GB31483@macbook42.flashner.co.il> References: <87poma53yi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3IB7-0007JC-1y for guix-devel@gnu.org; Sun, 06 Nov 2016 02:47:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3IB4-0002Io-0I for guix-devel@gnu.org; Sun, 06 Nov 2016 02:47:45 -0500 Content-Disposition: inline In-Reply-To: <87poma53yi.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 05, 2016 at 04:41:41PM +0100, Ludovic Court=C3=A8s wrote: > Hello! >=20 > The =E2=80=98wip-guile-ssh=E2=80=99 branch is finally getting into shape.= As soon as > a new Guile-SSH release is out, I=E2=80=99ll merge it on master. >=20 > The goal of this branch is to use Guile-SSH (libssh bindings) instead of > invoking =E2=80=98lsh=E2=80=99 when offloading builds (see > > for background.) >=20 > The new code is shorter(!), more efficient, more elegant, and hopefully > more reliable. The efficiency gains come from the fact that we can > reuse SSH sessions in an intelligent way. The elegance has to do with > the fact that we have direct access to the SSH API, as opposed to > invoking =E2=80=98lsh=E2=80=99 and checking its exit status. >=20 > Improved reliability (well, modulo new bugs ;-)) comes from the fact > that we open a direct connection to the remote guix-daemon for the > duration of the offload, which allows us to better control GC root > registration=E2=80=94we can use the =E2=80=98add-temp-root=E2=80=99 RPC d= irectly instead of > writing indirect root files in $HOME. >=20 > Before we put it in production on hydra.gnu.org :-), I=E2=80=99d welcome = more > testing! To do that you need a current Guile-SSH (with the > =E2=80=98channel-send-eof!=E2=80=99 procedure), and the =E2=80=98build-m= achine=E2=80=99 form is > slightly different than before: it has a new =E2=80=98host-key=E2=80=99 f= ield to contain > the OpenSSH-formatted host key of the machine. I=E2=80=99ve updated the = doc to > reflect that. >=20 > Feedback welcome! >=20 > Ludo=E2=80=99. >=20 So to clarify, I need to switch just the master to the wip-guile-ssh branch, or also the slaves? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYHt/UAAoJEPTB05F+rO6TT5cP/ROPo7VoTAlX+/eJ46qEueoy fcTWZ+benRKPQi6LBR029n5qnqzX9TwNBsTSpwUbxW/hcucnBpdZTLrgINelKp11 kxB+pMWBBZUtp98qABFx/C9Z4KeO5qLbX2gAsUeCJelFKzOFLrBYLCv9kM8Kbjfx acQl9iBEdstwTASKRC9hBrQwA6pha0w6VqW5f3wero1TEMk23G+w+c7tNDmbu8Bj 6tbNJKtWuZkzIgc2wwNQCmSUP2oh0bo9P/sattv7H9C1savlVZeLb98oB7E+Saf+ taNCoR6M+yeCiNDCNbziJyVIlaF54xh3iW6uzR76QwvGZpsWLAS20NnAqS7OJIqX mr7laqv1NN28zdqgSPg1wyChMSJ+iuXYStgzDIpZil8ggMmN6WET7OoP7yEpoHNf 85iTfnl3punzmwAojuKnwAegy9Z30xLkF4pufPshhCziuNCayBUcfg7NNyDNtud8 sPJ1YRO2PNt81UVWLbJyg7YdxQLbv73O7/c2WvWT7AQyERfx0ofMZ/owaYxtUjkE PPwNYmhpzCFNUmDGHhyWHeDiFemEon+70atI15gS/AiWFKTWCdc/uSp5NU5lBPkP ugh3F5b+3EeAhTc2ERPdyEnuZwFKtHluukeWJcUvB8nXtNxcCSw+2C01jvIz+Fwc OA/DKeFtmccv4VRyy76S =rEcM -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a--