Bug 1727873

Summary: Error: pod was given but no pod is specified: invalid argument
Product: Red Hat Enterprise Linux 7 Reporter: Markus Schibli <mschibli>
Component: podmanAssignee: Brent Baude <bbaude>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: dornelas, dwalsh, jligon, jnovy, lsm5, mheon, sakulkar, umohnani, ypu
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: podman-1.4.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-29 16:17:28 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:
Bug Depends On:    
Bug Blocks: 1186913, 1697833    

Comment 6 Joy Pu 2019-07-12 03:06:18 UTC
Test with podman-1.4.4-1.el7.x86_64 with steps in comments #1 and now the podman and conatiner can be created, and no error message is reported. Here is the details:
# podman play kube test-pod.yml 
Pod:
a65776792cd0433910966f80c988338889b4a05cdb216a2025c84b82ef263208
Container:
81ac82e4d4dc8fc920240bfb5c12d4f538249a3a4b903232fb58c9a7869e0f17
# podman pod ps
POD ID         NAME                STATUS    CREATED         # OF CONTAINERS   INFRA ID
a65776792cd0   pod-initcontainer   Running   7 seconds ago   2                 f91f9171cd71
# podman ps -a --pod
CONTAINER ID  IMAGE                 COMMAND  CREATED         STATUS                     PORTS  NAMES               POD
81ac82e4d4dc  busybox               sh       20 seconds ago  Exited (0) 20 seconds ago         test_container      a65776792cd0
f91f9171cd71  k8s.gcr.io/pause:3.1           20 seconds ago  Up 20 seconds ago                 a65776792cd0-infra  a65776792cd0

So the problem described in this bug is fixed. But I found that the Command in test_container is not match the test-pod.yml. But this should be another problem. Will set this one to verified and report another one for tracking it.

Comment 7 Derrick Ornelas 2019-07-12 13:00:24 UTC
*** Bug 1729053 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2019-07-29 16:17:28 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, 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-2019:1907

Comment 10 Red Hat Bugzilla 2023-09-14 05:31:32 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days