GNU bug report logs - #52511
service networking provided more than once

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Mathieu Othacehe <othacehe@HIDDEN>; dated Wed, 15 Dec 2021 13:05:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 52511 <at> debbugs.gnu.org:


Received: (at 52511) by debbugs.gnu.org; 15 Dec 2021 13:28:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 15 08:28:55 2021
Received: from localhost ([127.0.0.1]:60519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxUL0-0007cg-Tt
	for submit <at> debbugs.gnu.org; Wed, 15 Dec 2021 08:28:55 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1mxUKy-0007cN-Pw
 for 52511 <at> debbugs.gnu.org; Wed, 15 Dec 2021 08:28:53 -0500
Received: from [2001:470:142:3::e] (port=48710 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1mxUKm-0006YW-M9
 for 52511 <at> debbugs.gnu.org; Wed, 15 Dec 2021 08:28:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=icgUPc18y9lBbxiJ//2YPBQ6hgny3uOgI1sBk68DP1I=; b=lgxXwuc4H5QvUNPmu/Gf
 vMAGLuOx1uLUdiYFumDOHfvIss9ix18S99LTeEZ4I8mRAAXVfRoeN1xL5m8uuSL2RAykv/XCjPqrG
 h6AmG0tkIq9iKKIOGzzlRpG/CsRfFOCiHfHXVfYPoyZV2YmDG09fwrOSQr1iwHhQyTE2t+8yPeIOB
 5zPsiDQIUp0rKBYCrlgwFTp1gA8NbLqPWxz9eVX8yWfIZyzg2/kyfvJ5j2zkP0elyTVvvIIlqvLfW
 Xf17nwjnxSdA5wqW71zYXu0I8NryBEmsinNfxawOe+ZQxarHJqdbtPmcD6fqlpXVmZCXkEcjla6i9
 WPCeUxK7V1afhg==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:61017
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1mxUKl-0002B0-8B; Wed, 15 Dec 2021 08:28:39 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#52511: service networking provided more than once
References: <87czlyj9y7.fsf@HIDDEN>
Date: Wed, 15 Dec 2021 14:28:36 +0100
In-Reply-To: <87czlyj9y7.fsf@HIDDEN> (Mathieu Othacehe's message of "Wed, 15
 Dec 2021 14:04:32 +0100")
Message-ID: <87ee6evvy3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52511
Cc: 52511 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi!

Mathieu Othacehe <othacehe@HIDDEN> skribis:

> When using this service:
>
> (service static-networking-service-type
>           (list (static-networking
>                  (addresses
>                   (list
>                    ;; Connection to the DMZ for public access
>                    ;; This is a 10G port.
>                    (network-address
>                     (device "eno2")
>                     (value "141.80.181.40/24"))))
>                  (routes
>                   (list (network-route
>                          (destination "default")
>                          (gateway "141.80.181.1")))))
>                 (static-networking
>                  (addresses
>                   (list
>                    ;; Connection to build nodes
>                    (network-address
>                     (device "eno1")
>                     (value "141.80.167.131/26")))))))
>
>
> I have the following error message:
>
> service networking provided more that once
>
> I guess it boils down to tweak the "provision" field accordingly, but it
> should be automated or documented properly.

In this particular case, you could/should have a single
=E2=80=98static-networking=E2=80=99 with multiple addresses:

  (static-networking
    (addresses
      (list (network-address =E2=80=A6)
            (network-address =E2=80=A6)))
    (routes =E2=80=A6))

I=E2=80=99m not sure if there are other situations where this limitation is
problematic.

WDYT?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#52511; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Dec 2021 13:04:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 15 08:04:49 2021
Received: from localhost ([127.0.0.1]:60456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mxTxh-0006vg-1K
	for submit <at> debbugs.gnu.org; Wed, 15 Dec 2021 08:04:49 -0500
Received: from lists.gnu.org ([209.51.188.17]:59654)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1mxTxf-0006vY-E8
 for submit <at> debbugs.gnu.org; Wed, 15 Dec 2021 08:04:47 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56620)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1mxTxc-0008Dd-Od
 for bug-guix@HIDDEN; Wed, 15 Dec 2021 08:04:45 -0500
Received: from [2001:470:142:3::e] (port=47832 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1mxTxb-0006Xt-Qz
 for bug-guix@HIDDEN; Wed, 15 Dec 2021 08:04:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=cSSxcALVNuQOAe0DwxrjOgUR1Z62201oAjiejsuO2L4=; b=fUvAx4nlkBfXil
 lLAEqg6K8LyT17S6HcgInE/AqF+SXZmMXjqwe2Zb+B5PPD+3sFx3vbggk8qn1dAWSHOVcYuFHp69V
 EfepbTPVIEKhqauTTuxn3BhBo4HgxBHB/qvLhn/aj0rO8YBNJr/Vaj/Hp78HdIHQ25TE6nKvaoScR
 VFQI8bZ/2BzHNGoXIJ3l+oNc0+kqKvufyumtAMw5JB5qDDDTfRz6DhOSkdmeZsFOkDxQH9OzscgR8
 +uw4IEGF4nC8igmk3cGc3KhyE2cYBw0BfKuDnx9GCjg4VfbCkPs0okV3Z9vclfR3epZEG1oGlQro8
 klkXj5x3AkUEgZecN5nQ==;
Received: from lfbn-lyo-1-236-245.w86-202.abo.wanadoo.fr
 ([86.202.80.245]:48384 helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1mxTxT-0006yE-80
 for bug-guix@HIDDEN; Wed, 15 Dec 2021 08:04:39 -0500
From: Mathieu Othacehe <othacehe@HIDDEN>
To: bug-guix@HIDDEN
Subject: service networking provided more than once
Date: Wed, 15 Dec 2021 14:04:32 +0100
Message-ID: <87czlyj9y7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hello,

When using this service:

--8<---------------cut here---------------start------------->8---
(service static-networking-service-type
          (list (static-networking
                 (addresses
                  (list
                   ;; Connection to the DMZ for public access
                   ;; This is a 10G port.
                   (network-address
                    (device "eno2")
                    (value "141.80.181.40/24"))))
                 (routes
                  (list (network-route
                         (destination "default")
                         (gateway "141.80.181.1")))))
                (static-networking
                 (addresses
                  (list
                   ;; Connection to build nodes
                   (network-address
                    (device "eno1")
                    (value "141.80.167.131/26")))))))
--8<---------------cut here---------------end--------------->8---

I have the following error message:

--8<---------------cut here---------------start------------->8---
service networking provided more that once
--8<---------------cut here---------------end--------------->8---

I guess it boils down to tweak the "provision" field accordingly, but it
should be automated or documented properly.

Thanks,

Mathieu




Acknowledgement sent to Mathieu Othacehe <othacehe@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#52511; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 15 Dec 2021 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.