Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218552/?format=api
{ "id": 2218552, "url": "http://patchwork.ozlabs.org/api/patches/2218552/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20260401121323.900620-1-dceara@redhat.com/", "project": { "id": 68, "url": "http://patchwork.ozlabs.org/api/projects/68/?format=api", "name": "Open Virtual Network development", "link_name": "ovn", "list_id": "ovs-dev.openvswitch.org", "list_email": "ovs-dev@openvswitch.org", "web_url": "http://openvswitch.org/", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260401121323.900620-1-dceara@redhat.com>", "list_archive_url": null, "date": "2026-04-01T12:13:23", "name": "[ovs-dev,RFC] northd, nbctl: Deprecate load balancers on logical switches.", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "1ba6508503dadf114e05e52773f8abe02827e47d", "submitter": { "id": 76591, "url": "http://patchwork.ozlabs.org/api/people/76591/?format=api", "name": "Dumitru Ceara", "email": "dceara@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20260401121323.900620-1-dceara@redhat.com/mbox/", "series": [ { "id": 498328, "url": "http://patchwork.ozlabs.org/api/series/498328/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=498328", "date": "2026-04-01T12:13:23", "name": "[ovs-dev,RFC] northd, nbctl: Deprecate load balancers on logical switches.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498328/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218552/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/2218552/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<ovs-dev-bounces@openvswitch.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "ovs-dev@openvswitch.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "ovs-dev@lists.linuxfoundation.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=aOpKfGGn;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)", "smtp3.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=aOpKfGGn", "smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com", "smtp4.osuosl.org; dkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=aOpKfGGn" ], "Received": [ "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fm3ml6mG6z1yFv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 23:13:43 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 2593461170;\n\tWed, 1 Apr 2026 12:13:42 +0000 (UTC)", "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 7TQi0UVnNHOD; Wed, 1 Apr 2026 12:13:41 +0000 (UTC)", "from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp3.osuosl.org (Postfix) with ESMTPS id 04CEC60870;\n\tWed, 1 Apr 2026 12:13:41 +0000 (UTC)", "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id D05F5C0070;\n\tWed, 1 Apr 2026 12:13:40 +0000 (UTC)", "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 0DB8CC003D\n for <ovs-dev@openvswitch.org>; Wed, 1 Apr 2026 12:13:40 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id F02EB41110\n for <ovs-dev@openvswitch.org>; Wed, 1 Apr 2026 12:13:39 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id IzhtgTlNxW7y for <ovs-dev@openvswitch.org>;\n Wed, 1 Apr 2026 12:13:39 +0000 (UTC)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by smtp4.osuosl.org (Postfix) with ESMTPS id B5E4E41107\n for <ovs-dev@openvswitch.org>; Wed, 1 Apr 2026 12:13:37 +0000 (UTC)", "from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-315-9CMKTscoPly6l2dvoU5_nQ-1; Wed,\n 01 Apr 2026 08:13:33 -0400", "from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 2109A1944DE8; Wed, 1 Apr 2026 12:13:31 +0000 (UTC)", "from cecil-rh.redhat.com (unknown [10.44.48.139])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 8150A1800361; Wed, 1 Apr 2026 12:13:28 +0000 (UTC)" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections -\n client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 04CEC60870", "OpenDKIM Filter v2.11.0 smtp4.osuosl.org B5E4E41107" ], "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=dceara@redhat.com;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org B5E4E41107", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1775045616;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=nHv3yYbqeEhmlUMCJXbVkgsAHI2OIOJhUSHVufNvtL8=;\n b=aOpKfGGnXMr34LiRS3wKWQuIRL0l4Ywx9nuOhbdAmVSukOMqOQUHRzjNL0w/j8ijrxEZ0l\n wgrkT4NEHV8Rod6SwHzmll19p2jDjvUhmny8wVK76jyV76Cp/OeMCLJXlB3DtN+Dc3jJlj\n HH7TmY2z6Vu/hhSwa8m0PxtZ6D7r1Zg=", "X-MC-Unique": "9CMKTscoPly6l2dvoU5_nQ-1", "X-Mimecast-MFC-AGG-ID": "9CMKTscoPly6l2dvoU5_nQ_1775045611", "To": "ovs-dev@openvswitch.org", "Date": "Wed, 1 Apr 2026 14:13:23 +0200", "Message-ID": "<20260401121323.900620-1-dceara@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.111", "X-Mimecast-Spam-Score": "0", "X-Mimecast-MFC-PROC-ID": "K6ow52KGszWqjtgduDZI8D5gs6cdBOs9v0jlRtUbHG0_1775045611", "X-Mimecast-Originator": "redhat.com", "Subject": "[ovs-dev] [RFC ovn] northd,\n nbctl: Deprecate load balancers on logical switches.", "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>,\n <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>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>", "From": "Dumitru Ceara via dev <ovs-dev@openvswitch.org>", "Reply-To": "Dumitru Ceara <dceara@redhat.com>", "Cc": "surya@redhat.com, npinaeva@nvidia.com, 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>" }, "content": "LBs on switches are a broken abstraction that never worked correctly\nand leads to cascading workarounds. Add deprecation warnings in\novn-nbctl when attaching a load balancer to a logical switch via\nls-lb-add, and in ovn-northd when processing a logical switch that\nhas load balancers configured.\n\nReported-by: Ilya Maximets <i.maximets@ovn.org>\nSuggested-by: Ales Musil <amusil@redhat.com>\nSigned-off-by: Dumitru Ceara <dceara@redhat.com>\n---\n NEWS | 2 ++\n northd/northd.c | 9 +++++++++\n utilities/ovn-nbctl.c | 2 ++\n 3 files changed, 13 insertions(+)", "diff": "diff --git a/NEWS b/NEWS\nindex 888946b548..4fdb604db0 100644\n--- a/NEWS\n+++ b/NEWS\n@@ -1,5 +1,7 @@\n Post v26.03.0\n -------------\n+ - Deprecated load balancers on logical switches. LBs on switches are\n+ a broken abstraction. Use load balancers on logical routers instead.\n \n OVN v26.03.0 - xxx xx xxxx\n --------------------------\ndiff --git a/northd/northd.c b/northd/northd.c\nindex ac23614172..193021b550 100644\n--- a/northd/northd.c\n+++ b/northd/northd.c\n@@ -3623,6 +3623,15 @@ build_lb_datapaths(const struct hmap *lbs, const struct hmap *lb_groups,\n continue;\n }\n \n+ if (od->nbs->n_load_balancer || od->nbs->n_load_balancer_group) {\n+ static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 1);\n+ VLOG_WARN_RL(&rl, \"LBs on switches are deprecated because \"\n+ \"supporting LBs on switches is a bad thing and a \"\n+ \"broken abstraction. Logical switch '%s' has \"\n+ \"load balancers configured.\",\n+ od->nbs->name);\n+ }\n+\n for (size_t i = 0; i < od->nbs->n_load_balancer; i++) {\n const struct uuid *lb_uuid =\n &od->nbs->load_balancer[i]->header_.uuid;\ndiff --git a/utilities/ovn-nbctl.c b/utilities/ovn-nbctl.c\nindex 0ef2072720..05a5c42a85 100644\n--- a/utilities/ovn-nbctl.c\n+++ b/utilities/ovn-nbctl.c\n@@ -4203,6 +4203,8 @@ nbctl_ls_lb_add(struct ctl_context *ctx)\n }\n \n /* Insert the load balancer into the logical switch. */\n+ VLOG_WARN(\"LBs on switches are deprecated because supporting LBs on \"\n+ \"switches is a bad thing and a broken abstraction.\");\n nbrec_logical_switch_update_load_balancer_addvalue(ls, new_lb);\n }\n \n", "prefixes": [ "ovs-dev", "RFC" ] }