During the sync Security Group needs to be compared with the tenant
names and not tenant ids. The tenant id which is the uuid are different
between regions. The compare does not match and an attempt to create
the Security Group fails since it already exists. This commit changes
the compare to use tenant names.
Reviewed: https:/ /review. openstack. org/616980 /git.openstack. org/cgit/ openstack/ stx-distcloud/ commit/ ?id=7c1c082be0e 9c9bacfd251fe3f a1de33a0d2864f
Committed: https:/
Submitter: Zuul
Branch: master
commit 7c1c082be0e9c9b acfd251fe3fa1de 33a0d2864f
Author: Kristine Bujold <email address hidden>
Date: Fri Nov 9 10:23:56 2018 -0500
DC fix audit sync failure
During the sync Security Group needs to be compared with the tenant
names and not tenant ids. The tenant id which is the uuid are different
between regions. The compare does not match and an attempt to create
the Security Group fails since it already exists. This commit changes
the compare to use tenant names.
Closes-Bug: 1802397
Change-Id: I9363945868b857 802e137dcf05757 ec3691230c1
Signed-off-by: Kristine Bujold <email address hidden>