Skip to content

Status of Docker containers does not refresh in XenCenter #37

@porlock

Description

@porlock

Status of docker containers in XenCenter does not refresh, when i turn off/on "Container Managment" in VM properties it start to work again for some time, but then it studenlly stops.

My VM is running on CoreOS 1068.10.0

I see this kind of errors on xscontainer.log

2016-10-12 10:26:05 - [32421] - INFO - execute_ssh will run 'ncat -U /var/run/docker.sock' with stdin 'POST /containers/b8efb11032/start HTTP/1.0' on vm 9b80dc33-50c1-d8b5-4a36-98f77cfcd00d
2016-10-12 10:26:05 - [32421] - INFO - Request 'POST /containers/b8efb11032/start HTTP/1.0

' led to status Not Modified - Container Management Error: The requested operation is currently not possible. Please try again later. (304)
2016-10-12 10:26:05 - [32421] - ERROR - Nobody caught plugin exception: <class 'xscontainer.util.XSContainerException'>
2016-10-12 10:26:05 - [32421] - ERROR - Traceback (most recent call last):

2016-10-12 10:26:05 - [32421] - ERROR - File "/etc/xapi.d/plugins/xscontainer", line 26, in decorated
return func(_args, *_kwargs)

2016-10-12 10:26:05 - [32421] - ERROR - File "/etc/xapi.d/plugins/xscontainer", line 125, in start
args['container']))

2016-10-12 10:26:05 - [32421] - ERROR - File "/usr/lib/python2.7/site-packages/xscontainer/docker.py", line 179, in start
result = _run_container_cmd(session, vmuuid, container, 'start')

2016-10-12 10:26:05 - [32421] - ERROR - File "/usr/lib/python2.7/site-packages/xscontainer/docker.py", line 174, in _run_container_cmd
'/containers/%s/%s' % (container, command))

2016-10-12 10:26:05 - [32421] - ERROR - File "/usr/lib/python2.7/site-packages/xscontainer/docker.py", line 58, in _post_api
message_error=True)

2016-10-12 10:26:05 - [32421] - ERROR - File "/usr/lib/python2.7/site-packages/xscontainer/docker.py", line 46, in _interact_with_api
raise util.XSContainerException(message)

2016-10-12 10:26:05 - [32421] - ERROR - XSContainerException: Request 'POST /containers/b8efb11032/start HTTP/1.0

' led to status Not Modified - Container Management Error: The requested operation is currently not possible. Please try again later. (304)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions