Project

General

Profile

Actions

Bug #11098

closed

undefined method `values' for #<Array:..> error on startup on EL6

Added by Dominic Cleal over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Core
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Related issues 1 (0 open1 closed)

Related to Smart Proxy - Feature #7008: Add providers to existing proxy modules from a plugin/moduleClosed08/09/2014Actions
Actions

Also available in: Atom PDF