Project

General

Profile

Bug #8811

Smart proxy does not load settings.d/<setting>.yml

Added by Shlomi Zadok almost 6 years ago. Updated over 2 years ago.

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

Description

Smart proxy does not load (/find) the files under settings.d

W, [2014-12-30T08:32:47.925590 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/foreman_proxy.yml. Using default settings.
W, [2014-12-30T08:32:47.925947 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
W, [2014-12-30T08:32:47.926326 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
W, [2014-12-30T08:32:47.926664 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
W, [2014-12-30T08:32:47.927454 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
W, [2014-12-30T08:32:47.927781 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
W, [2014-12-30T08:32:47.928135 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
W, [2014-12-30T08:32:47.928473 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
W, [2014-12-30T08:32:47.928783 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/.yml. Using default settings.
I, [2014-12-30T08:32:47.928947 #7768]  INFO -- : 'foreman_proxy' settings were initialized with default values: :enabled: true
W, [2014-12-30T08:32:47.931133 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/facts.yml. Using default settings.
I, [2014-12-30T08:32:47.931199 #7768]  INFO -- : 'facts' module is disabled.
I, [2014-12-30T08:32:47.933362 #7768]  INFO -- : 'templates' module is disabled.
I, [2014-12-30T08:32:47.935922 #7768]  INFO -- : 'dhcp' settings were initialized with default values: :dhcp_provider: isc
W, [2014-12-30T08:32:47.938095 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/puppetca.yml. Using default settings.
I, [2014-12-30T08:32:47.938191 #7768]  INFO -- : 'puppetca' module is disabled.
W, [2014-12-30T08:32:47.938252 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/puppet.yml. Using default settings.
I, [2014-12-30T08:32:47.938316 #7768]  INFO -- : 'puppet' module is disabled.
I, [2014-12-30T08:32:47.938364 #7768]  INFO -- : 'bmc' module is disabled.
W, [2014-12-30T08:32:47.938405 #7768]  WARN -- : Couldn't find settings file /home/szadok/dev/repos/smart-proxy/config/settings.d/realm.yml. Using default settings.
I, [2014-12-30T08:32:47.938451 #7768]  INFO -- : 'realm' module is disabled.

Related issues

Has duplicate Foreman - Bug #8806: systest_foreman failingDuplicate2014-12-29

Associated revisions

Revision e2ce2a05 (diff)
Added by Shlomi Zadok almost 6 years ago

fixes #8811 - refactor per-module enabling of http(s) to http(s)_rackup

History

#1 Updated by Shlomi Zadok almost 6 years ago

The main issue is that I have a dhcp.yml with the following config:

---
# Can be true, false, or http/https to enable just one of the protocols
:enabled: true

# valid vendors:
#   - isc
#   - native_ms (Microsoft native implementation)
#   - virsh (simple implementation for libvirt)
:dhcp_vendor: virsh

Yet smart proxy loads with its default config:
'dhcp' settings were initialized with default values: :dhcp_provider: isc

#2 Updated by The Foreman Bot almost 6 years ago

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

#3 Updated by Shlomi Zadok almost 6 years ago

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

#4 Updated by Anonymous almost 6 years ago

  • Has duplicate Bug #8806: systest_foreman failing added

#5 Updated by Dominic Cleal almost 6 years ago

  • Assignee set to Shlomi Zadok
  • Legacy Backlogs Release (now unused) set to 28

Also available in: Atom PDF