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

🚧 RFC only, not to merge #1305

Closed
wants to merge 1 commit into from
Closed

🚧 RFC only, not to merge #1305

wants to merge 1 commit into from

Conversation

glima
Copy link
Contributor

@glima glima commented May 5, 2021

While I've just begun to investigate some weird Linux boxes, that hang
on shell.py's "try_connnect"--they absolutely should not, but them
we're talking about ancient, weird systems, like 3.x kernel--we must
guarantee that that function serves its purpose, which is to detect
Windows boxes
.

When I arrived on LISA, that functionality was broken and I made it work (just to find
that these weird cases now appear, but anyhow). One internal platform
of ours totally depends on talking to Windows boxes via SSH and, well,
the nodes need to be recognized as such for things to work.

I'd like, in parallel with any fix that will come with this
investigation, to have a unit test for such functionality. My initial
thoughts were to take advantage of the Windows instance on our CI, the
OpenSSH server feature/capability of Windows 10, and have a remote
note pointing to self (localhost) in a test, then to assert that it
was marked non-POSIX.

I'd reach that by enabling the feature, editing configs to allow for
key logins, enabling/starting the service, generating keys and using
those as credentials to the node, along with user, of course. The
test, finally, would only run on Windows (preferably detecting the
ones with the service running).

Problem is that OpenSSH's situation on Windows is a clusterf*^Wvery
poorly handled, and key logins generally only work with luck.

Anyone with a better idea on how to test that or with better abilities
with Windows + OpenSSH to help me with this?

Thanks!

@glima glima requested a review from squirrelsc as a code owner May 5, 2021 20:50
@glima glima force-pushed the test branch 2 times, most recently from de94c6f to 27426ff Compare May 6, 2021 05:24
While I've just begun to investigate some weird Linux boxes, that hang
on shell.py's "try_connnect"--they absolutely should not, but them
we're talking about ancient, weird systems, like 3.x kernel--we must
guarantee that that function serves its purpose, which is *to detect
Windows boxes*.

When I arrived on LISA, it was broken and I made it work (just to find
that these weird cases now appear, but anyhow). One internal platform
of ours totally depends on talking to Windows boxes via SSH and, well,
the nodes need to be recognized as such for things to work.

I'd like, in parallel with any fix that will come with this
investigation, to have a unit test for such functionality. My initial
thoughts were to take advantage of the Windows instance on our CI, the
OpenSSH server feature/capability of Windows 10, and have a remote
note pointing to self (localhost) in a test, then to assert that it
was marked non-POSIX.

I'd reach that by enabling the feature, editing configs to allow for
key logins, enabling/starting the service, generating keys and using
those as credentials to the node, along with user, of course. The
test, finally, would only run on Windows (preferably detecting the
ones with the service running).

Problem is that OpenSSH's situation on Windows is a clusterf*^Wvery
poorly handled, and key logins generally only work with luck.

Anyone with a better idea on how to test that or with better abilities
with Windows + OpenSSH to help me with this?

Thanks!
@glima glima changed the title 🚧 Just a test, for now 🚧 RFC only, not to merge May 6, 2021
@glima glima added the 🆕 LISAv3 Incubation work for the next version of LISA label May 6, 2021
@glima
Copy link
Contributor Author

glima commented May 11, 2021

Status: waiting for PowerShell/Win32-OpenSSH#1787 (which could be forever) or till someone has a different idea to reach the same goal.

@dsrivastavv
Copy link
Contributor

@glima Are there any alternatives that we can explore? Is the issue with open ssh or with windows?

@glima
Copy link
Contributor Author

glima commented May 12, 2021

There are issues opened with Windows, yes. Well my question was exactly that--do you know of any? Given we're testing node connections and our business is SSH all across LISA, that's the path I envision would be sane. If you have other paths on your mind, please share :)

@squirrelsc
Copy link
Member

Close the old PRs. Feel free to open it, if you are working on it continually.

@squirrelsc squirrelsc closed this Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 LISAv3 Incubation work for the next version of LISA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants