Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launcher script does not work if hosts require 2-factor authentication #4

Open
jamesr66a opened this issue Dec 3, 2021 · 0 comments

Comments

@jamesr66a
Copy link

With a simple invocation of run_varuna:

$ python -m varuna.run_varuna --batch_size 3 --nstages 3 --chunk_size 1 varuan_test.py

The script has the following terminal output:

No apex!
No apex
['127.0.0.1']
ssh 127.0.0.1 echo "python -u -m varuna.launcher --ngpus_per_server 4   --node_rank 0 --nservers 1 --master_addr 127.0.0.1 --nstages 3 --batch_size 3 --chunk_size 1 --code_dir /fsx/users/jamesreed/varuna varuan_test.py" > launch_varuna.sh;  VARUNA_MANAGER_IP=10.200.30.184 VARUNA_MORPH_PORT=4200 VARUNA_HEARTBEAT_PORT=5000  bash launch_varuna.sh

With the last line (i believe) indicating that run_varuna is trying to use ssh to to issue a command on the host (in this case localhost). However, this host requires two-factor authentication on login. run_varuna launches this command (twice, seemingly) as a background process and ostensibly with stdin disconnected, thus the interactive 2fa prompt cannot be completed. It would be good to have a way to issue commands to the host that is compatible with common security policies or is built on top of standard cluster management tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant