[{"id":1773928,"web_url":"http://patchwork.ozlabs.org/comment/1773928/","msgid":"<20170922195331.2307b3d0@plex.home>","list_archive_url":null,"date":"2017-09-22T22:53:31","subject":"Re: [ovs-dev] [PATCH v4 0/2] Add system service to delete transient\n\tports on boot.","submitter":{"id":3387,"url":"http://patchwork.ozlabs.org/api/people/3387/","name":"Flavio Leitner","email":"fbl@sysclose.org"},"content":"On Wed, 13 Sep 2017 09:35:32 +0200\nTimothy Redaelli <tredaelli@redhat.com> wrote:\n\n> Add a systemd service file that is only executed the first time\n> ovsdb-server starts after boot and that removes all transient ports\n> (--delete-transient-ports).\n> \n> This is important on certain environments where some ports are going to be\n> recreated after reboot, but other ports need to be persisted in the database.\n> \n> v4:\n>     Changed approach to do not use run directory, but to use an\n>     additional systemd service instead.\n> \n> v3:\n>     Added coverletter.\n>     Rebased and modified due to non-root user patchsets.\n> \n> v2:\n>     Added --delete-transient-ports-on-boot flag to manpage.\n> \n> Timothy Redaelli (2):\n>   ovs-ctl: Add delete-transient-ports command\n>   rhel: Add systemd support to delete transient ports only on boot\n> \n>  rhel/automake.mk                                   |  1 +\n>  rhel/openvswitch-fedora.spec.in                    |  3 ++-\n>  ...stemd_system_ovs-delete-transient-ports.service | 10 +++++++++\n>  rhel/usr_lib_systemd_system_ovsdb-server.service   |  1 +\n>  utilities/ovs-ctl.8                                |  6 ++++++\n>  utilities/ovs-ctl.in                               | 24 +++++++++++++---------\n>  6 files changed, 34 insertions(+), 11 deletions(-)\n>  create mode 100644 rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service\n> \n\nTo the set\nAcked-by: Flavio Leitner <fbl@sysclose.org>\n\nThis will help OVS to start fresh after a system crash or incomplete\nshutdown.","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=sysclose.org header.i=fbl@sysclose.org\n\theader.b=\"M3HUoz4i\"; dkim-atps=neutral"],"Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzTKz75Qxz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 08:53:43 +1000 (AEST)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id B9954A81;\n\tFri, 22 Sep 2017 22:53:40 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id D82BEA80\n\tfor <dev@openvswitch.org>; Fri, 22 Sep 2017 22:53:39 +0000 (UTC)","from sender-of-o52.zoho.com (sender-of-o52.zoho.com\n\t[135.84.80.217])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 67F164B5\n\tfor <dev@openvswitch.org>; Fri, 22 Sep 2017 22:53:39 +0000 (UTC)","from plex.home (168.181.48.140 [168.181.48.140]) by mx.zohomail.com\n\twith SMTPS id 1506120814913937.9460346000719;\n\tFri, 22 Sep 2017 15:53:34 -0700 (PDT)"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1506120814;\n\ts=zoho; d=sysclose.org; i=fbl@sysclose.org;\n\th=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding;\n\tl=1412; bh=NlaDDHuYC5ypIYYVqwpAFvtb9Nrmzm2dyvEXxfO/D1U=;\n\tb=M3HUoz4izABtDSZYkMD50udzt3yN7CGFGdBXk+sC6La/9TgCo1PSf6vZ0Ti4zpr0\n\tr0kny1VYD1oVR1a3DzsPaCnbtAtQp4bWK0UZikDsTufksjBgm4WRjMk/EZYSm7Ccz0y\n\t9frzYewmfE/6fyR7jNkqcu0CCk8d+RucY+oCVv7c=","Date":"Fri, 22 Sep 2017 19:53:31 -0300","From":"Flavio Leitner <fbl@sysclose.org>","To":"Timothy Redaelli <tredaelli@redhat.com>","Message-ID":"<20170922195331.2307b3d0@plex.home>","In-Reply-To":"<cover.1504871394.git.tredaelli@redhat.com>","References":"<cover.1504871394.git.tredaelli@redhat.com>","X-Mailer":"Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","X-ZohoMailClient":"External","X-Spam-Status":"No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH v4 0/2] Add system service to delete transient\n\tports on boot.","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<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\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1794816,"web_url":"http://patchwork.ozlabs.org/comment/1794816/","msgid":"<20171027103937.190111ea@plex.home>","list_archive_url":null,"date":"2017-10-27T12:39:37","subject":"Re: [ovs-dev] [PATCH v4 0/2] Add system service to delete transient\n\tports on boot.","submitter":{"id":3387,"url":"http://patchwork.ozlabs.org/api/people/3387/","name":"Flavio Leitner","email":"fbl@sysclose.org"},"content":"On Wed, 13 Sep 2017 09:35:32 +0200\nTimothy Redaelli <tredaelli@redhat.com> wrote:\n\n> Add a systemd service file that is only executed the first time\n> ovsdb-server starts after boot and that removes all transient ports\n> (--delete-transient-ports).\n> \n> This is important on certain environments where some ports are going to be\n> recreated after reboot, but other ports need to be persisted in the database.\n> \n> v4:\n>     Changed approach to do not use run directory, but to use an\n>     additional systemd service instead.\n> \n> v3:\n>     Added coverletter.\n>     Rebased and modified due to non-root user patchsets.\n> \n> v2:\n>     Added --delete-transient-ports-on-boot flag to manpage.\n> \n> Timothy Redaelli (2):\n>   ovs-ctl: Add delete-transient-ports command\n>   rhel: Add systemd support to delete transient ports only on boot\n> \n>  rhel/automake.mk                                   |  1 +\n>  rhel/openvswitch-fedora.spec.in                    |  3 ++-\n>  ...stemd_system_ovs-delete-transient-ports.service | 10 +++++++++\n>  rhel/usr_lib_systemd_system_ovsdb-server.service   |  1 +\n>  utilities/ovs-ctl.8                                |  6 ++++++\n>  utilities/ovs-ctl.in                               | 24 +++++++++++++---------\n>  6 files changed, 34 insertions(+), 11 deletions(-)\n>  create mode 100644 rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service\n\nAcked-by: Flavio Leitner <fbl@sysclose.org>\nThanks!\nfbl","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=sysclose.org header.i=fbl@sysclose.org\n\theader.b=\"hbPaJQPk\"; dkim-atps=neutral"],"Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yNk3V4Xbhz9t2h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 27 Oct 2017 23:39:50 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 3822EB0B;\n\tFri, 27 Oct 2017 12:39:47 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 1ED19AF5\n\tfor <dev@openvswitch.org>; Fri, 27 Oct 2017 12:39:46 +0000 (UTC)","from sender-of-o52.zoho.com (sender-of-o52.zoho.com\n\t[135.84.80.217])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 507C44F3\n\tfor <dev@openvswitch.org>; Fri, 27 Oct 2017 12:39:45 +0000 (UTC)","from plex.home (189.58.32.211.dynamic.adsl.gvt.net.br\n\t[189.58.32.211]) by mx.zohomail.com\n\twith SMTPS id 1509107981659868.3470099402484;\n\tFri, 27 Oct 2017 05:39:41 -0700 (PDT)"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1509107981;\n\ts=zoho; d=sysclose.org; i=fbl@sysclose.org;\n\th=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding;\n\tl=1314; bh=dF1dIS8nXNqPYwbgroeVO6fBBT/Xn88035JTdxq1qyA=;\n\tb=hbPaJQPk+5zFgtuPh22lBCXNrv7JQ5NbQxxWL2nE9G/0S04zcXqHt/2xqae0ilxm\n\tG/N4b6UNMr/1OQgdx/NBQLoqt2KA5XFpiRwkGRBIgYhXpkiN3oG5r7MG6E1tZCloWrz\n\tOCtirq8Rhi68zVJuRdBmOa9BuHh2qemjSahY/ud0=","Date":"Fri, 27 Oct 2017 10:39:37 -0200","From":"Flavio Leitner <fbl@sysclose.org>","To":"Timothy Redaelli <tredaelli@redhat.com>","Message-ID":"<20171027103937.190111ea@plex.home>","In-Reply-To":"<cover.1504871394.git.tredaelli@redhat.com>","References":"<cover.1504871394.git.tredaelli@redhat.com>","X-Mailer":"Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","X-ZohoMailClient":"External","X-Spam-Status":"No, score=1.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_WEB autolearn=disabled version=3.3.1","X-Spam-Level":"*","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH v4 0/2] Add system service to delete transient\n\tports on boot.","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<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\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}},{"id":1795013,"web_url":"http://patchwork.ozlabs.org/comment/1795013/","msgid":"<20171027160743.GK27530@ovn.org>","list_archive_url":null,"date":"2017-10-27T16:07:43","subject":"Re: [ovs-dev] [PATCH v4 0/2] Add system service to delete transient\n\tports on boot.","submitter":{"id":67603,"url":"http://patchwork.ozlabs.org/api/people/67603/","name":"Ben Pfaff","email":"blp@ovn.org"},"content":"On Wed, Sep 13, 2017 at 09:35:32AM +0200, Timothy Redaelli wrote:\n> Add a systemd service file that is only executed the first time\n> ovsdb-server starts after boot and that removes all transient ports\n> (--delete-transient-ports).\n> \n> This is important on certain environments where some ports are going to be\n> recreated after reboot, but other ports need to be persisted in the database.\n> \n> v4:\n>     Changed approach to do not use run directory, but to use an\n>     additional systemd service instead.\n> \n> v3:\n>     Added coverletter.\n>     Rebased and modified due to non-root user patchsets.\n> \n> v2:\n>     Added --delete-transient-ports-on-boot flag to manpage.\n\nThese seemed fine to me, so I applied both of them to master.","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yNpgY5Zb0z9t3r\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 28 Oct 2017 03:07:53 +1100 (AEDT)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id CB3CFBDA;\n\tFri, 27 Oct 2017 16:07:51 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id D5058BAE\n\tfor <dev@openvswitch.org>; Fri, 27 Oct 2017 16:07:50 +0000 (UTC)","from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net\n\t[217.70.183.194])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7F13D4FD\n\tfor <dev@openvswitch.org>; Fri, 27 Oct 2017 16:07:50 +0000 (UTC)","from ovn.org (173-228-112-34.dsl.dynamic.fusionbroadband.com\n\t[173.228.112.34]) (Authenticated sender: blp@ovn.org)\n\tby relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 85034C5A6A;\n\tFri, 27 Oct 2017 18:07:47 +0200 (CEST)"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-Originating-IP":"173.228.112.34","Date":"Fri, 27 Oct 2017 09:07:43 -0700","From":"Ben Pfaff <blp@ovn.org>","To":"Timothy Redaelli <tredaelli@redhat.com>","Message-ID":"<20171027160743.GK27530@ovn.org>","References":"<cover.1504871394.git.tredaelli@redhat.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<cover.1504871394.git.tredaelli@redhat.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"dev@openvswitch.org","Subject":"Re: [ovs-dev] [PATCH v4 0/2] Add system service to delete transient\n\tports on boot.","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<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\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}}]