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

foreman-maintain upgrade runs same check multiples times

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • None

      Description of problem:

      Running foreman-maintain upgrade check --target-version x.y.z will trigger the internal execution of the same verification multiple times even if nothing that would change the results was executed between the runs.

      How reproducible: 

      Always

      Is this issue a regression from an earlier version:

      no

      Steps to Reproduce:

      1. Run an upgrade check an observe how many times the task "Checking repositories enabled on the system" is executed

       

      Actual behavior:

      Tasks "Checking repositories enabled on the system" and "Checking for presence of upstream repositories" do exactly the same thing. Adding those two tasks, we do have 3 executions of "dnf repolist enabled -d 6 -e 0" which will bring the same results.

      Expected behavior:
      Ideally, it would be executed once and the information cached.

      Business Impact / Additional info:

       

            Unassigned Unassigned
            rhn-support-jpasqual Joniel Pasqualetto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: