Description of problem: Including a usage example for bkr job-cancel and bkr job-delete would be very helpful. When running job cancel and job delete, the job ID needs to be specified with "J:" before the job ID. This is not clear from the help section. There is a example in the man page for both commands, but a example in the cli help would be nice. Version-Release number of selected component (if applicable): 0.8.1-6 How reproducible: always Steps to Reproduce: 1. bkr job-cancel <number> (ie bkr-job-cancel 33471) Actual results: bkr job-cancel 33471 XML-RPC fault: <type 'exceptions.ValueError'>:need more than 1 value to unpack Expected results: bkr job-cancel 33471 XML-RPC fault: <type 'exceptions.ValueError'>:need more than 1 value to unpack Did you specify the job ID properly? Example J:1234
Michael, this has been addressed quite a while ago. Your client version if very old, please upgrade to the latest version. $ bkr job-cancel 1234 Usage: bkr job-cancel [options] <taskspec>... bkr: error: Invalid taskspec '1234': see "Specifying tasks" in bkr(1) *** This bug has been marked as a duplicate of bug 595512 ***
job-cancel fails if you specify R:<number>. Either the help should be updated to specify that only J:<number> and RS:<number> are valid or the command should can the recipeSet when R:<number> is specified.
(In reply to Bill Peck from comment #4) > job-cancel fails if you specify R:<number>. Either the help should be > updated to specify that only J:<number> and RS:<number> are valid or the > command should can the recipeSet when R:<number> is specified. ^^ cancel
http://gerrit.beaker-project.org/3333 $ bkr job-cancel R:123 Usage: bkr job-cancel [options] [J:<id> | RS:<id> ...] bkr: error: Taskspec type must be one of [J, RS, T] T is in there because we allow cancelling individual recipe-tasks (bug 1124756) even though it's not documented...
Beaker 0.18.2 has been released.