I’m trying to upgrade rancher, after upgrade finishes the it wont load old data… this is not my first upgrade, and followed the instruction from docs.
Is there a way to upgrade smoothly?
rancher server:
[
{
“Id”: “2e8563e3a81b6b7836cd7b69ed5c4a1e7a9654fd1a524d698ff976535b713934”,
“Created”: “2015-09-29T14:28:10.162005652Z”,
“Path”: “/usr/bin/s6-svscan”,
“Args”: [
"/service"
],
“State”: {
“Running”: true,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 3084,
“ExitCode”: 0,
“Error”: “”,
“StartedAt”: “2015-10-23T13:14:20.249197625Z”,
“FinishedAt”: “2015-10-23T13:10:43.152349206Z”
},
“Image”: “2213c164502ca3dcbf1a97644f445b10a35343f401d03c5757fcf508b907f5cc”,
“NetworkSettings”: {
“Bridge”: “”,
“EndpointID”: “x”,
“Gateway”: “172.17.42.1”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“HairpinMode”: false,
“IPAddress”: “172.17.0.28”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“MacAddress”: “02:42:ac:11:00:1c”,
“NetworkID”: “f0cec793352b02336c7ba88ae6dd4ad3f66dccde2be9d395f96ec91e7719eca6”,
“PortMapping”: null,
“Ports”: {
“3306/tcp”: null,
“8080/tcp”: [
{
“HostIp”: “0.0.0.0”,
“HostPort”: “8080”
}
]
},
“SandboxKey”: “/var/run/docker/netns/2e8563e3a81b”,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null
},
“ResolvConfPath”: “/var/lib/docker/containers/2e8563e3a81b6b7836cd7b69ed5c4a1e7a9654fd1a524d698ff976535b713934/resolv.conf”,
“HostnamePath”: “/var/lib/docker/containers/2e8563e3a81b6b7836cd7b69ed5c4a1e7a9654fd1a524d698ff976535b713934/hostname”,
“HostsPath”: “/var/lib/docker/containers/2e8563e3a81b6b7836cd7b69ed5c4a1e7a9654fd1a524d698ff976535b713934/hosts”,
“LogPath”: “/var/lib/docker/containers/2e8563e3a81b6b7836cd7b69ed5c4a1e7a9654fd1a524d698ff976535b713934/2e8563e3a81b6b7836cd7b69ed5c4a1e7a9654fd1a524d698ff976535b713934-json.log”,
“Name”: “/condescending_fermat”,
“RestartCount”: 0,
“Driver”: “aufs”,
“ExecDriver”: “native-0.2”,
“MountLabel”: “”,
“ProcessLabel”: “”,
“Volumes”: {
"/var/lib/cattle": “/var/lib/docker/volumes/34ea3ba6b7bd9418e02ef24516fa46e89dcf931eac68771b4b6b45178f4bf74d/_data”,
"/var/lib/mysql": “/var/lib/docker/volumes/e3b3d544870bbbb1873f48b24ab32456bd1dfc09a3f06e65f16d9de589a5c1c3/_data”,
"/var/log/mysql": “/var/lib/docker/volumes/b92b0a38e84b018e8f6467d41c8675fd6e0beaf72967187eeac3d0bdeeb66fd6/_data”
},
“VolumesRW”: {
"/var/lib/cattle": true,
"/var/lib/mysql": true,
"/var/log/mysql": true
},
“AppArmorProfile”: “”,
“ExecIDs”: null,
“HostConfig”: {
“Binds”: null,
“ContainerIDFile”: “”,
“LxcConf”: [],
“Memory”: 0,
“MemorySwap”: 0,
“CpuShares”: 0,
“CpuPeriod”: 0,
“CpusetCpus”: “”,
“CpusetMems”: “”,
“CpuQuota”: 0,
“BlkioWeight”: 0,
“OomKillDisable”: false,
“Privileged”: false,
“PortBindings”: {
“8080/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8080”
}
]
},
“Links”: null,
“PublishAllPorts”: false,
“Dns”: null,
“DnsSearch”: null,
“ExtraHosts”: null,
“VolumesFrom”: [
“rancher-data”
],
“Devices”: [],
“NetworkMode”: “bridge”,
“IpcMode”: “”,
“PidMode”: “”,
“UTSMode”: “”,
“CapAdd”: null,
“CapDrop”: null,
“RestartPolicy”: {
“Name”: “always”,
“MaximumRetryCount”: 0
},
“SecurityOpt”: null,
“ReadonlyRootfs”: false,
“Ulimits”: null,
“LogConfig”: {
“Type”: “json-file”,
“Config”: {}
},
“CgroupParent”: “”
},
“Config”: {
“Hostname”: “2e8563e3a81b”,
“Domainname”: “”,
“User”: “”,
“AttachStdin”: false,
“AttachStdout”: false,
“AttachStderr”: false,
“PortSpecs”: null,
“ExposedPorts”: {
“3306/tcp”: {},
“8080/tcp”: {}
},
“Tty”: false,
“OpenStdin”: false,
“StdinOnce”: false,
“Env”: [
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”,
“DEBIAN_FRONTEND=noninteractive”,
“CATTLE_HOME=/var/lib/cattle”,
“DEFAULT_CATTLE_API_UI_INDEX=//releases.rancher.com/ui/0.52.0”,
“CATTLE_DB_CATTLE_DATABASE=mysql”,
“CATTLE_USE_LOCAL_ARTIFACTS=true”,
“S6_SERVICE_DIR=/service”,
“CATTLE_HOST_API_PROXY_MODE=embedded”,
“CATTLE_RANCHER_SERVER_IMAGE=v0.39.0”,
“CATTLE_RANCHER_COMPOSE_VERSION=beta/latest”,
“DEFAULT_CATTLE_RANCHER_COMPOSE_LINUX_URL=https://releases.rancher.com/compose/beta/latest/rancher-compose-linux-amd64.tar.gz”,
“DEFAULT_CATTLE_RANCHER_COMPOSE_DARWIN_URL=https://releases.rancher.com/compose/beta/latest/rancher-compose-darwin-amd64.tar.gz”,
“DEFAULT_CATTLE_RANCHER_COMPOSE_WINDOWS_URL=https://releases.rancher.com/compose/beta/latest/rancher-compose-windows-386.zip”,
“CATTLE_CATTLE_VERSION=v0.95.0”,
“DEFAULT_CATTLE_MACHINE_EXECUTE=true”,
“DEFAULT_CATTLE_COMPOSE_EXECUTOR_EXECUTE=true”
],
“Cmd”: [
"/usr/bin/s6-svscan",
"/service"
],
“Image”: “rancher/server:latest”,
“Volumes”: {
"/var/lib/cattle": {},
"/var/lib/mysql": {},
"/var/log/mysql": {}
},
“VolumeDriver”: “”,
“WorkingDir”: “”,
“Entrypoint”: null,
“NetworkDisabled”: false,
“MacAddress”: “”,
“OnBuild”: null,
“Labels”: {}
}
}
]