Project

General

Profile

Actions

Bug #31508

closed

hammer task resume has broken.

Added by Adam Ruzicka over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman plugin
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

Description of problem:
  1. 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.

https://github.com/theforeman/foreman-tasks/pull/516/files#diff-d5548a710d9ec9031997c62d4520fe761970aaa226d123b05af0a9949ab2e4dfL96

Actions #1

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
Actions #2

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases foreman-tasks-3.0.3 added
Actions #3

Updated by Adam Ruzicka over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Adam Ruzicka over 3 years ago

  • Fixed in Releases foreman-tasks-4.0.0 added
Actions

Also available in: Atom PDF