adi90x / rancher-active-proxy

All in one active reverse proxy for Rancher ! For Kubernetes : https://github.com/adi90x/kube-active-proxy
MIT License
156 stars 55 forks source link

Failed to initialize Rancher Metadata client: Get http://rancher-metadata/latest/version: dial tcp: lookup rancher-metadata #52

Open swadeshp opened 6 years ago

swadeshp commented 6 years ago

I changed the docker root directory from /var/lib/docker to /home/lib/docker because I was running out of space.

- Stopped docker
- moved all files from /var/lib/docker to /home/lib/docker
- and rm -rf /var/lib/docker
- then made a symbolic link using
- ln -s /home/lib/docker /var/lib/docker
- Finally restarted the docker service.

Now, RAP is throwing error: Failed to initialize Rancher Metadata client: Get http://rancher-metadata/latest/version: dial tcp: lookup rancher-metadata

What is wrong?