Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Trying with just the hostname
- [root@test2 ~]# puppetd --server test1 --waitforcert 60 --test
- info: Creating a new certificate request for test2.localdomain
- info: Creating a new SSL key at /etc/puppet/ssl/private_keys/test2.localdomain.pem
- err: Could not call puppetca.getcert: #<Errno::EHOSTUNREACH: No route to host - connect(2)>
- err: Could not request certificate: Certificate retrieval failed: No route to host - connect(2)
- ## I do have a route to test1
- [root@test2 ~]# ping test1
- PING test1 (172.16.252.128) 56(84) bytes of data.
- 64 bytes from test1 (172.16.252.128): icmp_seq=1 ttl=64 time=0.284 ms
- 64 bytes from test1 (172.16.252.128): icmp_seq=2 ttl=64 time=0.456 ms
- 64 bytes from test1 (172.16.252.128): icmp_seq=3 ttl=64 time=0.432 ms
- 64 bytes from test1 (172.16.252.128): icmp_seq=4 ttl=64 time=0.672 ms
- --- test1 ping statistics ---
- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms
- rtt min/avg/max/mdev = 0.284/0.461/0.672/0.138 ms
- [root@test2 ~]# hostname
- test2
- ## trying with just ip
- [root@test2 ~]# puppetd --server 172.16.252.128 --waitforcert 60 --test
- err: Could not call puppetca.getcert: #<Errno::EHOSTUNREACH: No route to host - connect(2)>
- err: Could not request certificate: Certificate retrieval failed: No route to host - connect(2)
Add Comment
Please, Sign In to add comment