I encountered the same issue. While executing a command through a Python script, I realized that I was attempting to run commands on nodes that do not actually exist. You might want to try manually SSHing into the node from which you’re running the script; however, that approach did not work for me.