Moti Asayag has posted comments on this change.

Change subject: core: Allow decreasing a cluster compatability version
......................................................................


Patch Set 3:

(2 comments)

http://gerrit.ovirt.org/#/c/26940/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsGroupCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsGroupCommand.java:

Line 180:         // decreasing of compatibility version is only allowed when 
no hosts exists, and not beneath the DC version
Line 181:         if (result && 
getVdsGroup().getcompatibility_version().compareTo(oldGroup.getcompatibility_version())
 < 0) {
Line 182:             if (!allForVdsGroup.isEmpty()) {
Line 183:                 result = false;
Line 184:                 getReturnValue()
please use 
   
addCanDoActionMessage(VdcBllMessages.ACTION_TYPE_FAILED_CANNOT_DECREASE_COMPATIBILITY_VERSION)
 

instead of 
  
getReturnValue().getCanDoActionMessages().add(VdcBllMessages.ACTION_TYPE_FAILED_CANNOT_DECREASE_COMPATIBILITY_VERSION.toString());
Line 185:                         .getCanDoActionMessages()
Line 186:                         
.add(VdcBllMessages.ACTION_TYPE_FAILED_CANNOT_DECREASE_COMPATIBILITY_VERSION
Line 187:                                 .toString());
Line 188:             }


http://gerrit.ovirt.org/#/c/26940/3/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
File 
backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties:

Line 641: ACTION_TYPE_FAILED_ILLEGAL_SINGLE_DEVICE_INCOMPATIBLE_VERSION=Cannot 
${action} ${type}. Cluster does not support Single Qxl Pci devices.
Line 642: ACTION_TYPE_FAILED_ILLEGAL_DOMAIN_NAME=Cannot ${action} ${type}. 
Illegal Domain name: ${Domain}. Domain name has unsupported special character 
${Char}.
Line 643: ACTION_TYPE_FAILED_ILLEGAL_ARCHITECTURE_TYPE_INCOMPATIBLE=Cannot 
${action} ${type}. Architecture does not match the expected value.
Line 644: ACTION_TYPE_FAILED_CANNOT_DECREASE_COMPATIBILITY_VERSION=Cannot 
decrease data center compatibility version.
Line 645: 
ACTION_TYPE_FAILED_CANNOT_DECREASE_COMPATIBILITY_VERSION_UNDER_DC=Cannot 
decrease cluster compatibility version to below data center compatibility 
version.
s/to below/beneath ?
Line 646: ACTION_TYPE_FAILED_GIVEN_VERSION_NOT_SUPPORTED=Cannot ${action} 
${type}. Selected Compatibility Version is not supported.
Line 647: 
ACTION_TYPE_FAILED_DATA_CENTER_VERSION_DOESNT_SUPPORT_LIVE_SNAPSHOT=Cannot 
${action} ${type}. Selected data center compatibility version does not support 
live snapshot.
Line 648: NETWORK_ADDR_MANDATORY_IN_STATIC_IP=Network address must be specified 
when using static IP
Line 649: ACTION_TYPE_FAILED_OBJECT_LOCKED=Cannot ${action} ${type}. Related 
operation is currently in progress. Please try again later.


-- 
To view, visit http://gerrit.ovirt.org/26940
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2a8f52c63a82871e4ac1847f0414c82095f43075
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <lzel...@redhat.com>
Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com>
Gerrit-Reviewer: Eli Mesika <elimes...@gmail.com>
Gerrit-Reviewer: Liran Zelkha <lzel...@redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to