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

podman push doesn't show status bars when using podman machine #13532

Closed
BlaineEXE opened this issue Mar 16, 2022 · 2 comments
Closed

podman push doesn't show status bars when using podman machine #13532

BlaineEXE opened this issue Mar 16, 2022 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@BlaineEXE
Copy link

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

/kind feature

Description

podman push (as well as other commands) do not show status output when run with a remote ssh connection. Specifically, I am on Mac using podman machine and podman v4.0.2.

Steps to reproduce the issue:

  1. Install podman on macos via brew
  2. Init and start podman machine
  3. Push an image from podman to somewhere

Describe the results you received:

The output of podman push from my local machine:

❯ podman push localhost:5000/rook/ceph:local-build
❯

There is no output, but it takes quite some time to complete for my 1GB+ image.

If I use podman machine ssh, the command shows status output, with status bars along the way even:

[core@localhost ~]$ podman push localhost:5000/rook/ceph:local-build
Getting image source signatures
Copying blob a9820c2af00a skipped: already exists
Copying blob 83c053bcc765 skipped: already exists
Copying blob bd5fabfb1cc5 skipped: already exists
Copying blob 8e5264875ab3 skipped: already exists
Copying blob 3d5ecee9360e skipped: already exists
Copying blob 66bc414d4ed7 skipped: already exists
Copying blob de967e33369c skipped: already exists
Copying blob c8cd082e22a1 skipped: already exists
Copying blob 906c187ace89 skipped: already exists
Copying blob 4bc78e524c4b skipped: already exists
Copying blob 2598f4c3ff7f skipped: already exists
Copying config 4933c0f54f done
Writing manifest to image destination
Copying config 4933c0f54f done
Writing manifest to image destination
Storing signatures
[core@localhost ~]$

Describe the results you expected:

podman push <image> should show the same output using the local instance as it does when ssh-ed into the podman machine.

I suspect this has something to do with the ssh connection to the podman socket on the VM.

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

Output of podman version:

Client:       Podman Engine
Version:      4.0.2
API Version:  4.0.2
Go Version:   go1.17.8

Built:      Wed Mar  2 07:04:36 2022
OS/Arch:    darwin/amd64

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

Built:      Thu Mar  3 07:56:56 2022
OS/Arch:    linux/amd64

Output of podman info --debug:

host:
  arch: amd64
  buildahVersion: 1.24.1
  cgroupControllers:
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon-2.1.0-2.fc35.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.0, commit: '
  cpus: 2
  distribution:
    distribution: fedora
    variant: coreos
    version: "35"
  eventLogger: journald
  hostname: localhost.localdomain
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 1000000
    uidmap:
    - container_id: 0
      host_id: 501
      size: 1
    - container_id: 1
      host_id: 100000
      size: 1000000
  kernel: 5.15.18-200.fc35.x86_64
  linkmode: dynamic
  logDriver: journald
  memFree: 2776047616
  memTotal: 3170779136
  networkBackend: netavark
  ociRuntime:
    name: crun
    package: crun-1.4.2-1.fc35.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.4.2
      commit: f6fbc8f840df1a414f31a60953ae514fa497c748
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
  os: linux
  remoteSocket:
    exists: true
    path: /run/user/501/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: true
  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: 0
  swapTotal: 0
  uptime: 19m 40.74s
plugins:
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries:
  localhost:5000:
    Blocked: false
    Insecure: true
    Location: localhost:5000
    MirrorByDigestOnly: false
    Mirrors: null
    Prefix: localhost:5000
  search:
  - docker.io
store:
  configFile: /var/home/core/.config/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /var/home/core/.local/share/containers/storage
  graphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 30
  runRoot: /run/user/501/containers
  volumePath: /var/home/core/.local/share/containers/storage/volumes
version:
  APIVersion: 4.0.2
  Built: 1646319416
  BuiltTime: Thu Mar  3 07:56:56 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):

❯ brew info podman                                          rook  dependents-cephfilesystem
podman: stable 4.0.2 (bottled), HEAD
Tool for managing OCI containers and pods
https://podman.io/
/usr/local/Cellar/podman/4.0.2 (172 files, 48.7MB) *
  Poured from bottle on 2022-03-15 at 13:54:00
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/podman.rb
License: Apache-2.0
==> Dependencies
Build: go ✔, go-md2man ✘
Required: qemu ✔
==> Options
--HEAD
	Install HEAD version
==> Caveats
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Analytics
install: 10,898 (30 days), 36,534 (90 days), 104,199 (365 days)
install-on-request: 10,891 (30 days), 36,516 (90 days), 104,182 (365 days)
build-error: 13 (30 days)```

**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.):**

Using podman machine on macos big sur
@mheon mheon added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 16, 2022
@afbjorklund
Copy link
Contributor

Similar to #11554, the podman-remote client is limited when compared to podman (i.e. ssh podman)

@vrothberg
Copy link
Member

Thanks for reaching out, @BlaineEXE.

I am closing as it's already tracked in #11554. There is also #12341 (comment) for pulling.

@jwhonce @baude @rhatdan, probably something we should put on the radar if have some cycles left.

@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/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

4 participants