Project

General

Profile

Actions

Bug #18051

closed

discovery fails when chef plugin is enabled.

Added by Elias Abacioglu over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

production.log.txt production.log.txt 56.8 KB Elias Abacioglu, 01/12/2017 10:51 AM
Actions #1

Updated by Elias Abacioglu over 7 years ago

uploading production.log

Actions #2

Updated by The Foreman Bot over 7 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
Actions #3

Updated by Marek Hulán over 7 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)

Actions #4

Updated by Elias Abacioglu over 7 years ago

Comfirmed working.

Thank you sir!

Actions #5

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release deleted (189)
Actions #6

Updated by Marek Hulán over 7 years ago

  • translation missing: en.field_release set to 158
Actions #7

Updated by Marek Hulán over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF