docker 6.0 and later do not return string for docker.version
Bug #2018559 reported by
Michal Nasiadka
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/
[1]: https:/
Changed in kolla: | |
status: | New → Triaged |
Changed in kolla: | |
status: | Triaged → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /kolla/ +/882343 /opendev. org/openstack/ kolla/commit/ 050e26ed89b307a 2037f118e314d0a 44249a0f89
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 050e26ed89b307a 2037f118e314d0a 44249a0f89
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: cloud-user/ kolla-venv/ lib64/python3. 9/site- packages/ docker/ version. py'>
>>> import docker
>>> docker.version
<module 'docker.version' from '/home/
[1]: https:/ /github. com/docker/ docker- py/commit/ cd2c35a9b699522 b282cc4f024efa5 699df24896
Closes-Bug: #2018559
Change-Id: I5ec0fbfdaf18cf 53a6b5bf91236d3 e040daa9d7e