Change in ovirt-engine[master]: core: update cluster fails when VM/Template have wrong values

Code Review gerrit at ovirt.org
Wed Mar 22 13:03:25 UTC 2017


>From Shahar Havivi <shavivi at redhat.com>:

Shahar Havivi has submitted this change and it was merged.

Change subject: core: update cluster fails when VM/Template have wrong values
......................................................................


core: update cluster fails when VM/Template have wrong values

Failing on the first failed upgrade VM/Template is not informative
for the user.
Instead we don't fail on the first VM/Template failed to upgrade,
we log each VM/Template and the reason in the audit log and preset
all of the failing VMs/Templates for the user to review.

Change-Id: I0968aee9c8388cd3e1352a64035eaae8ba83f28b
https://bugzilla.redhat.com/1418641
Signed-off-by: Shahar Havivi <shaharh at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateClusterCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/EngineMessage.java
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
M backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
M frontend/webadmin/modules/frontend/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
M frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
M frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
9 files changed, 67 insertions(+), 10 deletions(-)

Approvals:
  Tomas Jelinek: Looks good to me, but someone else must approve
  Shahar Havivi: Verified
  Jenkins CI: Passed CI tests
  Arik Hadas: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/73840
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0968aee9c8388cd3e1352a64035eaae8ba83f28b
Gerrit-PatchSet: 14
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list