Daniel Erez has posted comments on this change.

Change subject: core: validate disks existence on create snapshot
......................................................................


Patch Set 2:

(1 comment)

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

Line 937: ACTION_TYPE_FAILED_NETWORK_NOT_IN_CLUSTER=Failed ${action} ${type}. 
The following networks (${networks}) are not defined in the cluster.
Line 938: ACTION_TYPE_FAILED_INTERFACE_NETWORK_NOT_CONFIGURED=Failed ${action} 
${type}. One or more network interfaces have incomplete network configuration. 
Please configure these interfaces and try again.
Line 939: ACTION_TYPE_FAILED_VM_SNAPSHOT_NOT_IN_PREVIEW=Cannot ${action} 
${type} to a Snapshot that is not being previewed. Please select the correct 
Snapshot to restore to: Either the one being previewed, or the one before the 
preview.
Line 940: ACTION_TYPE_FAILED_SHAREABLE_DISK_NOT_SUPPORTED=Cannot ${action} a 
shareable ${type} (${diskAliases}). This operation is not supported.
Line 941: ACTION_TYPE_FAILED_DISK_NOT_EXIST=Cannot ${action} ${type}. The 
specified disk does not exist.
> Why not use this existing message already
As the client may send multiple disks, it could be helpful to provide the 
relevant disks IDs in this case.
Line 942: ACTION_TYPE_FAILED_DISKS_NOT_EXIST=Cannot ${action} ${type}. The 
following disk(s) does not exist: ${diskIds}.
Line 943: ACTION_TYPE_FAILED_NO_DISKS_SPECIFIED=Cannot ${action} ${type}. No 
disks have been specified.
Line 944: ACTION_TYPE_FAILED_DISK_IS_NOT_VM_DISK=Cannot ${action} ${type}. The 
following disk(s) are not attached to any VM: ${diskAliases}.
Line 945: ACTION_TYPE_FAILED_DISK_IS_NOT_TEMPLATE_DISK=Cannot ${action} 
${type}. The selected disk is not a template disk. Only template disks can be 
copied.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I4d75ad139d048f83b08d9289e43d909b29f89695
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
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