help-guix
[Top][All Lists]
Advanced

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

offloading setup instructions are not clear


From: ng0
Subject: offloading setup instructions are not clear
Date: Tue, 04 Oct 2016 13:40:09 +0000

https://www.gnu.org/software/guix/manual/html_node/Daemon-Offload-Setup.html

For various reasons I'm trying to set up yet another same architecture
build machine. Coming from OpenSSH I do not understand all of lsh yet,
but enough to already use one offloading machine for some months.

Does lsh want me to use 1 key per machine? That would be really
annoying.

What I current get is below, .179 is the new machine, both are GuixSD.

I remember with the first machine when I did set it up I had to do
something different than Guix documentation told me, but I did not
document it... despite my user not being just "root" but lets call the
user "userZ", do I have to lsh-authorize root and not userZ even when
userZ and their lsh key is in the /etc/guix/machines.scm ?


address@hidden ~$ guix pull

Starting download of /tmp/guix-file.Dc8poG
>From http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
 ….tar.gz                                   1.1MiB/s 00:09 | 10.5MiB transferred
unpacking '/gnu/store/jsm49n07lyfshvgrk8hjqrkzgasz9m49-guix-latest.tar.gz'...
The following derivation will be built:
   /gnu/store/7fvzb238ldcp6ri4n8iys8v9jfiif6kd-guix-latest.drv
process 17377 acquired build slot '/var/guix/offload/192.168.1.198/0'
process 17377 acquired build slot '/var/guix/offload/192.168.1.179/0'
load on machine '192.168.1.179' is 0.03 (normalized: 0.015)
Cannot open display "default display"
load on machine '192.168.1.198' is 0.39 (normalized: 0.0975)
load on machine '192.168.1.179' is 0.03 (normalized: 0.015)
Backtrace:
In ice-9/boot-9.scm:
 157: 8 [catch #t #<catch-closure 1fd3500> ...]
In unknown file:
   ?: 7 [apply-smob/1 #<catch-closure 1fd3500>]
In ice-9/boot-9.scm:
  63: 6 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 5 [eval # #]
In unknown file:
   ?: 4 [call-with-input-string "(begin (use-modules (guix config)) (let 
((root-directory (string-append %state-directory \"/gcroots/tmp\"))) (catch 
(quote system-error) (lambda () (mkdir root-directory)) (lambda args (unless (= 
EEXIST (system-error-errno args)) (error \"failed to create remote GC root 
directory\" root-directory (system-error-errno args))))) (catch (quote 
system-error) (lambda () (symlink 
\"/gnu/store/7fvzb238ldcp6ri4n8iys8v9jfiif6kd-guix-latest.drv\" (string-append 
root-directory \"/\" \"offload-shadowwalker-17377\"))) (lambda args (unless (= 
EEXIST (system-error-errno args)) (apply throw args))))))" ...]
In ice-9/command-line.scm:
 180: 3 [#<procedure 1fe7060 at ice-9/command-line.scm:175:6 (port)> #<input: 
string 1d83680>]
In unknown file:
   ?: 2 [eval (begin (use-modules #) (let # # #)) #<directory (guile-user) 
1fc9c60>]
In ice-9/eval.scm:
 432: 1 [eval # #]
In unknown file:
   ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: failed to create remote GC root directory "/var/guix/gcroots/tmp" 13
guix offload: error: failed to register GC root for 
'/gnu/store/7fvzb238ldcp6ri4n8iys8v9jfiif6kd-guix-latest.drv' on 
'192.168.1.179' (status: 256)
guix pull: error: build failed: build of 
`/gnu/store/7fvzb238ldcp6ri4n8iys8v9jfiif6kd-guix-latest.drv' failed

-- 



reply via email to

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