
Tal Nisan has submitted this change and it was merged. Change subject: core: prevent duplicate watchdog device on new vm ...................................................................... core: prevent duplicate watchdog device on new vm When a template is set with watchdog device and the user creates a VM from that template, the VM ends up with 2 watchdog devices: 1. The one that was copied from the template 2. Additional device that is added by AddVmCommand#addVmWatchdog The solution is not to add another watchdog device if one is already defined in the template. Change-Id: I1280cb9fe3f9e9047c796bf54cb05dceda4ff43f Bug-Url: https://bugzilla.redhat.com/1304676 Signed-off-by: Arik Hadas <ahadas@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateWatchdogCommand.java 2 files changed, 15 insertions(+), 5 deletions(-) Approvals: Tal Nisan: Passed CI tests Shahar Havivi: Looks good to me, approved Arik Hadas: Verified -- To view, visit https://gerrit.ovirt.org/54291 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1280cb9fe3f9e9047c796bf54cb05dceda4ff43f Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.6 Gerrit-Owner: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Shahar Havivi <shavivi@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>