-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Pin docker-ce-cli version in https://releases.rancher.com/install-docker/<x.y.z>.sh #27161
Comments
Same for me for two of my client .... |
docker-ce-cli was introduced as an additional package and a dependency of docker-ce with 18.09. Without pinning the newest docker-ce-cli will be installed. Starting with 19.03.9 the docker-ce-cli version does not work anymore with older docer-ce 18.09 versions. Error message: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39 rancher/rancher#27161
The same problem also exists on centos 7 with docker 18.09. |
… docker-ce version docker-ce-cli was introduced as an additional package and a dependency of docker-ce with 18.09. Without pinning the newest docker-ce-cli will be installed. Starting with 19.03.9 the docker-ce-cli version does not work anymore with older docer-ce 18.09 versions. Error message: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39 rancher/rancher#27161
This is an upstream issue, see docker/cli#2533. We probably need to pin the versions to work around this issue. |
Reproduced in 2020/05/22 19:44:12 [INFO] [node-controller-rancher-machine] Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39
2020/05/22 19:44:12 [DEBUG] stdout:
2020/05/22 19:44:12 [INFO] [node-controller-rancher-machine]
2020/05/22 19:44:16 [DEBUG] stdout: Error getting SSH command to check if the daemon is up: ssh command error: command: sudo docker version err: exit status 1 output: Client: Docker Engine - Community
2020/05/22 19:44:16 [INFO] [node-controller-rancher-machine] Error getting SSH command to check if the daemon is up: ssh command error: command: sudo docker version err: exit status 1 output: Client: Docker Engine - Community
2020/05/22 19:44:16 [DEBUG] stdout: Version: 19.03.9
2020/05/22 19:44:16 [INFO] [node-controller-rancher-machine] Version: 19.03.9
2020/05/22 19:44:16 [DEBUG] stdout: API version: 1.40
2020/05/22 19:44:16 [INFO] [node-controller-rancher-machine] API version: 1.40 |
…47) docker-ce-cli was introduced as an additional package and a dependency of docker-ce with 18.09. Without pinning the newest docker-ce-cli will be installed. Starting with 19.03.9 the docker-ce-cli version does not work anymore with older docer-ce 18.09 versions. Error message: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39 rancher/rancher#27161
… docker-ce version (#48) docker-ce-cli was introduced as an additional package and a dependency of docker-ce with 18.09. Without pinning the newest docker-ce-cli will be installed. Starting with 19.03.9 the docker-ce-cli version does not work anymore with older docer-ce 18.09 versions. Error message: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39 rancher/rancher#27161
Scripts with pinned versions are now live |
Installations validated: Docker install URLs used in node templates:
Operating systems I used Ubuntu to check apt installs and CentOS for yum package manager.
Clusters were provisioned and active in Rancher |
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
With the release of Docker CLI v19.03.9 (on 2020-05-19), attempts to use https://releases.rancher.com/install-docker/<x.y.z>.sh to install Docker < 19.03, either manually or as part of node provisioning with a Rancher Node Provider, will result in failure to run docker CLI commands with an error of the format
Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39
. The workaround is to install v19.03, but where this is not an immediate option for a user (due to internal testing requirements), they are prevented from adding new nodes to existing clusters. Pinning a matching version of the docker-ce-cli package to the docker-ce package within the script install-docker script would appear like a possible mitigation of this.Environment information
The text was updated successfully, but these errors were encountered: