Subject: Re: [bug#37083] [PATCH 0/1] (Help needed!) machine: Implement 'digital-ocean-environment-type'.

From: Ludovic Courtès <[email-masked]>
Date: Tue, 27 Aug 2019 12:38:23 +0200

Hi Jakob,

Nice that you’re working on Digital Ocean support!

[email-masked] (Jakob L. Kreuze) skribis:

> 'deploy-digital-ocean' gets to a point where there's a droplet running a
> "bootstrap" configuration of the Guix System, but I can't keep an open
> SSH channel for sending over the operating-system configuration
> specified for the deployment.

[...]

>   (services
>    (append (list (static-networking-service "eth0" "~a"
>                     #:netmask "~a"
>                     #:gateway "~a"
>                     #:name-servers '("84.200.69.80" "84.200.70.40"))
>                  (service openssh-service-type
>                           (openssh-configuration
>                            (permit-root-login 'without-password))))
>            %base-services)))

Could you add (log-level 'debug) to ‘openssh-configuration’, then try
again ‘guix deploy’, and finally grab the OpenSSH log from that machine?
That would allow us to see if there’s something wrong with SSH.

Hmm now that I think about it, ‘send-files’ may be failing because the
(guix …) modules aren’t in GUILE_LOAD_PATH on the remote side.  On the
berlin build machines, we have this:

  (simple-service 'guile-load-path-in-global-env
                  session-environment-service-type
                  `(("GUILE_LOAD_PATH"
                     . "/run/current-system/profile/share/guile/site/2.2")
                    ("GUILE_LOAD_COMPILED_PATH"
                     . ,(string-append "/run/current-system/profile/lib/guile/2.2/site-ccache:"
                                       "/run/current-system/profile/share/guile/site/2.2"))))

It’s ridiculous that we have to do this, but that’s how it is.

Can you try that?

HTH,
Ludo’.