-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Worker.Tree: fix selection of remote Python executable (#337)
The Python interpeter on gateways must be of the same major version than on the root node for the tree mode to work. Use the same executable name (eg. python, python2, python3) by default. This is due to changes made to the pickle protocol: https://docs.python.org/3/library/pickle.html#data-stream-format Also slashes (/) are not supported in module name (-m), so use dot (.) instead. Finally, check the following environment variable: CLUSTERSHELL_GW_PYTHON_EXECUTABLE that can be used to override the default selection, giving users an option to provide an absolute path to the remote python executable. Change-Id: If8af8abb202ec13fb7db063859f65283b4923d64
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters