Dominic Cleal wrote:
Do you have DEBUG level logs from the smart proxy? It'd be useful to see precisely what it's logging about the settings set.
cat proxy.log
I, [2016-05-31T13:41:17.382929 #30819] INFO -- : 'discovery' settings were initialized with default values: :node_port: 8443, :node_scheme: https
I, [2016-05-31T13:41:17.386399 #30819] INFO -- : Finished initialization of module 'discovery'
I, [2016-05-31T13:41:17.386633 #30819] INFO -- : 'foreman_proxy' settings were initialized with default values: :enabled: true
I, [2016-05-31T13:41:17.390027 #30819] INFO -- : Finished initialization of module 'foreman_proxy'
I, [2016-05-31T13:41:17.390715 #30819] INFO -- : 'dns_nsupdate' settings were initialized with default values: :enabled: false
I, [2016-05-31T13:41:17.397689 #30819] INFO -- : Finished initialization of module 'dns_nsupdate'
I, [2016-05-31T13:41:17.400295 #30819] INFO -- : Finished initialization of module 'dns'
I, [2016-05-31T13:41:17.402767 #30819] INFO -- : Finished initialization of module 'templates'
I, [2016-05-31T13:41:17.405031 #30819] INFO -- : Finished initialization of module 'tftp'
I, [2016-05-31T13:41:17.405638 #30819] INFO -- : 'dhcp_isc' settings were initialized with default values: :enabled: false
I, [2016-05-31T13:41:17.414037 #30819] INFO -- : Finished initialization of module 'dhcp_isc'
I, [2016-05-31T13:41:17.414259 #30819] INFO -- : 'dhcp' settings were initialized with default values: :subnets:
E, [2016-05-31T13:41:17.414459 #30819] ERROR -- : Couldn't enable plugin dhcp: Parameter 'subnets' is expected to have a non-empty value
D, [2016-05-31T13:41:17.414507 #30819] DEBUG -- : ["/usr/share/foreman-proxy/lib/proxy/plugin_validators.rb:27:in `validate!'", "/usr/share/foreman-proxy/lib/proxy/pluggable.rb:43:in `execute_validators'", "/usr/share/foreman-proxy/lib/proxy/pluggable.rb:43:in `each'", "/usr/share/foreman-proxy/lib/proxy/pluggable.rb:43:in `execute_validators'", "/usr/share/foreman-proxy/lib/proxy/pluggable.rb:38:in `validate!'", "/usr/share/foreman-proxy/lib/proxy/plugin.rb:132:in `validate!'", "/usr/share/foreman-proxy/lib/proxy/plugin.rb:150:in `configure_plugin'", "/usr/share/foreman-proxy/lib/proxy/plugin_initializer.rb:31:in `configure_plugins'", "/usr/share/foreman-proxy/lib/proxy/plugin_initializer.rb:29:in `each'", "/usr/share/foreman-proxy/lib/proxy/plugin_initializer.rb:29:in `configure_plugins'", "/usr/share/foreman-proxy/lib/proxy/plugin_initializer.rb:5:in `initialize_plugins'", "/usr/share/foreman-proxy/lib/launcher.rb:114:in `configure_plugins'", "/usr/share/foreman-proxy/lib/launcher.rb:124:in `launch'", "/usr/share/foreman-proxy/bin/smart-proxy:6"]
D, [2016-05-31T13:41:17.416828 #30819] DEBUG -- : Log buffer API initialized, available capacity: 2000/1000
I, [2016-05-31T13:41:17.416942 #30819] INFO -- : Finished initialization of module 'logs'
I, [2016-05-31T13:41:17.549088 #30821] INFO -- : WEBrick 1.3.1
I, [2016-05-31T13:41:17.549694 #30821] INFO -- : WEBrick 1.3.1
I, [2016-05-31T13:41:17.550189 #30821] INFO -- : ruby 1.8.7 (2013-06-27) [x86_64-linux]
I, [2016-05-31T13:41:17.550389 #30821] INFO -- : ruby 1.8.7 (2013-06-27) [x86_64-linux]
D, [2016-05-31T13:41:17.554123 #30821] DEBUG -- : TCPServer.new(0.0.0.0, 8443)
D, [2016-05-31T13:41:17.555387 #30821] DEBUG -- : TCPServer.new(0.0.0.0, 8080)
D, [2016-05-31T13:41:17.555750 #30821] DEBUG -- : TCPServer.new(::, 8443)
D, [2016-05-31T13:41:17.555875 #30821] DEBUG -- : TCPServer.new(::, 8080)
W, [2016-05-31T13:41:17.556146 #30821] WARN -- : TCPServer Error: Address already in use - bind(2)
W, [2016-05-31T13:41:17.556300 #30821] WARN -- : TCPServer Error: Address already in use - bind(2)
I, [2016-05-31T13:41:17.557972 #30821] INFO -- :
Certificate:
<removed>
D, [2016-05-31T13:41:17.560786 #30821] DEBUG -- : Rack::Handler::WEBrick is mounted on /.
D, [2016-05-31T13:41:17.561279 #30821] DEBUG -- : Rack::Handler::WEBrick is mounted on /.
I, [2016-05-31T13:41:17.561548 #30821] INFO -- : WEBrick::HTTPServer#start: pid=30821 port=8080
I, [2016-05-31T13:41:17.561677 #30821] INFO -- : WEBrick::HTTPServer#start: pid=30821 port=8443