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

Is podman-remote-windows broken? #6558

Closed
towe75 opened this issue Jun 10, 2020 · 8 comments
Closed

Is podman-remote-windows broken? #6558

towe75 opened this issue Jun 10, 2020 · 8 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue

Comments

@towe75
Copy link
Contributor

towe75 commented Jun 10, 2020

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

I'd like to use podman-remote-windows to interact with podman on my linux boxes. Ultimately i'd like to be able to use/debug/improve vscode integration.

For sure there are not many users on this platform (yet) but the experience for first time users is relatively bad because of terse documentation. I am willing to help testing and to submitting PR's, if appropriate, in order to improve the situation on windows.

Steps to reproduce the issue:

  1. Download zip file for podman-remote-windows from the release page

  2. Unpack zip and try to run the executable

  3. For podman release 1.9.2 i get simply this:

podman-remote-windows.exe version

time="2020-06-10T18:59:50+02:00" level=error msg="error validating engine configs: static directory must be an absolute path - instead got \"\\\\var\\\\lib\\\\containers\\\\storage\\\\libpod\""
  1. Going back to 1.8.1 yields:
podman-remote-windows.exe version

time="2020-06-10T18:59:41+02:00" level=error msg="failed to setup podman build flags: failed to get container config: error validating engine configs: static directory must be an absolute path - instead got \"\\\\var\\\\lib\\\\containers\\\\storage\\\\libpod\""
Error: could not get runtime: dial unix /run/podman/io.podman: connect: A socket operation encountered a dead network.

Describe the results you received:

I can not use the remote command at all.

Additional information you deem important (e.g. issue happens only occasionally):

Results when running podman-remote-windows.exe from the zip files and from msi setups are similar.

Output of podman info --debug:

Same like above, it does not print the info just the same errors.

Additional environment details (AWS, VirtualBox, physical, etc.):

Windows 10.0.18363, running podman-remote-windows.exe in a plain cmd.exe shell.

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 10, 2020
@mheon
Copy link
Member

mheon commented Jun 10, 2020

@jwhonce @baude PTAL - I think these are fixed for remote v2.0?

@towe75
Copy link
Contributor Author

towe75 commented Jun 10, 2020

@mheon i was to lazy to build a windows exe for 2.0 yet but i can do so if it helps.

@towe75
Copy link
Contributor Author

towe75 commented Jun 11, 2020

I ran a build from master and i get indeed a very different result now:

podman-remote-windows.exe --log-level debug --identity \Users\xxxxxx\.ssh\id_rsa  --url ssh://[email protected]/run/podman/podman.sock?secure=True ps

time="2020-06-11T15:37:23+02:00" level=info msg="podman-remote-windows.exe filtering at log level debug"
time="2020-06-11T15:37:23+02:00" level=debug msg="Called podman-remote-windows.exe.PersistentPreRunE(podman-remote-windows.exe --log-level debug --identity \\Users\\xxxxx\\.ssh\\id_rsa --url ssh://[email protected]/run/podman/podman.sock?secure=True -r ps)"
Error: Failed to create sshClient: Connection to bastion host (ssh://[email protected]/run/podman/podman.sock?secure=True) failed.: ssh: handshake failed: ssh: host key mismatch

Clearly an improvement. But it's still unclear which ssh config directory is used. Connecting to the machine with ssh.exe and the given key works. There is a known_hosts entry for this host in my (windows) .ssh folder.

Moreover i do not understand if i should use -r/--remote and --url or if i could use a profile definition in a toml configuration file like it was documented for older versions. Can you clearify?

@mheon
Copy link
Member

mheon commented Jun 11, 2020

@jwhonce PTAL

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Jul 13, 2020

@ashley-cui PTAL

@baude
Copy link
Member

baude commented Sep 2, 2020

@baude
Copy link
Member

baude commented Sep 2, 2020

this should now be fixed, ive also provided a brief how to

@baude baude closed this as completed Sep 2, 2020
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue
Projects
None yet
Development

No branches or pull requests

5 participants