Project

General

Profile

Bug #13600

Templates module not marked as failed when foreman_url is missing

Added by Ohad Levy over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

in the logs (now in the nice shiny UI) I can see:

missing :foreman_url: from configurations. 'templates' module is disabled

Yet, I see the feature as active in the list of features.

steps to reproduce are simple - comment out the foreman URL from the proxy configuration.


Related issues

Related to Foreman - Feature #12718: As a user I would like to receive proxy log data: proxy initialization, proxy loading errors, plugin initialization, plugin initialization errorsClosed2015-12-07
Related to Smart Proxy - Bug #13028: foreman-proxy has error "Couldn't enable plugin dhcp_isc" on every restartClosed2016-01-06

History

#1 Updated by Ohad Levy over 4 years ago

  • Related to Feature #12718: As a user I would like to receive proxy log data: proxy initialization, proxy loading errors, plugin initialization, plugin initialization errors added

#2 Updated by Dominic Cleal over 4 years ago

  • Category set to Smart Proxy

Please set categories when filing tickets.

Is the smart proxy reporting the feature as active?

#3 Updated by Ohad Levy over 4 years ago

it does, and it does not list it under failed features.

#4 Updated by Dominic Cleal over 4 years ago

  • Project changed from Foreman to Smart Proxy
  • Subject changed from smart proxy active feature count is wrong when templates feature is disabled to Templates module not marked as failed when foreman_url is missing
  • Category changed from Smart Proxy to Templates

#5 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #13028: foreman-proxy has error "Couldn't enable plugin dhcp_isc" on every restart added

#6 Updated by Dominic Cleal over 4 years ago

#13028 contains a fix for this issue, as it now raises an exception from the templates module when the setting is missing, which both disables the module and logs that it's disabled. The current impl on develop calls the disable API from within the module itself, forgoing the logging.

#7 Updated by Dominic Cleal over 4 years ago

  • Status changed from New to Closed
  • Assignee set to Dmitri Dolguikh
  • Legacy Backlogs Release (now unused) set to 71

Also available in: Atom PDF