[IPython-dev] scp error in ipcluster start when profile doesn't exist on engine host

Drain, Theodore R (392P) theodore.r.drain@jpl.nasa....
Wed Feb 19 11:50:35 CST 2014


I'm running the 2.0 development code and getting an error when I try to start a cluster using the ssh engine launcher.  The error happens when it tries to copy the json security file to the engine.  If any of the directories in the path to the json file (.ipython/profile_NAME/security) don't exist, then scp throws an exception which stops the cluster.

It's fairly annoying to have to log in to each machine in my cluster and create a directory tree every time I change the name of the profile.  So - is this the expected behavior?  

There are some ways to use scp (or maybe rsync) that might be more robust:
http://stackoverflow.com/questions/1340048/how-do-i-create-a-directory-on-remote-host-if-it-doesnt-exist-without-ssh-ing-i

Thanks,
Ted


More information about the IPython-dev mailing list