You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today i have installed puppetserver8 on ubuntu22.04LTS machine. I have configured puppet.conf file in puppet server as like below[1] and i allowed 8140 in firewall. Next i have installed puppet agent8 in client system and configured like below[2] . Now i tried to sync with puppet master but i am getting following error [3].
[1]
root@ultra:~# cat /etc/puppetlabs/puppet/puppet.conf
[3] Error message :
Error: Connection to https://ultra.bahwan.org:8140/puppet-ca/v1 failed, trying next route: Request to https://ultra.bahwan.org:8140/puppet-ca/v1 failed after 0.641 seconds: SSL_connect returned=1 errno=0 peeraddr=10.177.55.78:8140 state=error: unexpected eof while reading
Wrapped exception:
SSL_connect returned=1 errno=0 peeraddr=10.177.46.78:8140 state=error: unexpected eof while reading
Error: No more routes to ca
Error: No more routes to ca
I changed cat /etc/default/puppetserver congiuration like below
Modify this if you'd like to change the memory allocation, enable JMX, etc
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Today i have installed puppetserver8 on ubuntu22.04LTS machine. I have configured puppet.conf file in puppet server as like below[1] and i allowed 8140 in firewall. Next i have installed puppet agent8 in client system and configured like below[2] . Now i tried to sync with puppet master but i am getting following error [3].
[1]
root@ultra:~# cat /etc/puppetlabs/puppet/puppet.conf
[server]
vardir = /opt/puppetlabs/server/data/puppetserver
logdir = /var/log/puppetlabs/puppetserver
rundir = /var/run/puppetlabs/puppetserver
pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
codedir = /etc/puppetlabs/code
dns_alt_names = ultra.bahwan.org
[main]
certname = ultra
server = ultra.bahwan.org
environment = production
runinterval = 30m
root@ultra:~#
[2] Client configuration
root@sync0:
# cat /etc/puppetlabs/puppet/puppet.conf#server=ultra.bahwan.org
environment = production
runinterval = 30m
root@sync0:
[3] Error message :
Error: Connection to https://ultra.bahwan.org:8140/puppet-ca/v1 failed, trying next route: Request to https://ultra.bahwan.org:8140/puppet-ca/v1 failed after 0.641 seconds: SSL_connect returned=1 errno=0 peeraddr=10.177.55.78:8140 state=error: unexpected eof while reading
Wrapped exception:
SSL_connect returned=1 errno=0 peeraddr=10.177.46.78:8140 state=error: unexpected eof while reading
Error: No more routes to ca
Error: No more routes to ca
I changed cat /etc/default/puppetserver congiuration like below
Modify this if you'd like to change the memory allocation, enable JMX, etc
JAVA_ARGS="-Xms4g -Xmx4g -Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger"
I have tried but i am not getting solution. Can you please help on this?
Note: I updated both a machine time and allowed 8140 in iptables file.
Beta Was this translation helpful? Give feedback.
All reactions