fix: Disable SGE autoscaling parameters for additional workers.
Additional workers use default tool settings. Therefore, if autoscaling
is enabled in tool settings all additional workers inherit enabled
autoscaling parameters which lead to unfunctional cluster of
SGE masters.
@@ -412,6 +412,9 @@ class GridEngineScaleUpHandler:
'--price-type %s ' \
'cluster_role worker ' \
'cluster_role_type additional ' \
+ 'CP_CAP_SGE false ' \
+ 'CP_CAP_AUTOSCALE false ' \
+ 'CP_CAP_AUTOSCALE_WORKERS 0' \
% (self.instance_disk, self.instance_type, self.instance_image, self.parent_run_id,
self._pipe_cli_price_type(self.price_type))
run_id = int(self.executor.execute_to_lines(pipe_run_command)[0])
