docker 6.0 and later do not return string for docker.version

Bug #2018559 reported by Michal Nasiadka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned
Antelope
Fix Released
Undecided
Unassigned
Xena
New
Undecided
Unassigned
Yoga
New
Undecided
Unassigned
Zed
New
Undecided
Unassigned

Bug Description

docker-py reworked their version function and now it does not
return a string [1].

Example:
>>> import docker
>>> docker.version
<module 'docker.version' from '/home/cloud-user/kolla-venv/lib64/python3.9/site-packages/docker/version.py'>

[1]: https://github.com/docker/docker-py/commit/cd2c35a9b699522b282cc4f024efa5699df24896

Changed in kolla:
status: New → Triaged
Changed in kolla:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/882343
Committed: https://opendev.org/openstack/kolla/commit/050e26ed89b307a2037f118e314d0a44249a0f89
Submitter: "Zuul (22348)"
Branch: master

commit 050e26ed89b307a2037f118e314d0a44249a0f89
Author: Michal Nasiadka <email address hidden>
Date: Thu May 4 18:55:52 2023 +0200

    Fix docker version check after docker-py>=6.0.0

    docker-py reworked their version function and now it does not
    return a string [1].

    Example:
    >>> import docker
    >>> docker.version
    <module 'docker.version' from '/home/cloud-user/kolla-venv/lib64/python3.9/site-packages/docker/version.py'>

    [1]: https://github.com/docker/docker-py/commit/cd2c35a9b699522b282cc4f024efa5699df24896

    Closes-Bug: #2018559

    Change-Id: I5ec0fbfdaf18cf53a6b5bf91236d3e040daa9d7e

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 16.0.0.0rc1

This issue was fixed in the openstack/kolla 16.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.