[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Offloading acquired build slot loop
From: |
Ludovic Courtès |
Subject: |
Re: Offloading acquired build slot loop |
Date: |
Wed, 06 May 2015 22:38:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi,
Les Harris <address@hidden> skribis:
> address@hidden (Ludovic Courtès) writes:
>
>> Could you double-check whether this command succeeds as root and
>> non-interactively (no passphrase prompt):
>>
>> lsh -l USER build.server.com cat /proc/loadavg
>
> As a followup to this, this set me on the right track. Thank you! It is
> very obvious in hindsight but only my user could lsh into the build
> server, root did not have the needed key. Once that was fixed I could
> proceed.
Good to know. :-)
> I ran into two further issues that I have resolved.
>
> Issue 1) The offload build failed saying there was no code for module
> (guix config) because the build server guile could not find guix in its
> loadpath since I had installed guix to /usr/local I just symlinked in
> /usr/local/share/guile/site/2.0 to the right place in the /usr/share
> tree and this was resolved.
>
> Issue 2) The offload build failed with a permission denied error when
> trying to access the guix daemon's socket. The user local-guix was
> using to lsh into the build server did not have write permissions (it
> had read) on the socket file. Giving that user write permissions fixed
> this issue.
>
> So combine those three additional things with my initial setup and now I
> have functioning offloading.
Great. Well, I reckon this is a terrible user experience. :-/
> There are many hidden assumptions in setting up the offloading that I
> feel should be documented. Are documentation patches accepted?
Definitely, yes!
Thank you,
Ludo’.