From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: problems with offloading Date: Sat, 25 Feb 2017 22:39:01 +0000 Message-ID: <20170225223901.4r3uzh7s56ax6wtb@wasp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chkxW-0001vm-Oe for guix-devel@gnu.org; Sat, 25 Feb 2017 17:36:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chkxT-0000ry-Kn for guix-devel@gnu.org; Sat, 25 Feb 2017 17:36:58 -0500 Received: from fragranza.investici.org ([2a00:1dc0:2479::19]:51748) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1chkxT-0000rF-9D for guix-devel@gnu.org; Sat, 25 Feb 2017 17:36:55 -0500 Received: from [178.175.144.26] (fragranza [178.175.144.26]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id EEEEC2C02BA for ; Sat, 25 Feb 2017 22:36:49 +0000 (UTC) Content-Disposition: inline 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: guix-devel@gnu.org Hi, because last time I didn't document and didn't save the config I have to ask again. I'm running into the issue where I can't offload but I followed all instructions. This time it will go into my documentation. Both systems are up to date (reconfigure and pull), both are running GuixSD. >From master to offloading machine the test (imagine foo.local being a valid IP/domain): ng0@wasp ~> guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... guix offload: 'foo.local' is running guile (GNU Guile) 2.0.13 guix offload: error: failed to use Guix module on 'foo.local' (test returned #) Okay, now let's log in to see if (guix config) is realy not a module in the profile. ng0@mithlond_shadownet ~$ guile GNU Guile 2.0.13 Copyright (C) 1995-2016 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (use-modules (guix config)) scheme@(guile-user)> (quit) so far so good, no errors when loading it. So let's run this guile -c by ssh command: ng0@wasp ~> ssh foo.local guile -c "'(use-modules (guix config))'" ng0@foo.local's password: Backtrace: In ice-9/boot-9.scm: 160: 15 [catch #t # ...] In unknown file: ?: 14 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 13 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 12 [eval # #] In unknown file: ?: 11 [call-with-input-string "(use-modules (guix config))" ...] In ice-9/command-line.scm: 181: 10 [# #] In unknown file: ?: 9 [eval (use-modules (guix config)) #] In ice-9/eval.scm: 505: 8 [# (use-modules #)] In ice-9/psyntax.scm: 1106: 7 [expand-top-sequence ((use-modules (guix config))) () ...] 989: 6 [scan ((use-modules (guix config))) () ...] 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...] In ice-9/boot-9.scm: 3589: 4 [process-use-modules (((guix config)))] 705: 3 [map # ((#))] 3590: 2 [# (#)] 2870: 1 [resolve-interface (guix config) #:select ...] In unknown file: ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (guix config)) #f] ERROR: In procedure scm-error: ERROR: no code for module (guix config) The offload/build machine has: guile in its profile and has every other requirement the offloading section of the documentation wanted. I'm currently turning it into an local bayfront/hydra copy, but the error existed before I started this. So, what's wrong here? Any clues, any more info you need?