Alon Bar-Lev has uploaded a new change for review. Change subject: tune/tuned: don't set a profile for gluster nodes ......................................................................
tune/tuned: don't set a profile for gluster nodes Change-Id: I37ede841eb1cfcfa3c24abeb7265362f25885c46 Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M src/plugins/ovirt-host-deploy/tune/tuned.py 1 file changed, 8 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/81/10481/1 diff --git a/src/plugins/ovirt-host-deploy/tune/tuned.py b/src/plugins/ovirt-host-deploy/tune/tuned.py index 72eb65d..9303f6a 100644 --- a/src/plugins/ovirt-host-deploy/tune/tuned.py +++ b/src/plugins/ovirt-host-deploy/tune/tuned.py @@ -42,9 +42,14 @@ @plugin.event( stage=plugin.Stages.STAGE_SETUP, - condition=lambda self: not self.environment[ - odeploycons.VdsmEnv.OVIRT_NODE - ], + condition=lambda self: ( + not self.environment[ + odeploycons.VdsmEnv.OVIRT_NODE + ] and + not self.environment[ + odeploycons.GlusterEnv.ENABLE + ] + ) ) def _setup(self): self.command.detect('tuned-adm') -- To view, visit http://gerrit.ovirt.org/10481 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I37ede841eb1cfcfa3c24abeb7265362f25885c46 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-host-deploy Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches