Allow ovn_db_sync to continue on duplicate normalised CIDR
OVN now uses normalised CIDR when adding a security group rule[1]. It
uses may_exist=True for adding ACL (secgroup rule), in case there are
multiple CIDRs in neutron that normalises to the same.
Do the same in ovn_db_sync, so that the sync don't fail hard on such
duplicates.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/833560 /opendev. org/openstack/ neutron/ commit/ 691a7ceeecb020e 302e8d9a2ec3ceb 67741144a8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 691a7ceeecb020e 302e8d9a2ec3ceb 67741144a8
Author: Jake Yip <email address hidden>
Date: Tue Jul 20 17:03:08 2021 +1000
Allow ovn_db_sync to continue on duplicate normalised CIDR
OVN now uses normalised CIDR when adding a security group rule[1]. It
uses may_exist=True for adding ACL (secgroup rule), in case there are
multiple CIDRs in neutron that normalises to the same.
Do the same in ovn_db_sync, so that the sync don't fail hard on such
duplicates.
[1] https:/ /review. opendev. org/c/openstack /neutron/ +/736386/
Change-Id: I9d9c21e460029e 4a6a845520bfcc2 889ad20429b 817640404f53e08 07755e08d7)
Related-Bug: #1869129
Closes-Bug: #1961112
(cherry picked from commit 5a0a2b7847da067