Liron Ar has posted comments on this change.
Change subject: engine: Split nfs, posix and iscsi logic when creating
connection struct
......................................................................
Patch Set 2:
(2 comments)
....................................................
File
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/ConnectStorageServerVDSCommand.java
Line 82: conParams.put("user", connection.getuser_name(), "");
Line 83: conParams.put("password", connection.getpassword(),
"");
Line 84: break;
Line 85:
Line 86: case POSIXFS:
i was referring to the "advanced nfs options", not about the posix type. When
looking on the connect operation only - it might succeed on hosts that support
those parameters and fail on hosts that are not although they are on the same
pool, it should be checked that it's safe to always pass that and i assume that
this is not the purpose of this change.
Line 87: // For mnt_options and vfs_type - if they are null
Line 88: // or empty we should not send a key with an empty
value
Line 89: conParams.putIfNotEmpty("mnt_options",
connection.getMountOptions());
Line 90: conParams.putIfNotEmpty("vfs_type",
connection.getVfsType());
Line 86: case POSIXFS:
Line 87: // For mnt_options and vfs_type - if they are null
Line 88: // or empty we should not send a key with an empty
value
Line 89: conParams.putIfNotEmpty("mnt_options",
connection.getMountOptions());
Line 90: conParams.putIfNotEmpty("vfs_type",
connection.getVfsType());
so sergey, please add it to the commit message- how can one conclude why was
that removed from the nfs case?
Line 91: break;
Line 92:
Line 93: case NFS:
Line 94: // storage_pool can be null when connecting through
vds which has no storage pool
--
To view, visit http://gerrit.ovirt.org/21971
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iba33ea1b40ef1eb9c74cad7b0531dc26e21c049a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Tal Nisan <[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