Actions
Bug #15734
closedundefined method `settings' for #<Hash:0x005567cce19bf8>
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
/bin/smart-proxy D, [2016-07-19T13:34:03.651936 #55] DEBUG -- : 'dynflow' settings: 'console_auth': true, 'core_url': http://localhost:8008 (default), 'daemonize': true, 'enabled': true, 'port': 8008 D, [2016-07-19T13:34:03.668874 #55] DEBUG -- : 'ssh' settings: 'enabled': true, 'local_working_dir': /var/tmp (default), 'remote_working_dir': /var/tmp (default), 'ssh_identity_key_file': ~/.ssh/id_rsa_foreman_proxy (default), 'ssh_user': root (default) W, [2016-07-19T13:34:03.685597 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/facts.yml. Using default settings. W, [2016-07-19T13:34:03.685751 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/dns.yml. Using default settings. W, [2016-07-19T13:34:03.685825 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/templates.yml. Using default settings. W, [2016-07-19T13:34:03.685904 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/tftp.yml. Using default settings. W, [2016-07-19T13:34:03.685987 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/dhcp.yml. Using default settings. W, [2016-07-19T13:34:03.686070 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/puppetca.yml. Using default settings. W, [2016-07-19T13:34:03.686163 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/puppet.yml. Using default settings. W, [2016-07-19T13:34:03.686244 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/bmc.yml. Using default settings. W, [2016-07-19T13:34:03.686313 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/realm.yml. Using default settings. W, [2016-07-19T13:34:03.686379 #55] WARN -- : Couldn't find settings file /usr/src/app/config/settings.d/logs.yml. Using default settings. D, [2016-07-19T13:34:03.706121 #55] DEBUG -- : 'logs' settings: 'enabled': true (default) I, [2016-07-19T13:34:03.706877 #55] INFO -- : Successfully initialized 'dynflow' I, [2016-07-19T13:34:03.708790 #55] INFO -- : Successfully initialized 'ssh' I, [2016-07-19T13:34:03.708928 #55] INFO -- : Successfully initialized 'foreman_proxy' D, [2016-07-19T13:34:03.709008 #55] DEBUG -- : Log buffer API initialized, available capacity: 2000/1000 I, [2016-07-19T13:34:03.709044 #55] INFO -- : Successfully initialized 'logs' E, [2016-07-19T13:34:03.715979 #55] ERROR -- : Error during startup, terminating. undefined method `settings' for #<Hash:0x005567cce19bf8> D, [2016-07-19T13:34:03.716076 #55] DEBUG -- : ["/usr/src/app/lib/launcher.rb:21:in `instance_eval'", "/usr/local/share/gems/gems/smart_proxy_dynflow_core-0.1.3/lib/smart_proxy_dynflow_core/settings.rb:76:in `each'", "/usr/local/share/gems/gems/smart_proxy_dynflow_core-0.1.3/lib/smart_proxy_dynflow_core/settings.rb:76:in `load_from_proxy'", "(eval):4:in `block (2 levels) in http_app'", "/usr/src/app/lib/launcher.rb:21:in `instance_eval'", "/usr/src/app/lib/launcher.rb:21:in `block (2 levels) in http_app'", "/usr/src/app/lib/launcher.rb:20:in `each'", "/usr/src/app/lib/launcher.rb:20:in `block in http_app'", "/usr/local/share/gems/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'", "/usr/local/share/gems/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'", "/usr/src/app/lib/launcher.rb:19:in `new'", "/usr/src/app/lib/launcher.rb:19:in `http_app'", "/usr/src/app/lib/launcher.rb:124:in `launch'", "./bin/smart-proxy:6:in `<main>'"] Errors detected on startup, see log for details. Exiting: undefined method `settings' for #<Hash:0x005567cce19bf8>
logs is using debug, and I'm not getting further trace. this happened when I've added the dynflow core gem. removing it makes smart proxy start again.
Updated by Ohad Levy over 8 years ago
- Project changed from Smart Proxy to Foreman Remote Execution
Updated by Anonymous over 8 years ago
- Related to Bug #15606: smart_proxy_dynflow doesn't work with smart-proxy 1.12+ added
Actions