Bug 1966538

Summary: Podman returns development version
Product: Red Hat Enterprise Linux 8 Reporter: Valentin Rothberg <vrothber>
Component: podmanAssignee: Matthew Heon <mheon>
Status: CLOSED ERRATA QA Contact: Joy Pu <ypu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.4CC: bbaude, dornelas, dwalsh, jligon, jnovy, lsm5, mheon, mjtrangoni, pthomas, tsweeney, umohnani, ypu
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-3.2.3-0.1.el8 or newer Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1974900 (view as bug list) Environment:
Last Closed: 2021-11-09 17:38:22 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: 1974900    

Description Valentin Rothberg 2021-06-01 11:11:15 UTC
Description of problem:

Podman's version in RHEL 8.4 includes the "-dev" prefix which suggests that a development version (rather than a stable one) is shipped.


How reproducible:

Always.


Steps to Reproduce:
1. `podman version`

Actual results:

Version:      3.0.2-dev
API Version:  3.0.0
Go Version:   go1.15.7
Built:        Wed Apr  7 04:36:54 2021
OS/Arch:      linux/amd64

Expected results:

Version:      3.0.2
API Version:  3.0.0
Go Version:   go1.15.7
Built:        Wed Apr  7 04:36:54 2021
OS/Arch:      linux/amd64

Comment 1 Valentin Rothberg 2021-06-01 11:21:20 UTC
Quick correction: The reported version should be `v3.0.1` (not `v3.0.2`).

Opened an upstream PR: https://github.com/containers/podman/pull/10515

Comment 12 Joy Pu 2021-08-05 15:31:20 UTC
Test with podman-3.3.0-2.module+el8.5.0+12136+c1ac9593.x86_64, seems we need fix it in 3.3 branch too.
# podman version
Version:      3.3.0-dev
API Version:  3.3.0-dev
Go Version:   go1.16.6
Built:        Thu Aug  5 04:57:16 2021
OS/Arch:      linux/amd64

Comment 13 Tom Sweeney 2021-08-05 15:42:01 UTC
@mheon did we miss tweaking the version in Podman 3.3.0rc1?

Comment 14 Matthew Heon 2021-08-05 16:12:10 UTC
This is a release candidate, so it is still a development version. I don't expect this to flip over to a non-dev version until we do a final release.

Comment 16 Joy Pu 2021-08-25 07:24:30 UTC
Test with podman-3.3.0-8.module+el8.5.0+12332+af0a4708.x86_64 and it works as expected. So set this to verified.
Version:      3.3.0
API Version:  3.3.0
Go Version:   go1.16.7
Built:        Sat Aug 21 15:33:32 2021
OS/Arch:      linux/amd64

Comment 18 errata-xmlrpc 2021-11-09 17:38:22 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: container-tools:rhel8 security, bug fix, and enhancement 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-2021:4154