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

fixed issue "Needed to prompt for a connection or sudo password, Abor… #224

Merged
merged 2 commits into from
Feb 18, 2016

Conversation

motazreda
Copy link
Contributor

fixed the issue when make sparse submit they get

Warning: Unable to load SSH config file '/home/hacker/.ssh/config'

Fatal error: Needed to prompt for a connection or sudo password (host: 192.168.1.100), but input would be ambiguous in parallel mode

Aborting.

Fatal error: One or more hosts failed while executing task '_create_or_update_virtualenv'

Aborting.

this is link for problem
http://stackoverflow.com/questions/30940322/configuring-streamparse-in-remote-storm-cluster

i fixed it with adding ssh_password in config.json if user need to put their ssh password

@@ -43,7 +43,9 @@ def activate_env(env_name=None):
env.disable_known_hosts = True
env.forward_agent = True
env.use_ssh_config = True

# fix for config file load issue
if env_config.get("ssh_password") != "":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to be so specific here. Just change it to if env_config.get('ssh_password'): and you'll be all set, since that'll skip None and empty string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i will do it now

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i fixed it in the repo should i make new pull request or no ?

@dan-blanchard
Copy link
Member

Thanks for the PR. This looks like it'll be useful for people who haven't configured SSH keys.

dan-blanchard added a commit that referenced this pull request Feb 18, 2016
fixed issue "Needed to prompt for a connection or sudo password, Abor…
@dan-blanchard dan-blanchard merged commit 0a267ba into pystorm:master Feb 18, 2016
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

Successfully merging this pull request may close these issues.

3 participants