Kanagaraj M has posted comments on this change. Change subject: webadmin,engine : allow user to set tuned profile ......................................................................
Patch Set 7: (2 comments) https://gerrit.ovirt.org/#/c/39769/7/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsDeploy.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsDeploy.java: Line 482: ); Line 483: if(vdsGroup.supportsGlusterService()) { Line 484: _parser.cliEnvironmentSet( Line 485: TuneEnv.TUNED_PROFILE, Line 486: vdsGroup.getGlusterTunedProfile() what happens if this value is empty? Line 487: ); Line 488: } Line 489: return true; Line 490: }}, https://gerrit.ovirt.org/#/c/39769/7/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java: Line 886: } Line 887: glusterTunedProfile.setItems(glusterTunedProfiles); Line 888: } Line 889: })); Line 890: glusterTunedProfile.setIsAvailable(glusterTunedProfile.getItems().size() > 0 && ApplicationModeHelper.isModeSupported(ApplicationMode.GlusterOnly)); ApplicationM odeHelper.isModeSupported(ApplicationMode.GlusterOnly)) is a duplicate check. Will there be a situation where tuned profiles are empty? Line 891: } Line 892: Line 893: public void init(final boolean isEdit) { Line 894: setIsEdit(isEdit); -- To view, visit https://gerrit.ovirt.org/39769 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4ef3f957dfcc40cef8de541898fbc08d698d0ce7 Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: anmolbabu <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Eli Mesika <[email protected]> Gerrit-Reviewer: Kanagaraj M <[email protected]> Gerrit-Reviewer: Ramesh N <[email protected]> Gerrit-Reviewer: Sahina Bose <[email protected]> Gerrit-Reviewer: Shubhendu Tripathi <[email protected]> Gerrit-Reviewer: anmolbabu <[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
