Project

General

Profile

Actions

Bug #33355

closed

No services related command works on a content proxy

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

https://github.com/theforeman/foreman_maintain/commit/7b63ce2dc94151842e4e826e1f91d0a9368ac38c started to access feature(:redis).services

But the Redis feature is constrained to the Server, so when you run "foreman-maintain service status" or "foreman-maintain backup …" on a proxy, it fails:

# foreman-maintain service status
Running Status Services
================================================================================
Get status of applicable services: 

Displaying the following service(s):                                  [FAIL]
undefined method `services' for nil:NilClass
--------------------------------------------------------------------------------
Scenario [Status Services] failed.

The following steps ended up in failing state:

  [service-status]

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

Also available in: Atom PDF