Maor Lipchuk has posted comments on this change.

Change subject: core: Block removing network when it's related to iSCSI bond.
......................................................................


Patch Set 3:

(2 comments)

http://gerrit.ovirt.org/#/c/30913/3/backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/IscsiBondDaoTest.java
File 
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/IscsiBondDaoTest.java:

Line 118: 
Line 119:     @Test
Line 120:     public void testGetEmptyIscsiBondIdByNetworkId() {
Line 121:         List<IscsiBond> fetchedIscsiBonds = 
dao.getIscsiBondsByNetworkId(networkId);
Line 122:         assertEquals(0, fetchedIscsiBonds.size());
> in case the violation is not trivial you can add a message by Assert.assert
I know, but it is better to use the default message instead creating a new 
one...
Line 123:     }
Line 124: 
Line 125:     @Test
Line 126:     public void testGetEmptyIscsiBondIdByNotExistingNetworkId() {


http://gerrit.ovirt.org/#/c/30913/3/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
File 
frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties:

Line 580: TAGS_SPECIFIED_TAG_CANNOT_BE_THE_PARENT_OF_ITSELF=Operation canceled, 
recursive Tag hierarchy cannot be defined.
Line 581: VM_CANNOT_MOVE_TO_CLUSTER_IN_OTHER_STORAGE_POOL=VM can be moved only 
to a Cluster in the same Data Center.
Line 582: VM_CLUSTER_IS_NOT_VALID=Cannot ${action} ${type}. Cluster ID is not 
valid.
Line 583: NETWORK_CANNOT_REMOVE_MANAGEMENT_NETWORK=The Management Network 
('${NetworkName}') is mandatory and cannot be removed.
Line 584: NETWORK_CANNOT_REMOVE_ISCSI_BOND_NETWORK=The Network 
('${NetworkName}') could not be removed since it is part of the following iSCSI 
bonds:\n ${IscsiBonds}.\nPlease, remove the network first from those iSCSI 
bonds, and try again.
> I don't see which consistency is being maintained here. Having this entry w
The consistency of the message between the platforms.
I will remove it, since I don't think it is that relevant...
Line 585: NETWORK_OLD_NETWORK_NOT_SPECIFIED=Previous network name is required.
Line 586: ACTION_TYPE_FAILED_DETECTED_ACTIVE_VMS=Cannot ${action} ${type}. 
Active VMs were detected.\n\
Line 587:       -Please ensure all VMs associated with this Storage Domain are 
stopped and in the Down state first.
Line 588: ACTION_TYPE_FAILED_HOST_NOT_EXIST=The provided Host does not exist.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I68bd390175d42ee4e33773e12d6184a97a755eed
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to