Re: [ovs-dev] [PATCH v3] ovsdb-tool: Add a db consistency check to the ovsdb-tool check-cluster command

2020-07-28 Thread Dumitru Ceara
On 7/15/20 4:51 PM, Dumitru Ceara wrote: > On 7/15/20 4:22 PM, Federico Paolinelli wrote: >> >> >> On Tue, Jul 14, 2020 at 10:22 AM Dumitru Ceara > > wrote: >> >> On 7/10/20 10:18 AM, Federico Paolinelli wrote: >> > There are some occurrences where the database end

Re: [ovs-dev] [PATCH v3] ovsdb-tool: Add a db consistency check to the ovsdb-tool check-cluster command

2020-07-15 Thread Dumitru Ceara
On 7/15/20 4:22 PM, Federico Paolinelli wrote: > > > On Tue, Jul 14, 2020 at 10:22 AM Dumitru Ceara > wrote: > > On 7/10/20 10:18 AM, Federico Paolinelli wrote: > > There are some occurrences where the database ends up in an > inconsistent > > state. Th

Re: [ovs-dev] [PATCH v3] ovsdb-tool: Add a db consistency check to the ovsdb-tool check-cluster command

2020-07-15 Thread Federico Paolinelli
On Tue, Jul 14, 2020 at 10:22 AM Dumitru Ceara wrote: > On 7/10/20 10:18 AM, Federico Paolinelli wrote: > > There are some occurrences where the database ends up in an inconsistent > > state. This happened in ovn-k8s and is described in [0]. > > Here we are adding a supported way to check that a

Re: [ovs-dev] [PATCH v3] ovsdb-tool: Add a db consistency check to the ovsdb-tool check-cluster command

2020-07-14 Thread Dumitru Ceara
On 7/10/20 10:18 AM, Federico Paolinelli wrote: > There are some occurrences where the database ends up in an inconsistent > state. This happened in ovn-k8s and is described in [0]. > Here we are adding a supported way to check that a given db is consistent, > which is less error prone than checkin

[ovs-dev] [PATCH v3] ovsdb-tool: Add a db consistency check to the ovsdb-tool check-cluster command

2020-07-10 Thread Federico Paolinelli
There are some occurrences where the database ends up in an inconsistent state. This happened in ovn-k8s and is described in [0]. Here we are adding a supported way to check that a given db is consistent, which is less error prone than checking the logs. Tested against both a valid db and a corrup