Eli Mesika has submitted this change and it was merged.
Change subject: engine: vds_interface vds_id network_name unique constraint
......................................................................
engine: vds_interface vds_id network_name unique constraint
Somehow (didn't discover yet how), the vds_interface table of some
customers contained vlan networks on top of base interfaces (and not just
on top of the vlan devices).
This patch cleans the wrongs networks from the base interfaces and adds
unique constraint to avoid having the same network on top of more than one
host interface.
Change-Id: Ifad6e5edd90b372fb7865661920939776173c014
Signed-off-by: Alona Kaplan <alkaplan(a)redhat.com>
---
M packaging/dbscripts/upgrade/03_06_1460_add_network_attachment.sql
A packaging/dbscripts/upgrade/03_06_1660_unique_vds_id_network_name_vds_interface.sql
2 files changed, 9 insertions(+), 0 deletions(-)
Approvals:
Eli Mesika: Looks good to me, approved; Passed CI tests
Alona Kaplan: Verified
--
To view, visit
https://gerrit.ovirt.org/42975
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifad6e5edd90b372fb7865661920939776173c014
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkaplan(a)redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org