Check whether the Python commands are available on a node.
/usr/bin/python --version echo $?
If the command output is not 0, the check fails.
Install Python before the upgrade.