GNU bug report logs - #27990
Offloading repeatedly prints a message of the form "process ... acquired build slot '/var/guix/offload/.../0"

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sun, 6 Aug 2017 19:08:02 UTC

Severity: normal

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27990 in the body.
You can then email your comments to 27990 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#27990; Package guix. (Sun, 06 Aug 2017 19:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 06 Aug 2017 19:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: bug-guix <at> gnu.org
Subject: Offloading repeatedly prints a message of the form "process ...
 acquired build slot '/var/guix/offload/.../0"
Date: Sun, 6 Aug 2017 20:07:03 +0100
[Message part 1 (text/plain, inline)]
Hey,

I gave setting up offloading another go, I'm testing with 3 machines,
two running GuixSD, and one Debian. I've tried setting up offloading
from both GuixSD machines to the Debian machine, and from one GuixSD
machine to the other.

Running `guix offload test` works, and reports success. However, when
it actually comes to building something, guix repeatedly prints a
message like:

  "process ... acquired build slot '/var/guix/offload/.../0"

I've left it for a while, and nothing happened.

My usual approach at sticking more logging in to the code doesn't
really work, as it appears that it's not the offload script from the
Guix git repository that I have locally that is being used.

I'm happy to do some more investigation, but I haven't worked out how
to yet.
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Thu, 31 Aug 2017 17:34:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Thu, 31 Aug 2017 17:34:02 GMT) Full text and rfc822 format available.

Message #10 received at 27990-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 27990-done <at> debbugs.gnu.org
Subject: Offloading is now working!
Date: Thu, 31 Aug 2017 18:32:57 +0100
[Message part 1 (text/plain, inline)]
I tried again, and after one small change, things are now working!

Firstly, I was getting messages like:

process 1011 acquired build slot '/var/guix/offload/capella.local/0'
;;; [2017/08/31 18:16:40.455763, 0] private-key-from-file: [GSSH ERROR]
The file does not exist or permission denied: "/root/.ssh/id_rsa"


This was coming up over and over again, maybe I was hitting the same
problem, but this GSSH ERROR is something that I haven't seen before.

I had a look at the Guix source, and noticed that the private key to
use is a function of the current user. But as this is the offloader
script, I'm pretty sure that relates to the user of the guix-daemon,
which in my case is root. In my case, I want to offload as my user, so
I set private-key explicitly in /etc/guix/machines.scm, and now it just
works!
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27990; Package guix. (Fri, 01 Sep 2017 23:03:02 GMT) Full text and rfc822 format available.

Message #13 received at 27990 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 27990 <at> debbugs.gnu.org
Cc: mail <at> cbaines.net
Subject: Re: bug#27990: Offloading is now working!
Date: Sat, 02 Sep 2017 01:01:54 +0200
Christopher Baines <mail <at> cbaines.net> skribis:

> I had a look at the Guix source, and noticed that the private key to
> use is a function of the current user. But as this is the offloader
> script, I'm pretty sure that relates to the user of the guix-daemon,
> which in my case is root. In my case, I want to offload as my user, so
> I set private-key explicitly in /etc/guix/machines.scm, and now it just
> works!

Good news!  This private-key thing is a common gotcha.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Sep 2017 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.