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

win-sshproxy.exe does not exist in 4.0.2 remote windows client. #13675

Closed
seantwie03 opened this issue Mar 28, 2022 · 4 comments
Closed

win-sshproxy.exe does not exist in 4.0.2 remote windows client. #13675

seantwie03 opened this issue Mar 28, 2022 · 4 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. remote Problem is in podman-remote windows issue/bug on Windows

Comments

@seantwie03
Copy link

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

/kind bug

Description

Steps to reproduce the issue:

  1. Install podman 4.0.2 on Windows 10 21H2 with WSL2 installed

  2. podman machine init

  3. podman machine start

Describe the results you received:
win-sshproxy.exe is not included in podman-remote-release-windows_amd64.zip

API forwarding for Docker API clients is not available due to the following startup failures.
        exec: "C:\\Users\\$USER\\scoop\\apps\\podman\\4.0.2\\usr\\bin\\win-sshproxy.exe": file does not exist

Describe the results you expected:
I expect to be able to use the Docker API.

Additional information you deem important (e.g. issue happens only occasionally):
I think there was an issue during the 4.0.2 build of the windows remote client that caused win-sshproxy.exe to not be created. The reason I think this is because pull request #13545 was merged to fix an issue with the win-sshproxy.exe build. My question is, does anyone know when the next release will be? I'm hoping the next Release will include win-sshproxy.exe and will resolve this error message.

Output of podman version:

time="2022-03-27T20:57:01-05:00" level=warning msg="Failed to retrieve default tmp dir: invalid image_copy_tmp_dir value \"/var/tmp\" (relative paths are not accepted)"
Client:       Podman Engine
Version:      4.0.2
API Version:  4.0.2
Go Version:   go1.18rc1
Git Commit:   342c8259381b63296e96ad29519bd4b9c7afbf97
Built:        Wed Mar  2 14:28:30 2022
OS/Arch:      windows/amd64

Server:       Podman Engine
Version:      4.0.2
API Version:  4.0.2
Go Version:   go1.16.14

Built:      Thu Mar 10 14:26:05 2022
OS/Arch:    linux/amd64

Output of podman info --debug:

time="2022-03-27T20:57:29-05:00" level=warning msg="Failed to retrieve default tmp dir: invalid image_copy_tmp_dir value \"/var/tmp\" (relative paths are not accepted)"
host:
  arch: amd64
  buildahVersion: 1.24.1
  cgroupControllers: []
  cgroupManager: cgroupfs
  cgroupVersion: v1
  conmon:
    package: conmon-2.1.0-2.fc35.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.0, commit: '
  cpus: 8
  distribution:
    distribution: fedora
    variant: container
    version: "35"
  eventLogger: file
  hostname: ....
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  kernel: 5.10.102.1-microsoft-standard-WSL2
  linkmode: dynamic
  logDriver: journald
  memFree: 12534644736
  memTotal: 13273968640
  networkBackend: netavark
  ociRuntime:
    name: crun
    package: crun-1.4.3-1.fc35.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.4.3
      commit: 61c9600d1335127eba65632731e2d72bc3f0b9e8
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
  os: linux
  remoteSocket:
    exists: true
    path: /run/user/1000/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: true
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: true
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns-1.1.12-2.fc35.x86_64
    version: |-
      slirp4netns version 1.1.12
      commit: 7a104a101aa3278a2152351a082a6df71f57c9a3
      libslirp: 4.6.1
      SLIRP_CONFIG_VERSION_MAX: 3
      libseccomp: 2.5.3
  swapFree: 4294967296
  swapTotal: 4294967296
  uptime: 1h 38m 59.73s (Approximately 0.04 days)
plugins:
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries:
  search:
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - docker.io
  - quay.io
store:
  configFile: /home/user/.config/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-1.7.1-2.fc35.x86_64
      Version: |-
        fusermount3 version: 3.10.5
        fuse-overlayfs: version 1.7.1
        FUSE library version 3.10.5
        using FUSE kernel interface version 7.31
  graphRoot: /home/user/.local/share/containers/storage
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 0
  runRoot: /run/user/1000/containers
  volumePath: /home/user/.local/share/containers/storage/volumes
version:
  APIVersion: 4.0.2
  Built: 1646943965
  BuiltTime: Thu Mar 10 14:26:05 2022
  GitCommit: ""
  GoVersion: go1.16.14
  OsArch: linux/amd64
  Version: 4.0.2

Package info (e.g. output of rpm -q podman or apt list podman):

>scoop info podman

Name        : podman
Description : A tool for managing OCI containers and pods.
Version     : 4.0.2
Bucket      : main
Website     : https://podman.io
License     : Apache-2.0
Updated at  : 3/4/2022 12:41:29 AM
Updated by  : Jadyn
Installed   : 4.0.2
Binaries    : usr\bin\podman.exe

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)

Yes

Additional environment details (AWS, VirtualBox, physical, etc.):
Windows 10 21H2 with WSL2 installed

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Mar 28, 2022
@github-actions github-actions bot added remote Problem is in podman-remote windows issue/bug on Windows labels Mar 28, 2022
@mheon
Copy link
Member

mheon commented Mar 28, 2022

@n1hility PTAL

@n1hility
Copy link
Member

@seantwie03 as a workaround these are included in the msi windows installer (recommend install mechanism). I can add these to the zip after I am back (currently away this week)

@seantwie03
Copy link
Author

@n1hility Thanks for the response. The MSI is working! I'll close this Issue.

@JadynWong
Copy link

I can add these to the zip

Hi @n1hility,
I think this is friendly for portable installations.

@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 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 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. remote Problem is in podman-remote windows issue/bug on Windows
Projects
None yet
Development

No branches or pull requests

4 participants