Actions
Bug #11098
closedundefined method `values' for #<Array:..> error on startup on EL6
Description
Our EL6 (Ruby 1.8.7) tests are failing with the following error during smart proxy startup on a default installation, since #7008:
W, [2015-07-13T09:07:36.933505 #8823] WARN -- : Couldn't find settings file /etc/foreman-proxy/settings.d/foreman_proxy.yml. Using default settings. I, [2015-07-13T09:07:36.933627 #8823] INFO -- : 'foreman_proxy' settings were initialized with default values: :enabled: true I, [2015-07-13T09:07:36.936062 #8823] INFO -- : Finished initialization of module 'foreman_proxy' I, [2015-07-13T09:07:36.936175 #8823] INFO -- : 'facts' module is disabled. I, [2015-07-13T09:07:36.936321 #8823] INFO -- : 'dns_nsupdate' settings were initialized with default values: :enabled: false I, [2015-07-13T09:07:36.938919 #8823] INFO -- : 'dns' module is disabled. I, [2015-07-13T09:07:36.939064 #8823] INFO -- : 'templates' module is disabled. I, [2015-07-13T09:07:36.941360 #8823] INFO -- : Finished initialization of module 'tftp' I, [2015-07-13T09:07:36.941510 #8823] INFO -- : 'dhcp' module is disabled. I, [2015-07-13T09:07:37.121047 #8823] INFO -- : Finished initialization of module 'puppetca' I, [2015-07-13T09:07:37.121553 #8823] INFO -- : 'puppet' settings were initialized with default values: :cache_location: /usr/share/foreman-proxy/cache, :puppet_provider: puppetrun, :puppetdir: /etc/puppet, :salt_puppetrun_cmd: puppet.run, :use_cache: true I, [2015-07-13T09:07:37.124232 #8823] INFO -- : Finished initialization of module 'puppet' I, [2015-07-13T09:07:37.124398 #8823] INFO -- : 'bmc' module is disabled. I, [2015-07-13T09:07:37.124594 #8823] INFO -- : 'realm' module is disabled. E, [2015-07-13T09:07:37.124769 #8823] ERROR -- : Unable to access the SSL keys. Are the values correct in settings.yml and do permissions allow reading?: undefined method `values' for #<Array:0x7fbaeeee5bf0> E, [2015-07-13T09:07:37.124807 #8823] ERROR -- : Both http and https are disabled, unable to start.
Updated by Dominic Cleal over 9 years ago
- Related to Feature #7008: Add providers to existing proxy modules from a plugin/module added
Updated by Anonymous over 9 years ago
- Status changed from New to Assigned
- Assignee set to Anonymous
Updated by Dominic Cleal over 9 years ago
/usr/share/foreman-proxy/lib/proxy/plugin.rb:65:in `enabled_plugins': undefined method `values' for #<Array:0x7f6d01b57ca8> (NoMethodError) from /usr/share/foreman-proxy/lib/smart_proxy.rb:108:in `https_app' from /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/builder.rb:46:in `instance_eval' from /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/builder.rb:46:in `initialize' from /usr/share/foreman-proxy/lib/smart_proxy.rb:107:in `new' from /usr/share/foreman-proxy/lib/smart_proxy.rb:107:in `https_app' from /usr/share/foreman-proxy/lib/smart_proxy.rb:135:in `launch' from /usr/share/foreman-proxy/bin/smart-proxy:6
Updated by The Foreman Bot over 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/301 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Translation missing: en.field_release set to 63
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0eb8179014466a48debd8e612d990776e8149e76.
Actions