Message ID | 20201122155659.67235-1-othacehe@gnu.org |
---|---|
Headers | show |
Series | publish: Add Avahi support. | expand |
Hi Mathieu, On Sun, 22 Nov 2020 at 16:56, Mathieu Othacehe <othacehe@gnu.org> wrote: > Here are two patches adding Avahi support to "guix publish". When the > "--enable-avahi" option is passed to "guix publish", the server is advertised > on the local network. Is this part of your new design? > Future patches will use this option to automatically add all the publish > servers on the local network to the daemon "substitute-urls" list. What happen if the option is passed but the servers are not reliable (the connection is unstable)? All the best, simon
Hey zimoun, > Is this part of your new design? Somehow because it allows the machines on a local network to share substitutes between each other transparently. It not strictly needed however because the offloading workers directly add the offloading server to their substitute list in the design I'm proposing. > What happen if the option is passed but the servers are not reliable > (the connection is unstable)? The build fails with the following message: --8<---------------cut here---------------start------------->8--- guix substitute: error: connect: No route to host substitution of /gnu/store/pbaihd2k2dbv02s7aq3aybk29r00lg9h-abduco-0.6 failed guix build: error: some substitutes for the outputs of derivation `/gnu/store/xnfyilqfhk05rgxbq7hmx81d65bsnprh-abduco-0.6.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu