Bug 1729053

Summary: podman play kube faces error on exporting the yaml
Product: Red Hat Enterprise Linux 7 Reporter: Sayali Kulkarni <sakulkar>
Component: podmanAssignee: Brent Baude <bbaude>
Status: CLOSED DUPLICATE QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.6CC: dornelas, dwalsh, jligon, jnovy, lsm5, mheon, umohnani
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-12 13:00:24 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 Sayali Kulkarni 2019-07-11 09:56:04 UTC
Description of problem:

podman play kube with yaml file doesn't start. The error is: 
``` Error: pod was given but no pod is specified: invalid argument ``` This bug is fixed in podman version 1.4.1 and up but that isn't available on RHEL 7.6.


Version-Release number of selected component (if applicable):

podman-1.3.2-1.git14fdcd0.el7.x86_64


How reproducible:

100%


Steps to Reproduce:

# podman run -dt -p 8000:80 --name demo rhel7
Trying to pull registry.access.redhat.com/rhel7...Getting image source signatures
Copying blob dc4e07da33bc done
Copying blob 5c2598df4560 done
Copying config b6bcd4d771 done
Writing manifest to image destination
Storing signatures
f7e4e7f6e9bf2f499a4d0851d10514eac71ceac7ace10489c92b58b078324a79

# podman generate kube demo  > demo.yml

# podman play kube demo.yml
Error: pod was given but no pod is specified: invalid argument


Actual results:

Error: pod was given but no pod is specified: invalid argument


Expected results:

No errors

Additional info:

https://github.com/containers/libpod/issues/3157

Comment 2 Daniel Walsh 2019-07-11 12:20:26 UTC
Fixed in podman 1.4.2

Comment 3 Derrick Ornelas 2019-07-12 13:00:24 UTC

*** This bug has been marked as a duplicate of bug 1727873 ***