Hi Ricardo, as no one has responded yet, I'd figure I'd share my 2¢.



On Thu, 22 Aug 2019, 16:23 Ricardo Wurmus, <rekado@elephly.net> wrote:
Hi,

I’m using this deployment file:

--8<---------------cut here---------------start------------->8---
(use-modules (sysadmin build-machines)
             (sysadmin people))

(define %ids (list 25))
(define (system-for id)
  (berlin-build-machine-os id))
(define (id->ip id)
  (format #f "141.80.167.~d" (+ 131 id)))
(map (lambda (id)
      (machine
       (operating-system (system-for id))
       (environment managed-host-environment-type)
       (configuration (machine-ssh-configuration
                       (system "x86_64-linux")
                       (host-name (id->ip id))
                       (identity "./id_rsa")
                       (port 22)))))
     %ids)
--8<---------------cut here---------------end--------------->8---

And get an error that I don’t understand:

--8<---------------cut here---------------start------------->8---
root@berlin ~/maintenance/hydra# ~/.config/guix/current/bin/guix deploy -L modules deploy-berlin-node.scm
guix deploy: deploying to hydra-guix-25...
ERROR: In procedure read:
In procedure scm_lreadr: #<unknown port>:11:103: Unknown # object: #\<
--8<---------------cut here---------------end--------------->8---

Any ideas?  Am I doing something wrong?

This error, in general shape, looks very much like an error I kept getting when first "deploying" to a guix server. I found that doing a pull on the server, followed by a system reconfigure then allowed me to actually successfully run deploy afterwards.

I'm not sure what causes that, but thought perhaps it was to do with running an older version of guix on the target server before pulling?

This might be way off the mark, but as I said, just in case it helps!

Alex




--
Ricardo