when i add a host to rancher server the agent show error as follow:
File “/usr/local/lib/python2.7/dist-packages/requests/models.py”, line 381, in prepare_url
raise InvalidURL(‘URL has an invalid label.’)
requests.exceptions.InvalidURL: URL has an invalid label.
i think the rancher server in mac have a bug like this:
the CATTLE_URL is not correct.
#!/bin/sh
export CATTLE_REGISTRATION_ACCESS_KEY="registrationToken"
export CATTLE_REGISTRATION_SECRET_KEY="D8862A4CB58836C78460:1484326800000:NgSnGrW9cTW6HWQvxjUod81fxVU"
export CATTLE_URL="http://192.168.155.2锛�8080/v1"
export DETECTED_CATTLE_AGENT_IP=“172.17.0.1”
so everybody do you have any solution for rancher right run on the macbook?
how can config it?
my rancher’s version is 1.3.1 and docker’s version is 1.12.6 for macoX