Project

General

Profile

Actions

Bug #19721

closed

Discovery plugin is not seeded in Katello 3.4

Added by Lukas Zapletal almost 7 years ago. Updated over 6 years ago.

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

Description

I enabled discovery plugin in the installer of K3.4:

foreman-installer -v --scenario katello \
--enable-foreman-plugin-discovery

The plugin was working but for some reason installer did not run seed script and database was not seeded with kexec template.

Symptoms: Visit Templates, search for "kexec" there should be two templates found, seeded via:

/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-9.0.0/db/seeds.d/50_discovery_templates.rb

Actions #1

Updated by Justin Sherrill almost 7 years ago

  • Status changed from New to Need more information
  • translation missing: en.field_release changed from 211 to 228

I'm not sure what katello has to do with this exactly, the katello scenario just uses the normal foreman puppet modules for plugins. Are you able to reproduce with standalone foreman?

Also did you install the discovery plugin at initial install time or after the fact?

Actions #2

Updated by Eric Helms almost 7 years ago

  • Project changed from Katello to Installer
  • Category deleted (Installer)
  • translation missing: en.field_release deleted (228)
Actions #3

Updated by Ewoud Kohl van Wijngaarden over 6 years ago

Does that mean you need to run a rake db:seed after installing the discovery plugin? Currently we rely on plugins do to this in a RPM post hook but there was some discussion about revisiting this.

Actions #4

Updated by Lukas Zapletal over 6 years ago

  • Status changed from Need more information to Closed

I thought it was a known issue. Unable to reproduce so far.

Actions

Also available in: Atom PDF