From mboxrd@z Thu Jan 1 00:00:00 1970 From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Subject: Re: "guix deploy" is in git master Date: Sat, 06 Jul 2019 07:51:48 -0400 Message-ID: <87muhrfkiz.fsf@sdf.lonestar.org> References: <87a7drn0ux.fsf@dustycloud.org> <874l3zse7o.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59450) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjjEq-0000RG-AA for guix-devel@gnu.org; Sat, 06 Jul 2019 07:52:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjjEn-0003DP-VX for guix-devel@gnu.org; Sat, 06 Jul 2019 07:52:19 -0400 Received: from ol.sdf.org ([205.166.94.20]:63746 helo=mx.sdf.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hjjEg-00030G-34 for guix-devel@gnu.org; Sat, 06 Jul 2019 07:52:14 -0400 In-Reply-To: <874l3zse7o.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 06 Jul 2019 11:29:47 +0200") 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 Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Ricardo! Ricardo Wurmus writes: > Me! I tried to use it on ci.guix.gnu.org to upgrade a node, but it > failed like this: > > rekado@berlin /root/maintenance/hydra$ guix deploy deploy-berlin-node.scm > Backtrace: > 8 (primitive-load "/home/rekado/.config/guix/current/bin/=EF= =BF=BD=EF=BF=BD") > In guix/ui.scm: > 1655:12 7 (run-guix-command _ . _) > In guix/scripts/deploy.scm: > 78:33 6 (guix-deploy . _) > 69:16 5 (load-source-file "deploy-berlin-node.scm") > In guix/ui.scm: > 149:4 4 (make-user-module _) > In srfi/srfi-1.scm: > 640:9 3 (for-each # =EF=BF=BD=EF=BF=BD) > In guix/ui.scm: > 150:36 2 (_ (gnu machine ssh)) > In ice-9/boot-9.scm: > 2803:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ =EF= =BF=BD=EF=BF=BD) > In unknown file: > 0 (scm-error misc-error #f "~A ~S" ("no code for modu=EF=BF=BD= =EF=BF=BD" =EF=BF=BD=EF=BF=BD) =EF=BF=BD=EF=BF=BD) > > ERROR: In procedure scm-error: > no code for module (gnu machine ssh) > > > Looks like (gnu machine ssh) is not installed. I only see > =E2=80=9C~/.config/guix/current/share/guile/site/2.2/gnu/machine.scm=E2= =80=9D, but not > =E2=80=9Cgnu/machine/ssh.scm=E2=80=9D. > > =E2=80=9Cdeploy-berlin-node.scm=E2=80=9D is not special. It just uses a = procedure to > generate the system configuration: > > (use-service-modules networking ssh) > (use-package-modules bootloaders) > > (use-modules (sysadmin build-machines) > (sysadmin people)) > > (define %id 14) > > (define %system > (berlin-build-machine-os %id)) > > (define (id->ip id) > (format #f "141.80.167.~d" (+ 131 id))) > > (list (machine > (system %system) > (environment managed-host-environment-type) > (configuration (machine-ssh-configuration > (host-name (id->ip %id)) > (identity "./id_rsa") > (port 22))))) > > > -- > Ricardo Thanks for trying it out! I'm realizing that 'guix pull' didn't install it for me, either, yet 'gnu/machine/ssh.scm' is in the source tree and there's a line for it in 'gnu/local.mk'[1]. Does anyone know what's happening here? Regards, Jakob [1]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/local.mk#n569 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl0gi1QACgkQ9Qb9Fp2P 2Vpzlg/+NlRYj621ySFQaw8HgnS13B3RR5vz38Pwo5BYJjrA0iGa49xHBzW77t/a 6VEQA8axy4ewGVMelBK6Dj/HLaWuc0KB6lTsl8BpOspVlJgGAP9XxmwtuoT1jhXM 7SkaYdjXpOInJzZubn2Nn+4XYY+CqoppxavhutCb11MHbM6iMbMMRhEQbSI8NDfW iDUFZN7xgvEck+qGFTMi1Hb85lGUaCVtvok/YM/lyEZi0fiuLMirxu/hKUHPbZaN RPw5cmeHMwb7YUBJZzm+CFACXyc6i6tFnTMccDhstaE3jk5/uxPmXnOMSRBl6GZJ gazHUu/VGFxUUDyA3a5f+L2b53ygC7RWEPAJm7akT7HXLENrvYJ7X+9fYghn689m FNgH94SyYY8TMyyQSvqbtFqRY/fq7QD3k87CCdVYnI1Iq3os/8H/BiJ7kLtcIQko WMU+Xa4o4osgm/oF9RdUDUx7FHuCCVcoeRo8MAIG9jnxL7AoloPsabYxcXFHfboy 9YLdeY6ODleSgTybb7S+IXA8TPDuUDImcdSPPiJtq6/zaGc10+tU+guBYSZG18bW HPX5AMLVcCNYu18JTA5q+9Q4qQk3SigACGJGuPLj4azIPQiP9sutSeq1LpQZOvEj vjeHRw6nBfWOwEC6sP8BanJm9vA5sMsajhoNnARIX6YRmRTzfNM= =JWOV -----END PGP SIGNATURE----- --=-=-=--