Could not retrieve facts 503 Service Unavailable error
Could not retrieve facts 503 Service Unavailable
I've seen this thread and the remedies suggested there did not work. Specifically, I re-ran the puppetdb-ssl-setup -f.
I'm on PE 3.1.0 for agent and master. Java version "1.7.0_19-icedtea", OpenJDK Runtime Environment (PE Java 126.96.36.199), OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
I can get the node facts if I run the following using curl with the insecure setting :
curl -X GET -insecure -L http://locqca3pupmas01:8080/v2/nodes/locqca3maxaohee/facts
That indicates that the DB is available, and that Jetty may be the problem.
If I run :
curl -X GET -L https://locqca3pupmas01:8081/v2/nodes/locqca3maxaohee/facts
I get :
curl: (60) Peer certificate cannot be authenticated with known CA certificates More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
If I run puppet agent -t.
Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Could not retrieve facts for locqca3wla-ujqd: Failed to find facts from PuppetDB at locqca3pupmas01:8081: 503 "Service Unavailable" Info: Retrieving plugin get_orainst_loc: /etc/oraInst.loc get_orainst_products with path: NotFound Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/gemhome.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/tiaa_facts.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/orawls.rb get_orainst_loc: /etc/oraInst.loc get_orainst_products with path: NotFound Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace facts' command ...