Project

General

Profile

Actions

Bug #26798

closed

undefined method `[]' for nil:NilClass when using service list on a proxy

Added by Evgeni Golov over 5 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

on a content proxy, when you call foreman-maintain service list, you get:

# foreman-maintain service list
Running Service List
================================================================================
List applicable services:                                             [FAIL]
undefined method `[]' for nil:NilClass
--------------------------------------------------------------------------------
Scenario [Service List] failed.

The following steps ended up in failing state:

  [service-list]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="service-list" 

I chased this down to definitions/features/candlepin_database.rb, but don't totally understand how that comes into play here.

The bug applies to 0.3.0 and 0.4.1 (which is missing from redmine)


Related issues 1 (0 open1 closed)

Is duplicate of Foreman Maintain - Bug #26302: Upgrade on capsule failed because of empty candlepin.confClosedBernhard SuttnerActions
Actions #1

Updated by Evgeni Golov over 5 years ago

It's the load_configuration that is executed even if the config file is not present…

Actions #2

Updated by Evgeni Golov over 5 years ago

  • Status changed from New to Duplicate
Actions #3

Updated by Evgeni Golov over 5 years ago

  • Is duplicate of Bug #26302: Upgrade on capsule failed because of empty candlepin.conf added
Actions

Also available in: Atom PDF