Actions
Support #14011
closedFailed to list puppet environments: Failed to query Puppet find environments API (404): Not Found: Could not find environment 'puppet'
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Puppet
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:
Description
I'm getting the following warning in the foreman log:
2016-03-02T14:58:06 [app] [W] ProxyAPI operation FAILED | ProxyAPI::ProxyException: ERF12-2749 [ProxyAPI::ProxyException]: Unable to get environments from Puppet ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy http://localhost:8000/puppet ...
The warning pointed me to http://projects.theforeman.org/projects/foreman/wiki/ERF12-2749. The information there suggested to take a look at the smart-proxy log which contains the following:
E, [2016-03-02T14:58:05.945352 #12423] ERROR -- : Failed to list puppet environments: Failed to query Puppet find environments API (404): Not Found: Could not find environment 'puppet'Additional information:
- I installed from git sources using bundler.
- puppet version is 3.8.4
- I noticed during smart-proxy installation that bundler installed puppet version 4.3.2
Actions