@Varun Chugh - Hello, the Post you write I did start it ;-) -
But still i have the Problem on Post #18 with this certificate.
But still i have the Problem on Post #18 with this certificate.
yeah, that helped! thanks :) any idea into the no space left issue? See attached screenshot.@Varun Chugh - Hello, the Post you write I did start it ;-) -
But still i have the Problem on Post #18 with this certificate.
@Varun Chugh - Hello, the Post you write I did start it ;-) -
But still i have the Problem on Post #18 with this certificate.
I did get past this. Now I am stuck at 'no space left on disk'. But I have GBs of space on the disk. Any idea? Sorry for the trouble. all attached the screenshot.
[rancher@rancher ~]$ sudo docker run -e CATTLE_HOST_LABELS='host4=' --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.7 https://10.147.42.130:8080/v1/scripts/49F7E6AE249F00566EB6:1483142400000:uowA1LfGFxULopYkFMVTlYdEko 6 INFO: Running Agent Registration Process, CATTLE_URL=https://10.147.42.130:8080/v1 INFO: Attempting to connect to: https://10.147.42.130:8080/v1 ERROR: https://10.147.42.130:8080/v1 is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none) ERROR: https://10.147.42.130:8080/v1 is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
hello yusuf
step 4 add a host - i still got this (the only point which is strange, they ask to add a public IP) but on yusuf's information a Privat IP is written.
any help?
Code:[rancher@rancher ~]$ sudo docker run -e CATTLE_HOST_LABELS='host4=' --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.7 https://10.147.42.130:8080/v1/scripts/49F7E6AE249F00566EB6:1483142400000:uowA1LfGFxULopYkFMVTlYdEko 6 INFO: Running Agent Registration Process, CATTLE_URL=https://10.147.42.130:8080/v1 INFO: Attempting to connect to: https://10.147.42.130:8080/v1 ERROR: https://10.147.42.130:8080/v1 is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none) ERROR: https://10.147.42.130:8080/v1 is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
ifconfig
[rancher@rancher ~]$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: seq=0 ttl=56 time=14.642 ms 64 bytes from 8.8.8.8: seq=1 ttl=56 time=14.543 ms 64 bytes from 8.8.8.8: seq=2 ttl=56 time=14.459 ms 64 bytes from 8.8.8.8: seq=3 ttl=56 time=14.409 ms ^C --- 8.8.8.8 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 14.409/14.513/14.642 ms [rancher@rancher ~]$ ifconfig eth0 | grep 'inet addr' inet addr:10.147.42.130 Bcast:0.0.0.0 Mask:255.255.255.0
Might be an authentication issue.@Yusuf Limalia
you will be busy over christmas i belive ;-)
Code:[rancher@rancher ~]$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: seq=0 ttl=56 time=14.642 ms 64 bytes from 8.8.8.8: seq=1 ttl=56 time=14.543 ms 64 bytes from 8.8.8.8: seq=2 ttl=56 time=14.459 ms 64 bytes from 8.8.8.8: seq=3 ttl=56 time=14.409 ms ^C --- 8.8.8.8 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 14.409/14.513/14.642 ms [rancher@rancher ~]$ ifconfig eth0 | grep 'inet addr' inet addr:10.147.42.130 Bcast:0.0.0.0 Mask:255.255.255.0
as you could see to ping 8.8.8.8 works fine.
how to remove this access control ?Might be an authentication issue.
What access control have you got setup?
If you remove access control in the rancherui can you then run the same command?
Step 2 of the tutorialhow to remove this access control ?
INFO: Running Agent Registration Process, CATTLE_URL=http://10.147.42.130:8080/v1 INFO: Attempting to connect to: http://10.147.42.130:8080/v1 INFO: http://10.147.42.130:8080/v1 is accessible INFO: Inspecting host capabilities INFO: Boot2Docker: false INFO: Host writable: true INFO: Token: xxxxxxxx INFO: Running registration 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 613, in from_env return _from_env(prefix=prefix, factory=factory, **args) File "/usr/local/lib/python2.7/dist-packages/gdapi.py", line 632, 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 197, in __init__ self._load_schemas() File "/usr/local/lib/python2.7/dist-packages/gdapi.py", line 315, in _load_schemas response = self._get_response(self._url) File "/usr/local/lib/python2.7/dist-packages/gdapi.py", line 264, in _get_response headers=self._headers) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 501, in get return self.request('GET', url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 497, in send raise SSLError(e, request=request) requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Did you try removing the access control and then adding the host?i found out my Problem with the certifigate was because of the https and the IP address.
But it went a bit furder but still errors
Code:INFO: Running Agent Registration Process, CATTLE_URL=http://10.147.42.130:8080/v1 INFO: Attempting to connect to: http://10.147.42.130:8080/v1 INFO: http://10.147.42.130:8080/v1 is accessible INFO: Inspecting host capabilities INFO: Boot2Docker: false INFO: Host writable: true INFO: Token: xxxxxxxx INFO: Running registration 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 613, in from_env return _from_env(prefix=prefix, factory=factory, **args) File "/usr/local/lib/python2.7/dist-packages/gdapi.py", line 632, 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 197, in __init__ self._load_schemas() File "/usr/local/lib/python2.7/dist-packages/gdapi.py", line 315, in _load_schemas response = self._get_response(self._url) File "/usr/local/lib/python2.7/dist-packages/gdapi.py", line 264, in _get_response headers=self._headers) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 501, in get return self.request('GET', url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 497, in send raise SSLError(e, request=request) requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Good shout.I appreciate the effort but I would set plex net=host to get it working properly
Just sharing some of the problems I ran into and how I fixed them:
- I had trouble fixing a host, because at every reboot the IP address changed. So for my VM I set up the NIC (device) with a fixed MAC address, this way my router always gave it the same IP. Later, I even asked my router to fix the IP and make it static. Fixing a host was easy after this.
- For getting my shares to work I had some trouble with the character set. Namely, I had changed that to ASCII, instead of UTF-8. Make sure to write ascii (not in capitals) as it won't work otherwise.
Thanks for the guide, it's been a huge help!