Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-23000 {Job|report|provisioning} templates from plugins not updated in database after upgrade
  3. SAT-23496

[DEV] {Job|report|provisioning} templates from plugins not updated in database after upgrade

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • Reporting
    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Phoenix
    • Sprint 129, Sprint 130, Sprint 131, Sprint 132, Sprint 133, Sprint 134, Sprint 135

      Description of problem:

      The "Convert2RHEL analyze" was added in Satellite 6.14.1. However, when upgrading from 6.14.0 > 6.14.1, the job template does not show in the web UI.

      This is because Foreman only re-seeds the database when seed files have changed, but does not check template files.

      Version-Release number of selected component (if applicable):

      Satellite 6.14.0 > 6.14.1

      How reproducible: always

      Steps to Reproduce:
      1. Upgrade to 6.14.1 from 6.14.0
      2. Note that the following file is present: /usr/share/gems/gems/foreman_remote_execution-10.1.2/app/views/templates/script/convert2rhel_analyze.erb

      Actual results:

      Even though that file is present on the system, the "Convert2RHEL Analyze" job template does not show up in the web UI in the job wizard, or in Job Templates.

      Expected results:

      The "Convert2RHEL Analyze" job template (and any other new or changed templates) is present in the database and web UI

      Additional info:

      This bug applies to any template type (report, job, provisioning) and happens if none of the seed files change since the last upgrade

      DEV Tracker for https://issues.redhat.com/browse/SAT-23000
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2262120

            Unassigned Unassigned
            satellite-focaccia-bot Focaccia Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: