We currently need to run this snippet via SSH, can we have this function added to the REST API please run_rails_command('Service.queue_chargeback_reports')
https://github.com/ManageIQ/manageiq-api/pull/301
New commit detected on ManageIQ/manageiq-api/master: https://github.com/ManageIQ/manageiq-api/commit/4d4f92a0858e00d7e9f0cc150e769ff77bd4b69e commit 4d4f92a0858e00d7e9f0cc150e769ff77bd4b69e Author: Jillian Tullo <jtullo> AuthorDate: Thu Jan 25 14:14:27 2018 -0500 Commit: Jillian Tullo <jtullo> CommitDate: Thu Jan 25 14:14:27 2018 -0500 Allow queueing of chargeback reports for individual services or all services Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1530952 app/controllers/api/services_controller.rb | 8 + config/api.yml | 4 + spec/requests/services_spec.rb | 44 +- 3 files changed, 54 insertions(+), 2 deletions(-)
https://github.com/ManageIQ/manageiq-api/pull/480
New commit detected on ManageIQ/manageiq-api/master: https://github.com/ManageIQ/manageiq-api/commit/8d6a86257656d7cf7c0e3c669cf768927f1faa52 commit 8d6a86257656d7cf7c0e3c669cf768927f1faa52 Author: Gregg Tanzillo <gtanzill> AuthorDate: Tue Sep 25 17:39:41 2018 -0400 Commit: Gregg Tanzillo <gtanzill> CommitDate: Tue Sep 25 17:39:41 2018 -0400 Pass `User#userid` instead of `User#id` to queue chargeback report The method expects the user's login and not the integer id https://bugzilla.redhat.com/show_bug.cgi?id=1530952 app/controllers/api/services_controller.rb | 2 +- spec/requests/services_spec.rb | 11 + 2 files changed, 12 insertions(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq-api/hammer: https://github.com/ManageIQ/manageiq-api/commit/2098e69f26485286511f5ae80283a8fe04bf3d88 commit 2098e69f26485286511f5ae80283a8fe04bf3d88 Author: Brandon Dunne <brandondunne> AuthorDate: Wed Sep 26 15:56:49 2018 -0400 Commit: Brandon Dunne <brandondunne> CommitDate: Wed Sep 26 15:56:49 2018 -0400 Merge pull request #480 from gtanzillo/fix-queue_chargeback_report_resource Pass `User#userid` instead of `User#id` to queue chargeback report (cherry picked from commit 5722fb80066666f6802dff95fe46d4b32c0c0357) https://bugzilla.redhat.com/show_bug.cgi?id=1530952 app/controllers/api/services_controller.rb | 2 +- spec/requests/services_spec.rb | 11 + 2 files changed, 12 insertions(+), 1 deletion(-)
Marking this as VERIFIED. Verified in 5.10.0.23 I'll report a BZ to address the task issue.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0212