Moti Asayag has submitted this change and it was merged.
Change subject: engine: Fail import vm if mac addresses are missing
......................................................................
engine: Fail import vm if mac addresses are missing
When a vm is imported as new entity, there is a
mac allocation for any imported vnic. If the mac
addresses pool has insufficient addresses, the
action fails during the execution. The patch fails
the operation on can-do-action with a proper message
to the user for the failure reason.
Change-Id: I86680baa28c22def751c9c092f4cfde26ab1c45c
Bug-Url:
https://bugzilla.redhat.com/1008168
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Moti Asayag: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/20517
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I86680baa28c22def751c9c092f4cfde26ab1c45c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server