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