Subject: Re: bug#31825: guix offload fails with guix-authenticate error

From: [email-masked] (Ludovic Courtès)
Date: Fri, 15 Jun 2018 00:08:49 +0200

Hello,

Maxim Cournoyer <[email-masked]> skribis:

> I've read the documentation carefully many times, but I still can't make
> `guix offload' work. It always fails like so:
>
> guix offload test
> guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'...
> guix offload: '192.168.1.105' is running guile (GNU Guile) 2.2.3
> guix offload: Guix is usable on '192.168.1.105' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test")
> sending 1 store item to '192.168.1.105'...
> exporting path `/gnu/store/wrv01knf5xa76j73afscj066pbqq1na3-export-test'
> guix offload: error: build failed: program `guix-authenticate' failed with exit code 1

Presumably what this means is that the remote machine rejected the store
item we sent it.

To fix it, you need to authorize the signing key of the first machine on
the second machine, using ‘guix archive --authorize’.

You also need to do the reverse and ‘guix offload test’ will also check
that.

Can you make sure the machines are authorized by each other?  (Check
/etc/guix/acl on each.)

HTH,
Ludo’.