Agent at the same Host

Hey Guys!

I’m having problems to deploy rancher agent at the same host as the server. I activated the debug mode and everything is alright until this part:

INFO: Host writable: true [[] echo c2ba93ebd17d92619091463bfb1721637bb4bdcd866500be81eeed5c60764fb41abc27df27476a7a6486bba400f1a1ed0d356915a592c0fba360390c005fe95d [[] sed 's/........*/xxxxxxxx/g' [] info Token: xxxxxxxx [] echo INFO: Token: xxxxxxxx INFO: Token: xxxxxxxx INFO: Running registration [] [[ -z '' ]] [] info Running registration [] echo INFO: Running registration [] register [[] ./ c2ba93ebd17d92619091463bfb1721637bb4bdcd866500be81eeed5c60764fb41abc27df27476a7a6486bba400f1a1ed0d356915a592c0fba360390c005fe95d Traceback (most recent call last): File "./", line 11, in <module> secret_key=os.environ['CATTLE_REGISTRATION_SECRET_KEY']) File "/usr/local/lib/python2.7/dist-packages/", line 45, in from_env return gdapi.from_env(prefix=prefix, factory=Client, **kw) File "/usr/local/lib/python2.7/dist-packages/", line 608, in from_env return _from_env(prefix=prefix, factory=factory, **args) File "/usr/local/lib/python2.7/dist-packages/", line 627, in _from_env return factory(**result) File "/usr/local/lib/python2.7/dist-packages/", line 12, in __init__ super(Client, self).__init__(*args, **kw) File "/usr/local/lib/python2.7/dist-packages/", line 195, in __init__ self._load_schemas() File "/usr/local/lib/python2.7/dist-packages/", line 313, in _load_schemas response = self._get_response(self._url) File "/usr/local/lib/python2.7/dist-packages/", line 264, in _get_response self._error(r.text) File "/usr/local/lib/python2.7/dist-packages/", line 253, in _error raise ApiError(self._unmarshall(text)) File "/usr/local/lib/python2.7/dist-packages/", line 298, in _unmarshall object_pairs_hook=self.object_pairs_hook) File "/usr/lib/python2.7/json/", line 351, in loads return cls(encoding=encoding, **kw).decode(s) File "/usr/lib/python2.7/json/", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded [] ENV=

Can you help me guys?