Ed Lima
2014-Aug-22 03:52 UTC
[Puppet Users] Error 406 while communicating with puppet on port 443
I'm using puppet enterprise 3.3.1 and all my nodes/master are running on Ubuntu 14.04.1. This is my puppet.conf:> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *root@puppet:~# cat /etc/puppetlabs/puppet/puppet.conf[main] certname = > puppet.openstacklocal dns_alt_names = puppet,puppet.lan vardir = > /var/opt/lib/pe-puppet logdir = /var/log/pe-puppet rundir = > /var/run/pe-puppet basemodulepath = > /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules server = > puppet.openstacklocal user = pe-puppet group = pe-puppet archive_files = > true archive_file_server = puppet.openstacklocal[master] certname = > puppet.openstacklocal ca_name = 'Puppet CA generated on puppet at > 2014-08-14 05:03:59 +0000' reports = console,puppetdb node_terminus = > console ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = > SSL_CLIENT_VERIFY storeconfigs = true storeconfigs_backend = > puppetdb[agent] report = true classfile = $vardir/classes.txt localconfig = > $vardir/localconfig graph = true pluginsync = true environment = production*I'm have 7 nodes so far but there are 2 of them giving me lots of grief. I cannot get them to work properly with the current puppet master. I used them with the free version in the past and they worked fine. Since there are 2 different problems I'll mention one of them here and will create another topic for the second one. I already looked all over google to try and fix it but couldn't find anything helpful. Basically this is what I get:> > > > > > > > > > > > > > > > > > > > > > *root@search:~# puppet agent -tWarning: Unable to fetch my node > definition, but the agent run will continue:Warning: Error 400 on SERVER: > Error 406 while communicating with puppet.openstacklocal on port 443:Info: > Retrieving pluginInfo: Loading facts in > /var/opt/lib/pe-puppet/lib/facter/platform_tag.rbInfo: Loading facts in > /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rbInfo: Loading > facts in > /var/opt/lib/pe-puppet/lib/facter/pe_puppetdb_server_status.rbInfo: Loading > facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rbInfo: Loading > facts in /var/opt/lib/pe-puppet/lib/facter/staging_http_get.rbInfo: Loading > facts in > /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rbInfo: > Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rbInfo: > Loading facts in > /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rbInfo: Loading facts > in /var/opt/lib/pe-puppet/lib/facter/windows.rbInfo: Loading facts in > /var/opt/lib/pe-puppet/lib/facter/root_home.rbInfo: Loading facts in > /var/opt/lib/pe-puppet/lib/facter/pe_version.rbInfo: Loading facts in > /var/opt/lib/pe-puppet/lib/facter/pe_postgres_default_version.rbInfo: > Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rbInfo: > Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_build.rbInfo: Loading > facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rbInfo: Loading > facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rbError: Could > not retrieve catalog from remote server: Error 400 on SERVER: Failed when > searching for node search.openstacklocal: Error 406 while communicating > with puppet.openstacklocal on port 443:Warning: Not using cache on failed > catalogError: Could not retrieve catalog; skipping run*I can get to port 443 on the master fine from the node: root@search:~# telnet puppet.openstacklocal 443> Trying x.x.x.x... > Connected to puppet.lan. > Escape character is '^]'. > ^] > telnet> quit > Connection closed.The node shows up on the dashboard however the catalog is empty. I also cannot execute any manifests from the master on it. I already tried several times to remove puppet from the node and reinstall from scratch, same thing with the master but I always get the same error. Any ideas? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0f62ceac-3787-481e-ae2b-92f8b6d43a1f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.