| Message ID | 20260826160019.1955177-1-aconole@redhat.com |
|---|---|
| State | New |
| Delegated to: | Ilya Maximets |
| Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=BjAm/h7v; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hVTrt3LLCz1xtd for <incoming@patchwork.ozlabs.org>; Thu, 27 Aug 2026 02:00:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E79DF405A1; Wed, 26 Aug 2026 16:00:43 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id z9ghOSEQPLVX; Wed, 26 Aug 2026 16:00:42 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=BjAm/h7v Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id C496C40563; Wed, 26 Aug 2026 16:00:42 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B1BA8C0BFA; Wed, 26 Aug 2026 16:00:42 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id D1C7FC0BF9 for <dev@openvswitch.org>; Wed, 26 Aug 2026 16:00:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C3C844053A for <dev@openvswitch.org>; Wed, 26 Aug 2026 16:00:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id B9uaYf7i0sKb for <dev@openvswitch.org>; Wed, 26 Aug 2026 16:00:39 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=aconole@redhat.com; receiver=<UNKNOWN> Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp4.osuosl.org (Postfix) with ESMTP id AC24A40536 for <dev@openvswitch.org>; Wed, 26 Aug 2026 16:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1787760038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ChQkThCoPOqnrwHL65zeV6UDUF2uer7u4YKGDLmXrSg=; b=BjAm/h7vQnHtu/nwA1wkL6+5gIcxrYsAMLQDL5su1sd732w8edjiN4rN+PBxuh+U4WANor yCfHcYWH3qJr2oAWWdwKYxRUQm4vuYsOLHrRRpVOU99N+yTMw9ZdZeYFxk8soEbkjYePsa 9A3J+Bz7YUynwKN6+5abtstAtS1oEVs= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-84-cwARoZ41OR-Qw2d6vRr4gQ-1; Wed, 26 Aug 2026 12:00:36 -0400 X-MC-Unique: cwARoZ41OR-Qw2d6vRr4gQ-1 X-Mimecast-MFC-AGG-ID: cwARoZ41OR-Qw2d6vRr4gQ_1787760034 Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-52f64c48bf2so6086711cf.0 for <dev@openvswitch.org>; Wed, 26 Aug 2026 09:00:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787760034; x=1788364834; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ChQkThCoPOqnrwHL65zeV6UDUF2uer7u4YKGDLmXrSg=; b=ZQbllmrRXtb1PXE4F1cuZ23E/0I6LMrnRaKltJbzSL3+CyyVU0torkrZNZrWN6vXZ4 1KiSTcDRwSWeh1y8oCiczf+mhBysB8xMNWPkcZiwT9PZppPNJ1QuTfK1yV4AzGjMQkWt 8CIG+dNbHBhmG5y2l/63y/p3R7OrBL7qH/1XjX4JjGfESlyTgG1rktLK38JClrGOt73Q I6EUEwiLxQ+b2Q6P/xOdbLxB8BGWPaECI01O8mI6iVmQAlIIBkP4olVNaUdoDqrs3Qk2 F1Bf4ESpC4iNJyq9ydH/fi/6YZIz/deGGPUqJkxebVfbYTcVDjFBeHJAwfocPpoiYQ4E UMcg== X-Gm-Message-State: AFuF++lVljRKANNdVa2cD//YyjChWaORwsxYHzXMDQvYTFvitGqALK0v pyG/BnSO8c38aXwGoutCoizeK7muE0YR4elmV5yWsQDmXeHRIXhL+BDsuB0AUAO4ZsK7JoKA8cL Ds3PxtKlairUdFkYZh8ZKAFIDS9V0CIeToWkYMsWLwHOi0I6wE6glbGJeqZe0GZkDWCXYpmSHFs 4+WW11SpV4luBOBGCio1v0SYczyePYCKzH0/wk X-Gm-Gg: AR+sD12q3SAB471dvXuBQE9o/BlVB6dSdqI6zYJUrylHiIapYTlXLzERq7MuOJi6u3B lP3LM2I74pg1WGgG/t7GDGRdiiuEIKpff4pZrPhSULjavMYl/eDcKsTz7WHJrU0OH7D2R6d369S Al38UVdxX0esBUj/Oq9JVtMlb9ZccrybMRknb7kUs6uUOB3BZf+Nv+of6+p0XYmSPd0t3eicvql LR238kidzcVHcGr/LlpbvTEksOG+zGyaTRZGVungW8yL9MuyYKckhN42j5pprWfbIPcpl4+N6Px rFGl+zTPNOLrc9388hnFCCnyuIrpFvSCZ3T10gc273e4ZYGKDIwDfOI1tPNEnrDMWI+NAIDr//j nnf7GmqXw511XiHoKSzrgigTii3rJ X-Received: by 2002:a05:622a:8319:b0:52e:f03e:4af7 with SMTP id d75a77b69052e-52ef03e57f5mr33155411cf.17.1787760033995; Wed, 26 Aug 2026 09:00:33 -0700 (PDT) X-Received: by 2002:a05:622a:8319:b0:52e:f03e:4af7 with SMTP id d75a77b69052e-52ef03e57f5mr33154031cf.17.1787760033322; Wed, 26 Aug 2026 09:00:33 -0700 (PDT) Received: from aconole-thinkpadt14gen4.redhat.corp ([216.212.25.12]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-52e4270a950sm19139191cf.15.2026.08.26.09.00.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2026 09:00:32 -0700 (PDT) To: dev@openvswitch.org Date: Wed, 26 Aug 2026 12:00:19 -0400 Message-ID: <20260826160019.1955177-1-aconole@redhat.com> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Jr2xGsMXchlvHXFGZvjnTcFwQ20-8NRfsMGsvbAVtzo_1787760034 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH v4] ovs-ctl: Only wait for ovsdb when deleting transient ports. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: <ovs-dev.openvswitch.org> List-Unsubscribe: <https://mail.openvswitch.org/mailman/options/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://mail.openvswitch.org/pipermail/ovs-dev/> List-Post: <mailto:ovs-dev@openvswitch.org> List-Help: <mailto:ovs-dev-request@openvswitch.org?subject=help> List-Subscribe: <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=subscribe> From: Aaron Conole via dev <ovs-dev@openvswitch.org> Reply-To: Aaron Conole <aconole@redhat.com> Cc: i.maximets@ovn.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" <ovs-dev-bounces@openvswitch.org> |
| Series |
[ovs-dev,v4] ovs-ctl: Only wait for ovsdb when deleting transient ports.
|
expand
|
| Context | Check | Description |
|---|---|---|
| ovsrobot/apply-robot | success | apply and check: success |
| ovsrobot/github-robot-_FreeBSD_Build_and_Test | success | github build: passed |
diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 8ebd720dc5..01967e9ffa 100644 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -115,7 +115,7 @@ check_core_config () { } del_transient_ports () { - for port in `ovs-vsctl --bare -- --columns=name find port other_config:transient=true`; do + for port in `ovs_vsctl --bare -- --columns=name find port other_config:transient=true`; do ovs_vsctl -- del-port "$port" done }
A recent change made the ovsdb-server socket available as a gating object preventing race conditions leading to cascading failure states when the DB service experienced a failure. As part of that change, all of the service dependencies were shifted to using the socket file as the gate. Unfortunately, this exposed a problem on Fedora 44 shipped systemd. Specifically, with systemd 259.8 the services are now starting in parallel, but the ovs-ctl calls 'ovs-vsctl' requiring the vswitchd service to be active. There already exists the ovs_vsctl function which is meant for db only transactions, so switch to using that form. Fixes: 7e7f5d26f841 ("rhel: Add ovsdb-server.socket unit for systemd socket activation.") Signed-off-by: Aaron Conole <aconole@redhat.com> --- v1->v3: Lots of rebase / systemd mistakes causing unrelated / unneeded changes. utilities/ovs-ctl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)