Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Error switching to docker 1.13.0 #1607

Closed
stffabi opened this issue Feb 15, 2017 · 2 comments
Closed

Error switching to docker 1.13.0 #1607

stffabi opened this issue Feb 15, 2017 · 2 comments

Comments

@stffabi
Copy link
Contributor

stffabi commented Feb 15, 2017

RancherOS Version: (ros os version)
v0.8.0

Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)

Baremetal, booted directly from the iso.

Try changing the docker engine to 1.13.0 results in an error.

[root@rancher rancher]# ros os version
v0.8.0
[root@rancher rancher]# ros engine list
disabled docker-1.10.3
disabled docker-1.11.2
current  docker-1.12.6
disabled docker-1.13.0
[root@rancher rancher]# ros engine switch docker-1.13.0
> FATA[0000] non-200 http response: 404
[root@rancher rancher]#
@stffabi
Copy link
Contributor Author

stffabi commented Feb 15, 2017

I think the problem is the inconsistent docker version.

https://raw.githubusercontent.com/rancher/os-services/v0.8.0/index.yml lists docker 1.13.0 as available engine, but https://github.com/rancher/os-services/tree/v0.8.0/d has 1.13.1 as docker engine service and not 1.13.0 available.

@stffabi
Copy link
Contributor Author

stffabi commented Feb 15, 2017

Switching with a https url fails, seems to be a bug.

[root@rancher services]# ros engine switch https://raw.githubusercontent.com/rancher/os-services/v0.8.0/d/docker-1.13.1.yml
> FATA[0000] https://raw.githubusercontent.com/rancher/os-services/v0.8.0/d/docker-1.13.1.yml is not a valid engine

Using http only works.

[root@rancher services]# ros engine switch http://raw.githubusercontent.com/rancher/os-services/v0.8.0/d/docker-1.13.1.yml
> INFO[0000] Project [os]: Starting project
> INFO[0000] [0/16] [docker]: Starting
Pulling docker (rancher/os-docker:1.13.1)...
1.13.1: Pulling from rancher/os-docker
e9c0f8d8477f: Pull complete
Digest: sha256:c4d1153408276cf2c7b0afb711cb890e13e7b5cd495e4e2970fc0d7d8a22f97d
Status: Downloaded newer image for rancher/os-docker:1.13.1
> INFO[0010] Recreating docker
> INFO[0010] [1/16] [docker]: Started
> INFO[0010] Project [os]: Project started
[root@rancher services]# docker version
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      linux/amd64
 Experimental: false

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant