From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: It's time to build "guix deploy" Date: Wed, 13 Feb 2019 20:04:24 +0100 Message-ID: <87y36jcxxj.fsf@roquette.mug.biscuolo.net> References: <87k2wx6t1e.fsf@fsf.org> <87h8da5u5k.fsf@dustycloud.org> <87y36mjbjo.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtzq8-0006cM-80 for guix-devel@gnu.org; Wed, 13 Feb 2019 14:05:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtzq6-0007vc-Jq for guix-devel@gnu.org; Wed, 13 Feb 2019 14:05:00 -0500 Received: from ns13.heimat.it ([46.4.214.66]:55346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtzq6-0007TU-5R for guix-devel@gnu.org; Wed, 13 Feb 2019 14:04:58 -0500 In-Reply-To: <87y36mjbjo.fsf@elephly.net> 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: Ricardo Wurmus , "Thompson, David" Cc: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi devel! I'm *very* interested in this development... actually remote provisioning of operating system - and services configuration - is the reason I'm here :-) "guix deploy infrastructure.scm" it's everyone dream, no? :-O unfortunately I'm still not able to help in this development, I'm writing just to show my *great* appreciation for each of you that *will* make this dream come true maybe a *design* document stored somewhere collecting all past and present thoughts on this matter would help attracting contributions Ricardo Wurmus writes: > Thompson, David writes: > >> Other thoughts? > > Just for reference: to update Berlin build nodes I use this script: > > https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/ins= tall-berlin.scm > > It=E2=80=99s not great, but it=E2=80=99s been helpful. thanks for sharing! (even if I can still barely understand what your script does) actually mainenance.git is full of treasures :-) > Berlin consists of a head node and many almost identical servers. AFAIU remote servers could be completely different each other for your script to do its job, or am I missing something? > To > update one or more servers I run the script on the head node, which > generates operating system configuration variants for each of the > requested servers, builds the systems (offloading to all of the > connected build nodes), copies the system closures to the target > systems, and then runs =E2=80=9Creconfigure=E2=80=9D on the targets. explained this way seems easy :-O > Since the operating system configuration record cannot be serialized, is there any plan or wip on this kind of serialization? > the build nodes need to have a copy of the code that=E2=80=99s used to ge= nerate > the operating system configuration. Not great. (They only need it to > run =E2=80=9Creconfigure=E2=80=9D; they wouldn=E2=80=99t need that if =E2= =80=9Creconfigure=E2=80=9D could > operate remotely.) "just" having a "guix system reconfigure --host " would be a *huge* feature > Anyway, I thought I=E2=80=99d share this with y=E2=80=99all. IMHO your remote host configuration technique deserves a dedicated blog article... but I've already asked too much :-) Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxkajkACgkQ030Op87M ORLeehAAgnX+7IU3Kb3ECtrQCOIfSooxCYbs4Cv8eDq/uOY1qyI7kimJcqkn06Zv quJtkvQ7XUe6urn5SLYiCcSswcHk1WW8krhJyrM26tsLDL879BkqAH/lQXyOfti6 SSjnYdyIpmz8F7HEeVCDLYS+iOQ+VadyudSRLuDOldlAk1qokF38kzDJUFNqBkpY QDU1cM6q4SgWfKnxf/otX6r5Li/k+xb/Xie6l81gU6725BHszOPfcCh2Ovvlrevl WTlReCq4KmVPSpab9xp8Tz9bDwaKwz3wa+oYzLQQ5gXbXUMkCwRbo/5dX9dszXet 3XuVdvWlDqTArgFvJTu9svxzvf0Xmyju36nwnF3QIWlYLxJpTeln2GsH4NQ956jg vjpQSVsYhc19pr+b6UYLcPz7bmGM/jSzCfKuRzDsS2Ty8+hoR4ziOZAOE1QJXvel 0jEakXEdpXtGj7ZO9jgxnuXAylYYNhK1PHubjgwCjHE+m23ZG6mFP7O9jsS3rHVb Nju4oT8hmzfPB5/q3E9XLBjoBDMixX8LCIS8udX4M9tb4QHkN826ZqiYuZlkES+7 9kvtx7sulvhoLCcFty2nPtk0fXRpFe0ZhuxUQTFPz4f2HfTkpiE7wZGpwPrxFyfv RT0tjuiQcXF7nzavHwE+HG0f4wSYRCXH22lVGRoGa+5xRY3Uwyc= =2Rm8 -----END PGP SIGNATURE----- --=-=-=--