Project

General

Profile

Bug #9974

Attempts to open settings.d/foreman_proxy.yml

Added by Dominic Cleal over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

We are regularly asked about a harmless log message generated by the smart proxy:

Couldn't find settings file /etc/foreman-proxy/settings.d/foreman_proxy.yml. Using default settings.

IIRC this happens as there's an internal module called foreman_proxy, but since there's no config file it logs this message.

Ideally we'd not check for the file and so wouldn't log for it. I'd prefer not to add the file just to prevent confusion with the main settings.yml file.


Related issues

Related to Smart Proxy - Bug #15025: Warning on startup: Couldn't find settings file config/settings.d/foreman_proxy.ymlClosed2016-05-12

Associated revisions

Revision b36a8423 (diff)
Added by Dmitri Dolguikh almost 4 years ago

Fixes #9974: do not attempt to open settings.d/foreman_proxy.yml

'root' module (aka 'foreman_proxy') doesn't have config file and will no longer try to open it on startup.

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/326 added
  • Pull request deleted ()

#2 Updated by Anonymous almost 4 years ago

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

#3 Updated by Dominic Cleal almost 4 years ago

  • Assignee set to Dmitri Dolguikh
  • Legacy Backlogs Release (now unused) set to 63

#4 Updated by Dominic Cleal over 3 years ago

  • Related to Bug #15025: Warning on startup: Couldn't find settings file config/settings.d/foreman_proxy.yml added

Also available in: Atom PDF