From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Lemmer Webber Subject: Re: "guix deploy" is in git master Date: Sat, 06 Jul 2019 05:23:29 -0400 Message-ID: <87y31bjz3i.fsf@dustycloud.org> References: <87a7drn0ux.fsf@dustycloud.org> <874l3zse7o.fsf@elephly.net> <87muhrfkiz.fsf@sdf.lonestar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42756) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjlb9-000672-TY for guix-devel@gnu.org; Sat, 06 Jul 2019 10:23:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjlb8-0004JP-PE for guix-devel@gnu.org; Sat, 06 Jul 2019 10:23:31 -0400 Received: from dustycloud.org ([50.116.34.160]:53324) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hjlb8-0004J1-L4 for guix-devel@gnu.org; Sat, 06 Jul 2019 10:23:30 -0400 In-reply-to: <87muhrfkiz.fsf@sdf.lonestar.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: "Jakob L. Kreuze" Cc: guix-devel@gnu.org Ricardo, can you see if 834b8a4110 fixes the problem? Jakob L. Kreuze writes: > 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