Project

General

Profile

Bug #15025

Warning on startup: Couldn't find settings file config/settings.d/foreman_proxy.yml

Added by Dominic Cleal about 5 years ago. Updated about 3 years ago.

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

Description

A warning has appeared since the merge of #14618 that was previously squashed in #9974.

Prior to #14618, develop logged this on startup:

W, [2016-05-12T16:12:13.965224 #12407]  WARN -- : Couldn't find settings file /home/dcleal/code/foreman/smart-proxy/config/settings.d/realm.yml. Using default settings.
I, [2016-05-12T16:12:13.965552 #12407]  INFO -- : 'foreman_proxy' settings were initialized with default values: :enabled: true
I, [2016-05-12T16:12:13.965766 #12407]  INFO -- : Finished initialization of module 'foreman_proxy'

Now it logs the extra nonsense warning:

W, [2016-05-12T16:13:19.900129 #12615]  WARN -- : Couldn't find settings file /home/dcleal/code/foreman/smart-proxy/config/settings.d/realm.yml. Using default settings.
W, [2016-05-12T16:13:19.900527 #12615]  WARN -- : Couldn't find settings file /home/dcleal/code/foreman/smart-proxy/config/settings.d/foreman_proxy.yml. Using default settings.
D, [2016-05-12T16:13:19.900722 #12615] DEBUG -- : 'foreman_proxy' settings: 'enabled': true


Related issues

Related to Smart Proxy - Refactor #14618: Refactor plugin initialization and loadingClosed2016-04-13
Related to Smart Proxy - Bug #9974: Attempts to open settings.d/foreman_proxy.ymlClosed2015-03-31
Related to Foreman Remote Execution - Bug #15606: smart_proxy_dynflow doesn't work with smart-proxy 1.12+Closed2016-07-07

Associated revisions

Revision 18a62b71 (diff)
Added by Dmitri Dolguikh about 5 years ago

Fixes #15025 - do not show foreman_proxy startup messages.

History

#1 Updated by Dominic Cleal about 5 years ago

  • Related to Refactor #14618: Refactor plugin initialization and loading added

#2 Updated by Dominic Cleal about 5 years ago

  • Related to Bug #9974: Attempts to open settings.d/foreman_proxy.yml added

#3 Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dmitri Dolguikh
  • Pull request https://github.com/theforeman/smart-proxy/pull/420 added

#4 Updated by Anonymous about 5 years ago

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

#5 Updated by Ivan Necas about 5 years ago

  • Related to Bug #15606: smart_proxy_dynflow doesn't work with smart-proxy 1.12+ added

Also available in: Atom PDF