Guest User

Untitled

a guest
May 22nd, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. ## Trying with just the hostname
  2. [root@test2 ~]# puppetd --server test1 --waitforcert 60 --test
  3. info: Creating a new certificate request for test2.localdomain
  4. info: Creating a new SSL key at /etc/puppet/ssl/private_keys/test2.localdomain.pem
  5. err: Could not call puppetca.getcert: #<Errno::EHOSTUNREACH: No route to host - connect(2)>
  6. err: Could not request certificate: Certificate retrieval failed: No route to host - connect(2)
  7.  
  8. ## I do have a route to test1
  9. [root@test2 ~]# ping test1
  10. PING test1 (172.16.252.128) 56(84) bytes of data.
  11. 64 bytes from test1 (172.16.252.128): icmp_seq=1 ttl=64 time=0.284 ms
  12. 64 bytes from test1 (172.16.252.128): icmp_seq=2 ttl=64 time=0.456 ms
  13. 64 bytes from test1 (172.16.252.128): icmp_seq=3 ttl=64 time=0.432 ms
  14. 64 bytes from test1 (172.16.252.128): icmp_seq=4 ttl=64 time=0.672 ms
  15.  
  16. --- test1 ping statistics ---
  17. 4 packets transmitted, 4 received, 0% packet loss, time 3000ms
  18. rtt min/avg/max/mdev = 0.284/0.461/0.672/0.138 ms
  19. [root@test2 ~]# hostname
  20. test2
  21.  
  22. ## trying with just ip
  23. [root@test2 ~]# puppetd --server 172.16.252.128 --waitforcert 60 --test
  24. err: Could not call puppetca.getcert: #<Errno::EHOSTUNREACH: No route to host - connect(2)>
  25. err: Could not request certificate: Certificate retrieval failed: No route to host - connect(2)
Add Comment
Please, Sign In to add comment