Bug 24321 - Docker RPM reports server version as 'dev'
Summary: Docker RPM reports server version as 'dev'
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Bruno Cornec
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 24374
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-06 19:22 CET by Schalk Cronje
Modified: 2020-08-02 22:48 CEST (History)
5 users (show)

See Also:
Source RPM: docker
CVE:
Status comment:


Attachments

Description Schalk Cronje 2019-02-06 19:22:48 CET
The version for the Docker daemon should report the full version not just the classifier. or nstance it should display the same version as the client include all dotted version parts like 18.06.0-dev.

This actually affects software development done on a Mageia platform where the Docker version needs to be numerically qualified. A major use case is TestContainers (https://www.testcontainers.org/)

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

docker-1.2.0-0.beta.2.2.mga6
docker-containerd-1.2.0-0.beta.2.2.mga6

How reproducible:

Everytime

Steps to Reproduce:
1. docker version | grep Version | tail -1
2. Displays: "Version:   dev"
Comment 1 Marja Van Waes 2019-02-07 08:16:17 CET
Assigning to the registered maintainer.

CC: (none) => marja11
Assignee: bugsquad => bruno

Comment 2 Bruno Cornec 2019-03-18 00:28:25 CET
Fix done in version 18.06.3 uploaded to updates_testing.

Status: NEW => ASSIGNED
Assignee: bruno => qa-bugs
Status comment: (none) => ) )

Comment 3 Len Lawrence 2019-03-19 20:05:01 CET
mga6, x86_64
Added user to docker group, logged out and in.

$ rpm -qa | grep docker
docker-18.06.1-1.2.mga6
docker-containerd-1.2.0-0.beta.2.2.mga6

$ docker version | grep Version | tail -1
 Version:           18.06.0-dev

Updated docker.
$ rpm -qa | grep docker
docker-18.06.3-1.2.mga6

$ docker version | grep Version | tail -1
  Version:          18.06.3-ce

Comments?

CC: (none) => tarazed25

Comment 4 Len Lawrence 2019-03-20 11:48:28 CET
Giving this the OK because it looks like an acceptable outcome.

Whiteboard: (none) => MGA6-64-OK

Len Lawrence 2019-03-21 22:03:31 CET

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Comment 5 David Walser 2019-03-27 15:45:11 CET
Wrong bug report for this update.

CC: (none) => qa-bugs
Depends on: (none) => 24374
Assignee: qa-bugs => bruno

David Walser 2019-03-27 15:45:28 CET

Keywords: validated_update => (none)
Status comment: ) ) => (none)
Source RPM: docker-containerd-1.2.0-0.beta.2.2.mga6.src/rpm => docker
Whiteboard: MGA6-64-OK => (none)

Comment 6 Len Lawrence 2019-03-27 17:35:17 CET
Ran this again.
$ docker version | grep Version
 Version:           18.06.0-dev
  Version:          dev

Updated all the packages and checked version again.

$ docker version | grep Version
 Version:           18.06.0-dev
  Version:          18.06.3-ce

What does this mean?  Is it fixed?
Comment 7 Bruno Cornec 2019-03-27 18:18:11 CET
The first is for the client and the second for the server. So while that one is fixed, we may need to see whether the first one needs improvement as well.
Comment 8 Schalk Cronje 2019-03-27 18:34:25 CET
The output looks correct to me. Is there an dev RPM I can download? Then I'll test it against a real world scenario.
Comment 9 Bruno Cornec 2019-03-27 19:25:39 CET
Use the pkgs from http://mirrors.kernel.org/mageia/distrib/6/x86_64/media/core/updates_testing/ e.g. and the Lab from https://github.com/bcornec/Labs/tree/master/Docker for instructions to test
Comment 10 Len Lawrence 2019-03-28 02:19:46 CET
Yes, I did update from the testing repo.  Need to find time to investigate the Lab again.  Thanks Bruno.
Comment 11 Len Lawrence 2019-03-28 10:05:57 CET
Sorry Bruno - just realized that you were talking to Schalk.
Comment 12 Aurelien Oudelet 2020-08-02 22:48:19 CEST
This message is a reminder that Mageia 6 is end of life.

Mageia stopped maintaining and issuing updates for Mageia 6. At that time this bug will be closed as OLD (EOL).

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 6's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we cannot 
be able to fix it before Mageia 6 was end of life.
If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD
CC: (none) => ouaurelien


Note You need to log in before you can comment on or make changes to this bug.