Moti Asayag has posted comments on this change.

Change subject: engine: Validate network provider properties
......................................................................


Patch Set 10:

(2 comments)

http://gerrit.ovirt.org/#/c/29520/10/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBllMessages.java:

Line 548:     
ACTION_TYPE_FAILED_ISCSI_BOND_NETWORK_CANNOT_BE_REQUIRED(ErrorType.NOT_SUPPORTED),
Line 549:     ACTION_TYPE_FAILED_PROVIDER_NETWORKS_USED(ErrorType.CONFLICT),
Line 550:     
ACTION_TYPE_FAILED_PROVIDER_TYPE_MISMATCH(ErrorType.BAD_PARAMETERS),
Line 551:     
ACTION_TYPE_FAILED_MISSING_NETWORK_MAPPINGS(ErrorType.BAD_PARAMETERS),
Line 552:     
ACTION_TYPE_FAILED_MISSING_MESSAGING_BROKER_PROPERTIES(ErrorType.CONFLICT),
> CONFLICT? or BAD_PARAMETERS?
See comment from kolesnik on patchset 4.

The parameters should have been define on other flow on other entity in the 
system. There is no option to provide other set of parameters that will satisfy 
the demands, hence the conflict.
Line 553:     
ACTION_TYPE_FAILED_EXTERNAL_NETWORK_CANNOT_BE_PORT_MIRRORED(ErrorType.NOT_SUPPORTED),
Line 554:     
ACTION_TYPE_FAILED_EXTERNAL_NETWORK_CANNOT_BE_REWIRED(ErrorType.NOT_SUPPORTED),
Line 555:     
ACTION_TYPE_FAILED_EXTERNAL_NETWORK_CANNOT_HAVE_MTU(ErrorType.NOT_SUPPORTED),
Line 556:     
ACTION_TYPE_FAILED_EXTERNAL_NETWORKS_CANNOT_BE_PROVISIONED(ErrorType.NOT_SUPPORTED),


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

Line 588: NETWORK_MTU_OVERRIDE_NOT_SUPPORTED=Cannot ${action} ${type}. 
Overriding MTU is not supported for this Data Center's compatibility version.
Line 589: ACTION_TYPE_FAILED_MIGRATION_NETWORK_IS_NOT_SUPPORTED=Cannot 
${action} ${type}. Migration network is not supported for this cluster version.
Line 590: ACTION_TYPE_FAILED_PROVIDER_DOESNT_EXIST=Cannot ${action} ${type}. 
The provider does not exist in the system.
Line 591: ACTION_TYPE_FAILED_PROVIDER_NETWORKS_USED=Cannot ${action} ${type}. 
Several external networks (${NETWORK_NAMES_COUNTER}) are being used by virtual 
machines and/or templates:\n${NETWORK_NAMES}\n - Please resolve the external 
networks usage first and try again.
Line 592: ACTION_TYPE_FAILED_PROVIDER_TYPE_MISMATCH=Cannot ${action} ${type}. 
The provider type should be 'OpenStack Network'.
> sorry for the ignorant question - is network ok? or should it be Neutron?
on the ui we present the network provider as "OpenStack Network" (and we 
resolve ourself from any future network service name renaming as used to be 
quantum and modified to neutron), also we don't mention glance, but "OpenStack 
Image Repository"
Line 593: ACTION_TYPE_FAILED_MISSING_NETWORK_MAPPINGS=Cannot ${action} ${type}. 
The network mappings should be provided as a parameter or configured on the 
network provider.
Line 594: ACTION_TYPE_FAILED_MISSING_MESSAGING_BROKER_PROPERTIES=Cannot 
${action} ${type}. The network provider's broker host address must be 
configured on the provider.
Line 595: ACTION_TYPE_FAILED_EXTERNAL_NETWORK_ALREADY_EXISTS=Cannot ${action} 
${type}. The external network already exists as '${NetworkName}' in the data 
center.
Line 596: ACTION_TYPE_FAILED_EXTERNAL_NETWORK_MUST_BE_VM_NETWORK=Cannot 
${action} ${type}. An external network cannot be a non-VM network.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Idcdcddb9694426c1e656c9fa1e04dc7f37e8115c
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Lior Vernia <lver...@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: Yair Zaslavsky <yzasl...@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