Bug 2105173

Summary: "podman manifest add" is not concurrent safe
Product: Red Hat Enterprise Linux 9 Reporter: Suhaas Bhat <subhat>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Yuhui Jiang <yujiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: arajan, bbaude, dwalsh, jnovy, lsm5, mheon, pholzing, pthomas, tsweeney, umohnani, ypu
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-4.3.1-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:41:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suhaas Bhat 2022-07-08 08:03:54 UTC
Description of problem:
 If we try to add different images to the same manifest in parallel, sometimes one images is "lost".

Version-Release number of selected component (if applicable):
podman-4.0.2-7.el9_0.x86_64

How reproducible:
100%

Steps to Reproduce:
https://github.com/containers/podman/issues/14667

Actual results:
Manifests are created with "random" number of images.

Expected results:
Manifest should always contain 2 images.

Additional info:
As per the request has been made to be included this in podman 4.1 release.

Comment 1 Tom Sweeney 2022-07-08 18:18:56 UTC
Assigning to Paul, but have also cc'd Aditya in case they want to thumb wrestle for the ownership of this one.

Comment 2 Paul Holzinger 2022-07-11 12:02:35 UTC
Assigning to Aditya since he already suggested a diff on the upstream issue.

Comment 12 errata-xmlrpc 2023-05-09 07:41:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: podman security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2282