Actions
Bug #19978
closedChef Plugin: [foreman-tasks/action] [E] ERF12-0944 [ForemanChef::ProxyException]: Unable to communicate with Chef proxy, 500 Internal Server Error (ForemanChef::ProxyException)
Description
While creating a host in Foreman and setting the CHEF proxy field, I run into the following issue error:
[foreman-tasks/action] [E] ERF12-0944 [ForemanChef::ProxyException]: Unable to communicate with Chef proxy, 500 Internal Server Error (ForemanChef::ProxyException)
- cat /etc/foreman-proxy/settings.d/chef.yml
---
:enabled: true
:chef_authenticate_nodes: true
:chef_server_url: https://<ip>/organizations/set - smart-proxy client node needs to have some admin right on chef-server
- in order to retrive all nodes public keys
- e.g. 'host.example.net'
:chef_smartproxy_clientname: <name> - e.g. /etc/chef/client.pem
:chef_smartproxy_privatekey: /etc/chef/<name>.pem
- turning of chef_ssl_verify is not recommended as it turn off authentication
- you can try set path to chef server certificate by chef_ssl_pem_file
- before setting chef_ssl_verify to false
- note that chef_ssl_pem_file must contain both private key and certificate
- because chef-api 0.5 requires it
:chef_ssl_verify: false - :chef_ssl_pem_file: /path
http://debugs.theforeman.org/foreman-debug-PSsPy.tar.xz
Also, please note, when enabling the Foreman Plugin, I run into the following issue: [Foreman - Bug #19660 ]
Actions