Description of problem:
# hammer task resume command is not resuming all paused tasks as before.
[root@satellite ~]# hammer task --help
hammer task [OPTIONS] SUBCOMMAND [ARG] ...
[ARG] ... Subcommand arguments
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):
[root@satellite ~]# hammer task resume
400 Bad Request
Please provide at least one of search or task_ids parameters in the request
Try to resume all the paused tasks without the need of providing task_ids as before.
This issue seems to happen due to removal of scope search in below commit.
Until this gets gixed, the workaround is to run hammer task resume --search ""
- Satellite 6.9.0 snap 13
- Publish a content view and cancel the task to create a paused task.
- Run "hammer task resume"
- Task resumed and completed successfully.
hammer> task resume
Total tasks found paused in error state: 1
Total tasks resumed: 1
1) Task identifier: 9bab2b65-7a32-479f-be26-e5b31611d7c0
Task action: Publish
Task errors: Task canceled, Task canceled, Task canceled, Task canceled, Task canceled, Task canceled
Total tasks failed to resume: 0
Total tasks skipped: 0
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 (Moderate: Satellite 6.9 Release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.