Change in ovirt-engine[master]: core: Don't send existingConnAction in VM ticket
ahadas at redhat.com
ahadas at redhat.com
Sun May 22 14:24:46 UTC 2016
Arik Hadas has submitted this change and it was merged.
Change subject: core: Don't send existingConnAction in VM ticket
......................................................................
core: Don't send existingConnAction in VM ticket
We currently send existingConnAction parameter in each VM ticket, which
prevents the user from overriding this parameter (e.g. in Vdsm hooks).
This is not what we want. Additionally, sending the parameter is
unnecessary, so we should stop sending it. If we don't send the
parameter, libvirt/QEMU should behave in the same way as with
"disconnect" value, while we don't prevent the user from altering the
value in Vdsm hooks.
An even better solution would be to allow using different values for
existingConnAction ("disconnect" and "keep") in Engine and send them to
Vdsm in the creation path. However, this is a bit complicated on the
Vdsm side as using "keep" requires setting qemu-cmdline options in
domain XML, which is not what we want to do now. So we just implement
this workaround and let the user play with multiple SPICE screens using
means such as Vdsm hooks.
Change-Id: I800d31bc5a28b7cb896cbb11ea0441e07cfbf26e
Bug-Url: https://bugzilla.redhat.com/1060573
Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetVmTicketCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/SetVmTicketVDSCommandParameters.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/SetVmTicketVDSCommand.java
3 files changed, 17 insertions(+), 3 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Shmuel Leib Melamud: Looks good to me, but someone else must approve
Arik Hadas: Looks good to me, approved
Milan Zamazal: Verified
--
To view, visit https://gerrit.ovirt.org/57660
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I800d31bc5a28b7cb896cbb11ea0441e07cfbf26e
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Milan Zamazal <mzamazal at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Milan Zamazal <mzamazal at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list