From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#27990: Offloading is now working! Date: Thu, 31 Aug 2017 18:32:57 +0100 Message-ID: <20170831183257.3135660b@cbaines.net> References: <20170806200703.792cc4b4@cbaines.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/ug0lHPS/6fyOahBs+ChGnBc"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnTLz-0001i6-VB for bug-guix@gnu.org; Thu, 31 Aug 2017 13:34:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnTLu-00071w-Vt for bug-guix@gnu.org; Thu, 31 Aug 2017 13:34:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnTLu-00071i-Rc for bug-guix@gnu.org; Thu, 31 Aug 2017 13:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dnTLu-0005xQ-Dr for bug-guix@gnu.org; Thu, 31 Aug 2017 13:34:02 -0400 In-Reply-To: <20170806200703.792cc4b4@cbaines.net> Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27990-done@debbugs.gnu.org --Sig_/ug0lHPS/6fyOahBs+ChGnBc Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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! --Sig_/ug0lHPS/6fyOahBs+ChGnBc Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlmoSElfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeGBw/+Lr6jLe/Y62uNgYylnKEF+KH+e7nC3zaj5bwlX/0Jm8ryQzVcEA7j2IDO aia4kHU1JjXylgsPm1tzKdlc0meGAwT6u0H1MBYE5TEevMtkyh+7VWgL2KhI440Q tp6SfgitfJkNR4S3pVZmixpNGuTPZ3JpDF49qK313gEXppZezL68T3GGef/PYWCf nJ7ClnJ9sxGD2zwKA8w9vu+N60U2QjkQzeBywfnCeValV9s38GQUOopW/KNp5iAh a8vUUXXXW6qZULh23ROb6dJbGePrPoxl+ClKlXAeccPM7QYRAxkb5VZdVS3IW5na 7Mp+dyBJ+UtYTHQx+BpT/0w55FHE3iTL/PrOhctG3fvv+gNG8OsbOvWpuRRv5r0c 6cwyOvmgsfMG4gO4RK/go5lrHch9CN2Ww/qO8+kE6J/vxC2g/9rhNIUTUtAaS68H dPZifTsakVr+B9VPW7w51HTwO/Q+iZDsrpuN1hBttsW9MXPNck0T/nbq/Ht9xMAW LEelzH1TM68tI3x7sIskYt285zlMmccPYDDaNMadAMse+RtpvNEjZZz8WWIOwZ22 phXkxLMMJfX6U7/UN+blRLve4yOY7jyvDAgAL2pnH2zWN+d1ScNS86c3pA9FNaCf SEE5WsEOJgc3JHgPF4FplCiKTmJ3fc1qwR7SaYL01cgciwjfzDs= =/U74 -----END PGP SIGNATURE----- --Sig_/ug0lHPS/6fyOahBs+ChGnBc--