On Mon, Aug 19, 2019 at 06:36:13PM -0700, Aliasgar Ginwala wrote:
> Current code of create-cluster from standalone db takes backup of existing
> standalone db and then generates a new clustered dbs from backup dbs. Hence,
> during migration if nb and sb  dbs are still present, create-cluster will fail
> saying file exists and will not really convert  dbs to clustered dbs. This
> patch fixes the same.
> 
> e.g message that pops up while migration from standalone to raft cluster:
>  * Backing up database to /etc/openvswitch/ovnnb_db.db.backup5.13.0-1278623084
> ovsdb-tool: I/O error: /etc/openvswitch/ovnnb_db.db: create failed (File 
> exists)
>  * Creating cluster database /etc/openvswitch/ovnnb_db.db from existing one
> 
> Signed-off-by: aginwala <aginw...@ebay.com>

Thanks, applied to master and backported.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to