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

Generate all reports fails "wrong number of arguments (given 2, expected 3)"

XMLWordPrintable

    • Sprint 134, Sprint 135, Sprint 136, Sprint 137, Sprint 138, Sprint 139, Sprint 140, Sprint 141
    • Important
    • Yes

      Description of problem:
      Generate all reports job Satellite Task is failing out with the following error.
      wrong number of arguments (given 2, expected 3)

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

      How reproducible:
      Always

      Steps to Reproduce:
      Default Satellite installation creates a Recurring Logic named "Wait and Generate all reports job". It's execution always fails.

      Additional info:

      From file /usr/share/gems/gems/foreman_rh_cloud-9.0.55/lib/foreman_inventory_upload/async/generate_all_reports_job.rb

      • contains a wrong function call on:
        [line 23] plan_generate_report(ForemanInventoryUpload.generated_reports_folder, organization)
      • function definition is as follows:
        [line 35] plan_generate_report(folder, organization, disconnected).

      *Attached suggested pach*

            chiggins@redhat.com Cole Higgins
            jira-bugzilla-migration RH Bugzilla Integration
            Cole Higgins Cole Higgins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: