pytest-dev / pytest-dev/execnet
`HostNotFound` is raised when SSH reports a different problem
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 102
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
- Bitbucket: https://bitbucket.org/hpk42/execnet/issue/48
- Originally reported by: @alfredodeza
- Originally created at: 2015-09-03T13:39:18.093
This is due to this line (gateway_bootstrap.py line 46) https://bitbucket.org/hpk42/execnet/src/9c14d7158790c3156c36ab720caa20273647967f/execnet/gateway_bootstrap.py?at=default#gateway_bootstrap.py-46
It tries to write and read back and catches the EOFError.
But trying to connect to SSH directly reports in:
#!
Permission denied (publickey).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in execnet/gateway_bootstrap.py at line 46, where the SSH connection writes and reads back and catches EOFError. Compare this behavior with the reported direct SSH output, including “Permission denied (publickey).” Done means the reported SSH problem is not surfaced as HostNotFound when the failure is an authentication error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100