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

Manifest list tagging broken in v3.4 RPM and 4.0.0-dev source #12046

Closed
cevich opened this issue Oct 20, 2021 · 2 comments · Fixed by #12057
Closed

Manifest list tagging broken in v3.4 RPM and 4.0.0-dev source #12046

cevich opened this issue Oct 20, 2021 · 2 comments · Fixed by #12057
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.

Comments

@cevich
Copy link
Member

cevich commented Oct 20, 2021

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

/kind bug

Description

I believe this is an incarnation of containers/buildah#3467 but in podman.

Steps to reproduce the issue:

  1. platarch=linux/amd64,linux/arm64
  2. podman build --jobs=2 --platform=$platarch --manifest test .
  3. podman tag localhost/test:latest example.com/test/ing:latest

Describe the results you received:

# podman images
REPOSITORY                       TAG         IMAGE ID      CREATED             SIZE
localhost/test                   latest      e58e70544666  18 seconds ago      952 B
example.com/test/ing             latest      b9b1fc0d7bdb  About a minute ago  233 MB
<none>                           <none>      d7551c3e21a0  About a minute ago  269 MB
registry.access.redhat.com/ubi8  latest      9c1f1dfba3ae  5 weeks ago         269 MB

Describe the results you expected:

# podman images
REPOSITORY                       TAG         IMAGE ID      CREATED             SIZE
localhost/test                   latest      e58e70544666  51 seconds ago      952 B
example.com/test/ing             latest      e58e70544666  51 seconds ago      952 B
<none>                           <none>      d7551c3e21a0  About a minute ago  269 MB
registry.access.redhat.com/ubi8  latest      9c1f1dfba3ae  5 weeks ago         269 MB

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

Output of podman version:

Version:      3.4.0
API Version:  3.4.0
Go Version:   go1.16.8
Built:        Thu Sep 30 14:32:16 2021
OS/Arch:      linux/amd64

Output of podman info --debug:

host:
  arch: amd64
  buildahVersion: 1.23.1
  cgroupControllers:
  - cpuset
  - cpu
  - io
  - memory
  - hugetlb
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon-2.0.30-2.fc35.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.30, commit: '
  cpus: 2
  distribution:
    distribution: fedora
    variant: cloud
    version: "35"
  eventLogger: journald
  hostname: cevich-fedora-c5160336597712896.c.libpod-218412.internal
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 5.14.12-300.fc35.x86_64
  linkmode: dynamic
  logDriver: journald
  memFree: 1522225152
  memTotal: 4104306688
  ociRuntime:
    name: crun
    package: crun-1.2-1.fc35.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.2
      commit: 4f6c8e0583c679bfee6a899c05ac6b916022561b
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
  os: linux
  remoteSocket:
    path: /run/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: false
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: true
  serviceIsRemote: false
  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.0
  swapFree: 4104122368
  swapTotal: 4104122368
  uptime: 34m 58.53s
plugins:
  log:
  - k8s-file
  - none
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries:
  search:
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - docker.io
  - quay.io
store:
  configFile: /etc/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /var/lib/containers/storage
  graphStatus:
    Backing Filesystem: btrfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  imageStore:
    number: 5
  runRoot: /run/containers/storage
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 3.4.0
  Built: 1633030336
  BuiltTime: Thu Sep 30 14:32:16 2021
  GitCommit: ""
  GoVersion: go1.16.8
  OsArch: linux/amd64
  Version: 3.4.0

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

podman-3.4.0-1.fc35.x86_64

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

Yes, also broken as of commit 7fa9935

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

Tested in GCP on F35-beta Image ID c5160336597712896

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 20, 2021
cevich added a commit to containers/podman.io_old that referenced this issue Oct 20, 2021
Adjusted blog article accordingly and opened
containers/podman#12046

Signed-off-by: Chris Evich <cevich@redhat.com>
cevich added a commit to containers/podman.io_old that referenced this issue Oct 20, 2021
Fixes #469

Adjusted blog article accordingly and opened
containers/podman#12046

Signed-off-by: Chris Evich <cevich@redhat.com>
cevich added a commit to containers/podman.io_old that referenced this issue Oct 20, 2021
Fixes #469

Adjusted blog article accordingly and opened
containers/podman#12046

Signed-off-by: Chris Evich <cevich@redhat.com>
@vrothberg
Copy link
Member

@flouthoc, given you worked on it in Buildah, would you take a look?

@flouthoc
Copy link
Collaborator

@vrothberg I'll take a look.

TomSweeneyRedHat pushed a commit to containers/podman.io_old that referenced this issue Oct 21, 2021
Fixes #469

Adjusted blog article accordingly and opened
containers/podman#12046

Signed-off-by: Chris Evich <cevich@redhat.com>
@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 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants