Bug #5677
closedDelete Host Failing
Description
Since update to 1.5.0-1, deleting host fails for all users (admin included). Here is the log from the web interface:
Here is the log from the production.log:
Delete PuppetCA certificates for test111.mydomain.com task failed with the following error: ERF12-7740 [ProxyAPI::ProxyException]: Unable to delete PuppetCA certificate for test111.mydomain.com ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy https://puppet.mydomain.com:8443/puppet/ca
W, [2014-05-12T09:47:16.233631 #28152] WARN -- : Failed to run puppetca: Error: Could not set 'directory' on ensure: Permission denied - /usr/share/foreman-proxy/.puppet
Error: Could not set 'directory' on ensure: Permission denied - /usr/share/foreman-proxy/.puppet
Wrapped exception:
Permission denied - /usr/share/foreman-proxy/.puppet
Error: /File[/usr/share/foreman-proxy/.puppet]/ensure: change from absent to directory failed: Could not set 'directory' on ensure: Permission denied - /usr/share/foreman-proxy/.puppet
Notice: /File[/usr/share/foreman-proxy/.puppet/var]: Dependency File[/usr/share/foreman-proxy/.puppet] has failures: true
Warning: /File[/usr/share/foreman-proxy/.puppet/var]: Skipping because of failed dependencies
Notice: /File[/usr/share/foreman-proxy/.puppet/var/log]: Dependency File[/usr/share/foreman-proxy/.puppet] has failures: true
Warning: /File[/usr/share/foreman-proxy/.puppet/var/log]: Skipping because of failed dependencies
Notice: /File[/usr/share/foreman-proxy/.puppet/var/lib]: Dependency File[/usr/share/foreman-proxy/.puppet] has failures: true
Warning: /File[/usr/share/foreman-proxy/.puppet/var/lib]: Skipping because of failed dependencies
Notice: /File[/usr/share/foreman-proxy/.puppet/var/state]: Dependency File[/usr/share/foreman-proxy/.puppet] has failures: true
Warning: /File[/usr/share/foreman-proxy/.puppet/var/state]: Skipping because of failed dependencies
Notice: /File[/usr/share/foreman-proxy/.puppet/var/facts.d]: Dependency File[/usr/share/foreman-proxy/.puppet] has failures: true
Warning: /File[/usr/share/foreman-proxy/.puppet/var/facts.d]: Skipping because of failed dependencies
Notice: /File[/usr/share/foreman-proxy/.puppet/var/run]: Dependency File[/usr/share/foreman-proxy/.puppet] has failures: true
Warning: /File[/usr/share/foreman-proxy/.puppet/var/run]: Skipping because of failed dependencies
Error: Got 1 failure(s) while initializing: File[/usr/share/foreman-proxy/.puppet]: change from absent to directory failed: Could not set 'directory' on ensure: Permission denied - /usr/share/foreman-proxy/.puppet
E, [2014-05-12T09:47:16.233999 #28152] ERROR -- : Failed to remove certificate(s) for testzzz.mydomain.com: Execution of puppetca failed, check log files