406 Not acceptable when I click 'Import Puppet classess'
406 Not Acceptable
#2 Updated by Edson Manners about 6 years ago
Ah... I was stuck thinking that itt had something to do with the Apache server. Here are the two applicable lines from the proxy log:
[root@foreman individualhosts]# tail
f /var/log/foreman-proxy/proxy.log : Initializing from Puppet config file: /etc/puppet/puppet.conf
I, [2014-05-19T09:57:58.433096 #25830] INFO -
E, [2014-05-19T09:57:58.509187 #25830] ERROR -- : Failed to list puppet environments: undefined method `' for nil:NilClass
#3 Updated by Dominic Cleal about 6 years ago
This looks like #4658, an incompatibility between old proxy versions and Puppet 3.5. Please check you have a compatible version installed: http://theforeman.org/manuals/1.5/index.html#3.1.2PuppetCompatibility
It's OK to upgrade the proxy to 1.4 or 1.5 without updating Foreman itself, they're still compatible.