From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Richardson Subject: Re: offload daemon Date: Tue, 23 May 2017 21:36:53 -0400 Message-ID: <87h90bujbe.fsf@jamestechnotes.com> References: <8737bv601k.fsf@jamestechnotes.com> <871srf9utp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDLEW-0002LG-1z for help-guix@gnu.org; Tue, 23 May 2017 21:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDLES-0008HR-VD for help-guix@gnu.org; Tue, 23 May 2017 21:37:04 -0400 Received: from gandalf.jamestechnotes.com ([2600:3c02::f03c:91ff:fe61:3885]:57588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDLES-0008HE-P5 for help-guix@gnu.org; Tue, 23 May 2017 21:37:00 -0400 In-reply-to: <871srf9utp.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix Ludovic Courtès writes: > Hello, > > James Richardson skribis: > >> I am trying to setup an offload daemon. >> >> I have everything setup correctly (I think ;) >> >> $ guix offload test completes successfully. >> >> The offload daemon is actually guix on a foreign distro (Debian sid in >> this case). >> >> Neither guix running on top of a Debian (sid and jessie) nor guixsd seem >> to even call out to the offload daemon. All boxen are 64. >> >> My /etc/guix/machines.scm is here >> >> (list (build-machine >> (name "thor.lab01.jamestechnotes.com") >> (system "x86_64-linux") >> (host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJf0ezYgeVFit40VJwaBEW1dGm2Xz+SHzVmib8IbN58y root@thor") >> (user "guix") >> (speed 1.) >> (private-key >> (string-append (getenv "HOME") >> "/.ssh/identity-for-guix")))) >> >> Is x86_64-linux the proper system type? > > Yes. > > There are several things to consider here. By default, guix-daemon > creates a single job, so that single job will end up being built > locally, unless you spawn, say, two “guix build” commands in parallel > (the number of jobs is per client.) > > Running “guix-daemon --max-jobs=0” should force all builds to be > offloaded: > > https://www.gnu.org/software/guix/manual/html_node/Invoking-guix_002ddaemon.html > > I *think* “guix build --max-jobs=0” should give the same result. > > Alternately, if you run “guix build --max-jobs=2”, presumably half of > the builds will be offloaded. > > Let us know if that works for you. > > Ludo’. I have a permission problem somewhere, I think. If I run as root offload works, otherwise it doesn't. Don't really know here to look from here.