Bug #31508
closedhammer task resume has broken.
Description
- hammer task resume command is not resuming all paused tasks as before.
~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@satellite ~]# hammer task --help
Usage:
hammer task [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info Show task details
list List tasks
progress Show the progress of the task
resume Resume all tasks paused in error state <<=======
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Currently command is raising the error - "Please provide at least one of search or task_ids parameters in the request".
Version-Release number of selected component (if applicable):
Satellite 6.9
Actual results:
[root@satellite ~]# hammer task resume
400 Bad Request
Please provide at least one of search or task_ids parameters in the request
Expected results:
Try to resume all the paused tasks without the need of providing task_ids as before.
Additional info:
This issue seems to happen due to removal of scope search in below commit.
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/599 added
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases foreman-tasks-3.0.3 added
Updated by Adam Ruzicka over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 083f5114c230803231b627aa12c5c8ff817a4bfe.
Updated by Adam Ruzicka over 3 years ago
- Fixed in Releases foreman-tasks-4.0.0 added