Alex Lourie has uploaded a new change for review.

Change subject: backend: Add validations for InstallVds (#769196)
......................................................................

backend: Add validations for InstallVds (#769196)

https://bugzilla.redhat.com/769196

Adds validations to InstallVdsCommand.canDoAction for provided ISO file
in case of upgrade or re-install of oVirt node:
1. Existence of provided ISO file.
2. Version compatibility - ISO version should have the same major
version as the installed version on the oVirt node.

Since the InstallVdsCommand might fail in its validation when upgrading
rhevh hosts(CDA), there is a need to evaluate the result so updates done
in UpdateVdsCommand could be rolled-back.

Change-Id: Ib5799cbadc9bad36f9f069e8694821a044129c48
Acked-by: FirstName LastName <email>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/InstallVdsCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsCommand.java
A 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/InstallVdsCommandTest.java
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
M 
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
M 
frontend/webadmin/modules/userportal/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
8 files changed, 233 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/67/1467/1
--
To view, visit http://gerrit.ovirt.org/1467
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5799cbadc9bad36f9f069e8694821a044129c48
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.0
Gerrit-Owner: Alex Lourie <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to