On 10/08/16 15:11, Michael Hurn wrote: > After upgrading from Foreman 1.11.1 & Puppet 3.8.3. > > When I try to import classes I get an error popup: > > > Error: ERF12-2749 [ProxyAPI::ProxyException]: Unable to get environments > from Puppet ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy > https://vm-puppet.test.local:8443/puppet____ > > when hitting the Import from PuppetProxy button on the > page: https://vm-puppet.test.local/puppetclasses____ > > __ > > In the /var/log/foreman-proxy/proxy.log I get: > > D, [2016-08-10T13:26:10.898951 #15759] DEBUG -- : accept: 7.28.47.204:35287 > > D, [2016-08-10T13:26:10.910504 #15759] DEBUG -- : Rack::Handler::WEBrick > is invoked. > > E, [2016-08-10T13:26:11.054200 #15759] ERROR -- : Failed to list puppet > environments: Failed to query Puppet find environments v3 API: 404 Not > Found: Could not find environment 'puppet'
Using Puppet 3.8, the smart proxy shouldn't be using the v3 API, it should on v2. Check the value of :puppet_version in /etc/foreman-proxy/settings.d/puppet.yml matches your Puppet master version. Logs from the smart proxy startup should also show what value the puppet_version is configured to. -- Dominic Cleal [email protected] -- 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.
