Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New docker client is not working with VIC [v1.13] #3734

Closed
2 tasks
caglar10ur opened this issue Jan 26, 2017 · 13 comments
Closed
2 tasks

New docker client is not working with VIC [v1.13] #3734

caglar10ur opened this issue Jan 26, 2017 · 13 comments
Assignees
Labels
impact/doc/note Requires creation of or changes to an official release note priority/p0

Comments

@caglar10ur
Copy link
Contributor

caglar10ur commented Jan 26, 2017

New docker client is not working with VIC [version 1.13] and that needs to be documented somewhere.

  • determine source of hang (but not fix)
  • document as known issue for current VIC release.

The original issue is tracked at #3720

@mdubya66
Copy link
Contributor

works for me

@mdubya66 mdubya66 added impact/doc/note Requires creation of or changes to an official release note and removed impact/doc labels Jan 26, 2017
@mdubya66
Copy link
Contributor

Closing this. Added kind/note to the original issue #3720

@hickeng
Copy link
Member

hickeng commented Jan 26, 2017

I'd like to determine what the problem is so we can document it appropriately as a high priority in the near term.

This is separated from the original issue as the two hypothesis raised both imply potentially long and involved fixes:
a. client is now using event stream (unsupported) to determine container exit
b. parameters have been switched in the API update (tied to outcome of #3415)

@caglar10ur
Copy link
Contributor Author

This is what I'm observing but this is a build from my branch. Will try switching back to master

[vagrant@devbox:/opt/go/src/github.com/vmware/vic(3605)] docker version
Client:
 Version:      1.13.0
 API version:  1.23
 Go version:   go1.7.3
 Git commit:   49bf474
 Built:        Tue Jan 17 09:58:26 2017
 OS/Arch:      linux/amd64

Server:
 Version:      0.8.0
 API version:  1.23 (minimum version )
 Go version:   go1.7.4
 Git commit:   dcff4f6
 Built:        Thu Jan 26 18:43:51 2017
 OS/Arch:      linux/amd64
 Experimental: true
[vagrant@devbox:/opt/go/src/github.com/vmware/vic(3605)] docker ^Cllo-world
[vagrant@devbox:/opt/go/src/github.com/vmware/vic(3605)] docker run ubuntu uname
Unable to find image 'ubuntu:latest' locally
Pulling from library/ubuntu
8aec416115fd: Pull complete
695f074e24e3: Pull complete
946d6c48c2a7: Pull complete
bc7277e579f0: Pull complete
2508cbcde94b: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:0c01b5105fc57b5eb8b7bb1d697b9dc5602022f69a0a33bf282b117e7a754a91
Status: Downloaded newer image for library/ubuntu:latest

Linux



^C^C^C

@caglar10ur
Copy link
Contributor Author

Same problem with master so not sure what are you doing differently @mdubya66. Can you try running "docker run ubuntu uname"?

@mdubya66
Copy link
Contributor

mdubya66 commented Feb 1, 2017

This hangs on mac as well. Control-C does nothing. kill -9 was required. The container still reports as being running after the kill.

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2cd453dede6e ubuntu "uname" 5 days ago Up About a minute backstabbing_liskov

@mhagen-vmware mhagen-vmware added this to the Sprint 2 milestone Feb 1, 2017
@sflxn sflxn self-assigned this Feb 1, 2017
@stuclem
Copy link
Contributor

stuclem commented Feb 8, 2017

Apologies for getting to this so late (have had a huge backlog that I have only just cleared). Proposed text for the release notes:

  • vSphere Integrated Containers Engine 0.8 does not support Docker Client 1.13. #3734, #3734
    If you attempt to connect version 1.13 of the Docker Client to a virtual container host, the Docker client stops working.
    Workaround: Use version 1.12 of the Docker Client to connect to virtual container hosts.

@sflxn, @caglar10ur, @mdubya66 does this cover it?

@sflxn
Copy link
Contributor

sflxn commented Feb 8, 2017

@stuclem this is only a temporary situation. It will get fixed. Do you want to take this issue for documentation? I'll take #3720.

@sflxn sflxn assigned stuclem and unassigned sflxn Feb 8, 2017
@sflxn
Copy link
Contributor

sflxn commented Feb 8, 2017

I'm going to comment in the original issue for all technical discussions from here on out.

@stuclem
Copy link
Contributor

stuclem commented Feb 9, 2017

No problem, @sflxn. Here's an updated version of the release note entry for 0.8, that I have added in https://github.com/vmware/vic/releases/tag/v0.8.0:

  • vSphere Integrated Containers Engine 0.8 does not support Docker Client 1.13. #3734, #3734
    If you attempt to connect version 1.13 of the Docker Client to a virtual container host, the Docker client stops working. This happens because Docker 1.13 uses Docker Events, which vSphere Integrated Containers Engine 0.8 does not support.
    Workaround: Use version 1.12 of the Docker Client to connect to virtual container hosts.

Is this OK? Thanks!

@stuclem
Copy link
Contributor

stuclem commented Feb 10, 2017

Incidentally, @caglar10ur @mdubya66 @mhagen-vmware, the main docs for 0.8 currently state support for Docker 1.11.2. Should we update this to state "versions up to 1.12, but not 1.13"?

@sflxn
Copy link
Contributor

sflxn commented Feb 10, 2017

@stuclem I would say "which vSphere Integrated Containers Engine 0.8 does not yet support." We're going to get docker events implemented. It's not just for docker 1.13 run but also for docker stats.

@stuclem
Copy link
Contributor

stuclem commented Feb 13, 2017

Done. Thanks @sflxn. Since this issue is just for doc, closing.

@stuclem stuclem closed this as completed Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/doc/note Requires creation of or changes to an official release note priority/p0
Projects
None yet
Development

No branches or pull requests

6 participants