Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-23000

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

XMLWordPrintable

    • Sprint 129, Sprint 130, Sprint 131, Sprint 132, Sprint 133, Sprint 134, Sprint 135
    • Moderate
    • No

      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

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-engineering-jlenz Jeremy Lenz
              Shubham Ganar Shubham Ganar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: