From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Offloading acquired build slot loop Date: Wed, 06 May 2015 22:38:22 +0200 Message-ID: <877fslqw5d.fsf@gnu.org> References: <87mw1zyi80.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq65M-0001Ua-RS for guix-devel@gnu.org; Wed, 06 May 2015 16:38:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq65K-0000iz-4A for guix-devel@gnu.org; Wed, 06 May 2015 16:38:28 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq65K-0000iv-0f for guix-devel@gnu.org; Wed, 06 May 2015 16:38:26 -0400 In-Reply-To: (Les Harris's message of "Sun, 03 May 2015 01:00:43 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Les Harris Cc: guix-devel@gnu.org Hi, Les Harris skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) 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=E2=80=99.