Thanks CA-CP, I did some searching this morning and was able to get a little further after working with certificates, still researching this: root@linuxhub:/var/log# puppet config print certname linuxhub.az.int root@linuxhub:/var/log# puppet cert --list --all + "linuxhub.az.int" (SHA256) EF:0A:78:51:20:FC:0E:D8:1B:04:1B:89:48:74:62:79:07:3E:4A:82:0D:C9:57:44:15:4C:F5:EE:38:0B:66:23 (alt names: "DNS:linuxhub.az.int", "DNS:puppet", "DNS:puppet.az.int") root@linuxhub:/var/log# vi /etc/hosts root@linuxhub:/var/log# puppet agent --test Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Info: Retrieving pluginfacts Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Info: Retrieving plugin Error: /File[/opt/puppetlabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Info: Loading facts Error: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Error: Could not send report: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int]********************************************************************************************************** Logs report: Feb 24 08:57:12 linuxhub puppet-agent[25036]: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Feb 24 08:57:12 linuxhub puppet-agent[25036]: Retrieving pluginfacts Feb 24 08:57:12 linuxhub puppet-agent[25036]: (/File[/opt/puppetlabs/puppet/cache/facts.d]) Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Feb 24 08:57:12 linuxhub puppet-agent[25036]: (/File[/opt/puppetlabs/puppet/cache/facts.d]) Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Feb 24 08:57:12 linuxhub puppet-agent[25036]: Retrieving plugin Feb 24 08:57:13 linuxhub puppet-agent[25036]: (/File[/opt/puppetlabs/puppet/cache/lib]) Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Feb 24 08:57:13 linuxhub puppet-agent[25036]: (/File[/opt/puppetlabs/puppet/cache/lib]) Could not evaluate: Could not retrieve file metadata for puppet:///plugins: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Feb 24 08:57:13 linuxhub puppet-agent[25036]: Loading facts Feb 24 08:57:15 linuxhub kernel: [69518.264015] blk_update_request: I/O error, dev fd0, sector 0 Feb 24 08:57:15 linuxhub kernel: [69518.264194] floppy: error -5 while reading block 0 Feb 24 08:57:15 linuxhub puppet-agent[25036]: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int] Feb 24 08:57:15 linuxhub puppet-agent[25036]: Not using cache on failed catalog Feb 24 08:57:15 linuxhub puppet-agent[25036]: Could not retrieve catalog; skipping run Feb 24 08:57:15 linuxhub puppet-agent[25036]: Could not send report: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: linuxhub.az.int]
---------- Original Message ---------- From: CA-CP Innovation <[email protected]> To: Foreman users <[email protected]> Subject: [foreman-users] Re: Odd error when running a puppet agent --test Date: Fri, 24 Feb 2017 02:35:12 -0800 (PST) Hello, Seems you have a problem with your puppet ntp plugin : Class[Ntp]. Server logs would help to find more about the problem. Guillaume Le vendredi 24 février 2017 09:45:26 UTC+1, Jonathan D a écrit :Running on ubuntu 16.02, the latest Foreman version. Here is the output: root@linuxhub:~# puppet agent --testInfo: Using configured environment 'production'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Loading factsError: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Ntp]: parameter 'broadcastclient' expects a Boolean value, got String parameter 'config' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' parameter 'config_dir' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' parameter 'disable_auth' expects a Boolean value, got String parameter 'disable_dhclient' expects a Boolean value, got String parameter 'disable_kernel' expects a Boolean value, got String parameter 'disable_monitor' expects a Boolean value, got String parameter 'fudge' expects an Array value, got String parameter 'driftfile' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' parameter 'leapfile' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' parameter 'logfile' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' parameter 'iburst_enable' expects a Boolean value, got String parameter 'keys' expects an Array value, got String parameter 'keys_enable' expects a Boolean value, got String parameter 'keys_file' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' parameter 'keys_controlkey' expects a Ntp::Key_id = Integer[1, 65534] value, got String parameter 'keys_requestkey' expects a Ntp::Key_id = Integer[1, 65534] value, got String parameter 'keys_trusted' expects an Array value, got String parameter 'minpoll' expects a Ntp::Poll_interval = Integer[4, 17] value, got String parameter 'maxpoll' expects a Ntp::Poll_interval = Integer[4, 17] value, got String parameter 'package_manage' expects a Boolean value, got String parameter 'package_name' expects an Array value, got String parameter 'panic' expects an Integer value, got String parameter 'peers' expects an Array value, got String parameter 'preferred_servers' expects an Array value, got String parameter 'restrict' expects an Array value, got String parameter 'interfaces' expects an Array value, got String parameter 'interfaces_ignore' expects an Array value, got String parameter 'servers' expects an Array value, got String parameter 'service_enable' expects a Boolean value, got String parameter 'service_manage' expects a Boolean value, got String parameter 'stepout' expects an Integer value, got String parameter 'step_tickers_file' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' parameter 'tinker' expects a Boolean value, got String parameter 'tos' expects a Boolean value, got String parameter 'tos_minclock' expects an Integer value, got String parameter 'tos_minsane' expects an Integer value, got String parameter 'tos_floor' expects an Integer value, got String parameter 'tos_ceiling' expects an Integer value, got String parameter 'tos_cohort' expects a value of type Boolean or Integer, got String parameter 'udlc' expects a Boolean value, got String parameter 'udlc_stratum' expects an Integer value, got String parameter 'ntpsigndsocket' expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\\\\/])|([\\\\\\/][\\\\\\/][^\\\\\\/]+[\\\\\\/][^\\\\\\/]+)|([\\\\\\/][\\\\\\/]\\?[\\\\\\/][^\\\\\\/]+))/], Stdlib::Unixpath = Pattern[/^\\/([^\\/\\0]+(\\/)?)+$/]], got '' on node linuxhub.az.intWarning: Not using cache on failed catalogError: Could not retrieve catalog; skipping run Thank you for any guidance on this issue! -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout. ____________________________________________________________ Diabetes Breakthrough That Was Silenced by Drug Companies Life Advice Daily http://thirdpartyoffers.juno.com/TGL3131/58b05a64d74715a646c19st03duc -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
