all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: alex sassmannshausen <alex.sassmannshausen@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Inscrutable error when using “guix deploy”
Date: Thu, 22 Aug 2019 23:40:46 +0100	[thread overview]
Message-ID: <CAKdwf2DPMy6JpcUbXV13SN52+t5XSw4W7xKYV+qJ=tMLVRAg9Q@mail.gmail.com> (raw)
In-Reply-To: <87sgptjkb9.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]

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
>
>
>

[-- Attachment #2: Type: text/html, Size: 2941 bytes --]

  reply	other threads:[~2019-08-22 22:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-22 15:23 Inscrutable error when using “guix deploy” Ricardo Wurmus
2019-08-22 22:40 ` alex sassmannshausen [this message]
2019-08-23 12:29   ` Ricardo Wurmus
2019-08-24 17:55     ` Jakob L. Kreuze
2019-09-03 11:59       ` Ludovic Courtès
2019-09-04  9:30         ` Ricardo Wurmus
2019-09-05 14:21           ` Jakob L. Kreuze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKdwf2DPMy6JpcUbXV13SN52+t5XSw4W7xKYV+qJ=tMLVRAg9Q@mail.gmail.com' \
    --to=alex.sassmannshausen@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.