Docker Community Forums

Share and learn in the Docker community.

UCP Upgrade 2.0.3 to 2.1.0

Hi,

Sys info:
Virtual machine
CentOS Linux release 7.2.1511
having 5 nodes - UCP,DTR,3 Worker Engines.

i just upgraded docker version in all our nodes to Docker version 1.13.1
now i need to upgrade the node with the UCP on it but i get this errors :

# docker run --rm -it \
>   --name ucp \
>   -v /var/run/docker.sock:/var/run/docker.sock \
> docker/ucp:2.1.0  \
> upgrade --interactive

getting this:
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:334: running prestart hook 0 caused \\\"fork/exec /usr/bin/dockerd;58a30ba0 (deleted): no such file or directory\\\"\"\n".

now i have to mention that i have started docker like this ::

dockerd --storage-driver=devicemapper --storage-opt=dm.thinpooldev=/dev/mapper/docker-thinpool --storage-opt=dm.use_deferred_removal=true --storage-opt=dm.use_deferred_deletion=true

cause we have had to change everything to thick partitioning and direct-lvm instead of loop-lvm
and i didnt mange to make it work at the "/lib/systemd/system/docker.service "
to start like this - by the way if someone have a solution’s for that to id be happy.

my UCP conatainers currntly runing :

a38f04f888c9        docker/ucp-hrm:2.0.3          "/docker-entrypoin..."   2 days ago          Up 2 days                                                                                               ucp-hrm.1.13gb0pggiegb3w4kypl0dsyp7
45e88cd7bea5        docker/ucp-agent:2.0.3        "/bin/ucp-agent agent"   2 days ago          Up 2 days             2376/tcp                                                                          ucp-agent.0.3sk56njgm6xxmt7u1bi2cjdk9
37aba7027c4f        docker/ucp-controller:2.0.3   "/bin/controller s..."   5 days ago          Up 5 days (healthy)   0.0.0.0:443->8080/tcp                                                             ucp-controller
c8c25f85cd05        docker/ucp-swarm:2.0.3        "/swarm manage --t..."   5 days ago          Up 5 days             0.0.0.0:2376->2375/tcp                                                            ucp-swarm-manager
bfa3343c0228        docker/ucp-auth:2.0.3         "/usr/local/bin/en..."   5 days ago          Up 5 days (healthy)   0.0.0.0:12386->4443/tcp                                                           ucp-auth-worker
51636360ba86        docker/ucp-auth:2.0.3         "/usr/local/bin/en..."   5 days ago          Up 5 days             0.0.0.0:12385->4443/tcp                                                           ucp-auth-api
c4982171ca45        docker/ucp-auth-store:2.0.3   "rethinkdb --bind ..."   5 days ago          Up 5 days             0.0.0.0:12383-12384->12383-12384/tcp                                              ucp-auth-store
63d2cb3594f2        docker/ucp-etcd:2.0.3         "/bin/etcd --data-..."   5 days ago          Up 5 days (healthy)   2380/tcp, 4001/tcp, 7001/tcp, 0.0.0.0:12380->12380/tcp, 0.0.0.0:12379->2379/tcp   ucp-kv
955e7d2e368a        docker/ucp-cfssl:2.0.3        "/bin/ucp-ca serve..."   5 days ago          Up 5 days             0.0.0.0:12381->12381/tcp                                                          ucp-cluster-root-ca
488c4b0ee136        docker/ucp-cfssl:2.0.3        "/bin/ucp-ca serve..."   5 days ago          Up 5 days             0.0.0.0:12382->12382/tcp                                                          ucp-client-root-ca
b3e795d3bd9b        docker/ucp-agent:2.0.3        "/bin/ucp-agent proxy"   5 days ago          Up 5 days             0.0.0.0:12376->2376/tcp                                                           ucp-proxy

well what helped my issue is restart all docker on all nodes and it did helpd.