GNU bug report logs -
#27990
Offloading repeatedly prints a message of the form "process ... acquired build slot '/var/guix/offload/.../0"
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 31 Aug 2017 18:32:57 +0100
with message-id <20170831183257.3135660b <at> cbaines.net>
and subject line Offloading is now working!
has caused the debbugs.gnu.org bug report #27990,
regarding Offloading repeatedly prints a message of the form "process ... acquired build slot '/var/guix/offload/.../0"
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
27990: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27990
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (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 4 (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
[Message part 6 (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 7 (application/pgp-signature, inline)]
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.