guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems with offloading


From: ng0
Subject: problems with offloading
Date: Sat, 25 Feb 2017 22:39:01 +0000

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):
address@hidden ~> 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 
#<unspecified>)

Okay, now let's log in to see if (guix config) is realy not a module in
the profile.

address@hidden ~$ 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:

address@hidden ~> ssh foo.local guile -c "'(use-modules (guix config))'"
address@hidden's password: 
Backtrace:
In ice-9/boot-9.scm:
 160: 15 [catch #t #<catch-closure 235bbc0> ...]
In unknown file:
   ?: 14 [apply-smob/1 #<catch-closure 235bbc0>]
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 [#<procedure 236f600 at ice-9/command-line.scm:176:6 (port)> #<input: 
string 21485b0>]
In unknown file:
   ?: 9 [eval (use-modules (guix config)) #<directory (guile-user) 2348bd0>]
In ice-9/eval.scm:
 505: 8 [#<procedure 222b480 at ice-9/eval.scm:499:4 (exp)> (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 #<procedure 22ec3a0 at ice-9/boot-9.scm:3589:25 (mif-args)> ((#))]
3590: 2 [#<procedure 22ec3a0 at ice-9/boot-9.scm:3589:25 (mif-args)> (#)]
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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]