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

RancherOS becomes unstable when cni config doesn't match what system-docker is running #1903

@janeczku

Description

@janeczku

Docker 17.03

jan-test-host-504:~$ sudo ros os upgrade -i rancher/os:v1.0.0                                                                                             
Upgrading to rancher/os:v1.0.0
Continue [y/N]: y
Pulling os-upgrade (rancher/os:v1.0.0)...
v1.0.0: Pulling from rancher/os
627beaf3eaaf: Pull complete 
8cd4da28feed: Pull complete 
5d75ece5df69: Pull complete 
38bb5e38fdc9: Pull complete 
9565a5c14df5: Pull complete 
fe52d1c928cd: Pull complete 
4d3675c97e57: Pull complete 
d9dbc11ef46d: Pull complete 
3deb8f716c46: Pull complete 
e465707aa88c: Pull complete 
Digest: sha256:ed2ee4fbb12adfce363d6433769ad3cb0f3f8acf81f699101ca9f0108ae2ea0b
Status: Downloaded newer image for rancher/os:v1.0.0
os-upgrade_1 | Installing from :v1.0.0
Continue with reboot [y/N]: y
> INFO[0018] Rebooting                                    
> FATA[0018] Error response from daemon: oci runtime error: exit status 1: time="2017-06-07T21:35:23Z" level=fatal msg="\"docker-sys\" already has an IP address different from 10.0.0.1/16" 
jan-test-host-504:~$ sudo ros -v  

resolution plan: (updated by Sven)

for v1.0.x and v11.0, its best to move the customisation of the docker-sys bridge into the installation phase, and then reboot - that way it'll be ready when the system docker is started (using cloud-init write-file shouldn't really work)
for 1.2.0, 1.1.x and possibly 1.0.x I'll work on adding a cloud-init setting for this (and hopefully other settings)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions