theforeman / foreman_rh_cloud

a plugin to Foreman that generates and uploads reports to the Red Hat cloud
GNU General Public License v3.0
6 stars 30 forks source link

Scheduled task for uploading report fails #874

Closed knoppi closed 5 months ago

knoppi commented 5 months ago

System:

The regular upload of the insights reports fails with the exception ArgumentError: wrong number of arguments (given 2, expected 3).

grafik

I think this was introduced to #850. The method ForemanInventoryUpload:Async:GenerateAllReportsJob:plan_generate_report obtained a new argument disconnected but the call in line 23 in lib/foreman_inventory_upload/async/generate_all_reports_job.rb still only passes 2 arguments.

chris1984 commented 5 months ago

Fixed in https://github.com/theforeman/foreman_rh_cloud/pull/875

chris1984 commented 5 months ago

Will get a new version of 9.x out with the backported fix