Bug #18051
closeddiscovery fails when chef plugin is enabled.
Description
16:31 < Raboo> [foreman-tasks/action] [E] ERF12-7679 [ForemanChef::ProxyException]: Unable to communicate with Chef proxy, undefined method `chef_proxy' for #<Host::Discovered:0x0000000db68200>
(ForemanChef::ProxyException)
16:38 < mhulan> Raboo: can you upload the whole trace from production.log?
16:38 < mhulan> Raboo: I wonder what exactly tries to call chef_proxy method on discovered host
16:45 < mhulan> Raboo: oh, ok it's a bug in foreman_chef, we should not extend tha Host::Base, could you please open the bug at http://projects.theforeman.org/projects/chef/issues with link to
https://github.com/theforeman/foreman_chef/blob/master/lib/foreman_chef/engine.rb#L90 (this line must be changed)
Files
Updated by Elias Abacioglu almost 8 years ago
- File production.log.txt production.log.txt added
uploading production.log
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman_chef/pull/62 added
Updated by Marek Hulán almost 8 years ago
Thanks for the report, would you mind applying the patch and verify whether it works for you? After applying, foreman must be restart (touch ~foreman/tmp/restart.txt)
Updated by Dominic Cleal almost 8 years ago
- Translation missing: en.field_release deleted (
189)
Updated by Marek Hulán almost 8 years ago
- Translation missing: en.field_release set to 158
Updated by Marek Hulán almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_chef|48bb5848726a6b6427317df8fe6a78f1da34bdf0.