Inspected docker start time is not the required format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Committed
|
Undecided
|
Shunli Zhou |
Bug Description
When create container, there is exception in code:
2017-03-08 15:54:22.275 TRACE zun.container.
2017-03-08 15:54:22.275 TRACE zun.container.
2017-03-08 15:54:22.275 TRACE zun.container.
2017-03-08 15:54:22.275 TRACE zun.container.
2017-03-08 15:54:22.275 TRACE zun.container.
2017-03-08 15:54:22.275 TRACE zun.container.
2017-03-08 15:54:22.275 TRACE zun.container.
The inspected docker start time using docker-py is not the required format.
The start time returned by docker cli is correct.
/opt/stack/zun$ docker inspect 2a737621afca
[
{
"Id": "2a737621afca8d
"Created": "2017-03-
"Path": "/pause",
"Args": [],
"State": {
"Dead": false,
"Pid": 0,
},
docker version info as below:
/opt/stack/zun$ docker version
Client:
Version: 17.03.0-ce
API version: 1.26
Go version: go1.7.5
Git commit: 60ccb22
Built: Thu Feb 23 11:02:43 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.0-ce
API version: 1.26 (minimum version 1.12)
Go version: go1.7.5
Git commit: 60ccb22
Built: Thu Feb 23 11:02:43 2017
OS/Arch: linux/amd64
Experimental: false
docker-py info:
/opt/stack/zun$ cat /usr/local/
{"generator": "bdist_wheel (0.26.0)", "summary": "Python client for Docker.", "classifiers": ["Development Status :: 4 - Beta", "Environment :: Other Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License"], "extensions": {"python.details": {"project_urls": {"Home": "https:/
Changed in zun: | |
assignee: | nobody → Shunli Zhou (shunliz) |
Changed in zun: | |
status: | New → Fix Committed |
Fix proposed to branch: master /review. openstack. org/443017
Review: https:/