Message ID | cover.1691750473.git.hako@ultrarare.space |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1EC1127BBE9; Fri, 11 Aug 2023 11:47:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4EF3127BBE2 for <patchwork@mira.cbaines.net>; Fri, 11 Aug 2023 11:47:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1qUPff-0001s0-Hi; Fri, 11 Aug 2023 06:47:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qUPfa-0001oU-Up for guix-patches@gnu.org; Fri, 11 Aug 2023 06:47:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qUPfa-00032o-HI for guix-patches@gnu.org; Fri, 11 Aug 2023 06:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qUPfa-0000MO-Cl for guix-patches@gnu.org; Fri, 11 Aug 2023 06:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64910] [PATCH v2 0/3] gnu: docker: Update to 20.10.25. Resent-From: Hilton Chain <hako@ultrarare.space> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Aug 2023 10:47:02 +0000 Resent-Message-ID: <handler.64910.B64910.16917507751084@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64910@debbugs.gnu.org Cc: Hilton Chain <hako@ultrarare.space> Received: via spool by 64910-submit@debbugs.gnu.org id=B64910.16917507751084 (code B ref 64910); Fri, 11 Aug 2023 10:47:02 +0000 Received: (at 64910) by debbugs.gnu.org; 11 Aug 2023 10:46:15 +0000 Received: from localhost ([127.0.0.1]:45002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1qUPep-0000HQ-9d for submit@debbugs.gnu.org; Fri, 11 Aug 2023 06:46:15 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:33516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <hako@ultrarare.space>) id 1qUPel-0000HE-Nj for 64910@debbugs.gnu.org; Fri, 11 Aug 2023 06:46:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691750762; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=57BDcjj3ibhAhQ9GZZ03x72ydGWv9zin91ZHqYyUzJw=; b=il45LfNWQ4cvZViNRZ997wgAl1cDkV8R8p6jMG32/3rtCYQeSpz1/p147JBegclOmcl+V4 d8thuE2aTWjbWdyrVhofI8pQe0yfF/ZS7o27gPadUdIffcouDBLBqbPJAgX5s+LLXI3RLh 0wbRokNDU+Unsg9ZcLraB51SZkXJ/W0xzC9iKv/mj1y7LpJnTUDVJ3uGlLYWETnHMwrFl4 WfFQOm6j04XfbgQua2ZeY5lJyG2+D55BvKXyYHd4gPVNMGUK+QKulsHZhYH2J0A/5y2p6D uDS4ibQldh9oNubCA5PYUmxhJEHU+0b1ucxIpKnogEY06685Z/u3HEBrQQd36g== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Fri, 11 Aug 2023 18:45:05 +0800 Message-ID: <cover.1691750473.git.hako@ultrarare.space> In-Reply-To: <cover.1690513710.git.hako@ultrarare.space> References: <cover.1690513710.git.hako@ultrarare.space> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: + X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Hilton Chain <hako@ultrarare.space> X-ACL-Warn: , Hilton Chain via Guix-patches <guix-patches@gnu.org> From: Hilton Chain via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
gnu: docker: Update to 20.10.25.
|
|
Message
Hilton Chain
Aug. 11, 2023, 10:45 a.m. UTC
V1 -> V2: - runc@1.1.9 - Fix containerd starting issue. `make check-system TESTS=docker' passes. Details on the issue: Error message: --8<---------------cut here---------------start------------->8--- msg="failed to load plugin io.containerd.grpc.v1.cri" error="invalid plugin config: no corresponding runtime configured in `containerd.runtimes` for `containerd` `default_runtime_name` = \"/gnu/store/...-runc-1.1.9/sbin/runc\"" --8<---------------cut here---------------end--------------->8--- The message comes from pkg/cri/config/config.go: --8<---------------cut here---------------start------------->8--- if _, ok := c.ContainerdConfig.Runtimes[c.ContainerdConfig.DefaultRuntimeName]; !ok { return fmt.Errorf("no corresponding runtime configured in `containerd.runtimes` for `containerd` `default_runtime_name = \"%s\"", c.ContainerdConfig.DefaultRuntimeName) } --8<---------------cut here---------------end--------------->8--- It expects there's `ContainerdConfig.DefaultRuntimeName' within `ContainerdConfig.Runtimes'. And from the relevant code in pkg/cri/config/config_unix.go and the package definion, "runc" the `DefaultRuntimeName' was substituted to a store path, but not "runc" in `Runtimes'. So [...].Runtimes["/gnu/store/...-runc-1.1.9/sbin/runc"] fails. --8<---------------cut here---------------start------------->8--- func DefaultConfig() PluginConfig { [...] return PluginConfig{ [...] ContainerdConfig: ContainerdConfig{ [...] DefaultRuntimeName: "runc", Runtimes: map[string]Runtime{ "runc": { [...] }, }, [...] }, [...] } } --8<---------------cut here---------------end--------------->8--- There's no functional change in those two files between 1.6.6 and 1.6.22, I wonder why this wasn't an issue before... Thanks Hilton Chain (3): gnu: runc: Update to 1.1.9. gnu: containerd: Update to 1.6.22. gnu: docker: Update to 20.10.25. gnu/packages/docker.scm | 25 +++++++++++++++---------- gnu/packages/virtualization.scm | 4 ++-- 2 files changed, 17 insertions(+), 12 deletions(-) base-commit: ad4520b92662e42d7d0b1e648b2068300dbb95c8 -- 2.41.0
Comments
Hilton Chain via Guix-patches via <guix-patches@gnu.org> writes: > Hilton Chain (3): > gnu: runc: Update to 1.1.9. > gnu: containerd: Update to 1.6.22. > gnu: docker: Update to 20.10.25. > > gnu/packages/docker.scm | 25 +++++++++++++++---------- > gnu/packages/virtualization.scm | 4 ++-- > 2 files changed, 17 insertions(+), 12 deletions(-) I haven't tried this out, but it seems like QA [1] is OK with the changes. There are some red bits, but I think that's just some blocked builds being counted as unknown. 1: https://qa.guix.gnu.org/issue/64910
On Mon, 28 Aug 2023 01:57:43 +0800, Christopher Baines wrote: > > [1 <text/plain (7bit)>] > > Hilton Chain via Guix-patches via <guix-patches@gnu.org> writes: > > > Hilton Chain (3): > > gnu: runc: Update to 1.1.9. > > gnu: containerd: Update to 1.6.22. > > gnu: docker: Update to 20.10.25. > > > > gnu/packages/docker.scm | 25 +++++++++++++++---------- > > gnu/packages/virtualization.scm | 4 ++-- > > 2 files changed, 17 insertions(+), 12 deletions(-) > > I haven't tried this out, but it seems like QA [1] is OK with the > changes. There are some red bits, but I think that's just some blocked > builds being counted as unknown. Thanks for taking a look! I have checked it again and pushed it to master.