Bug 595512
| Summary: | bkr job-cancel NNN: fails with "exceptions.ValueError:need more than 1 value to unpack" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Ed Santiago <santiago> | ||||
| Component: | command line | Assignee: | Dan Callaghan <dcallagh> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 0.8 | CC: | bpeck, dcallagh, imatusov, kbaker, mcsontos, mgregg, rmancy | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-07-20 00:38:51 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Ed Santiago
2010-05-24 20:41:25 UTC
Comment on attachment 416222 [details]
bkr-submit.xml
Eek. Changed "Description" field to just the filename. I misunderstood that field.
Again, please treat this XML with suspicion. It's something created by me, without a full understanding of beaker requirements.
Job should be specified in J:NNN form. bkr job-cancel can also cancel particular RecipeSets (RS:NNN) and recipes (R:NNN) However it looks sensible making J: the default... Bill? (In reply to comment #2) > Job should be specified in J:NNN form. Ah. That wasn't clear from the help message. Whether or not J:nnn is made the default, would it make sense to fix the error message to something more user-friendly? bkr: invalid taskspec '924'; for help, type bkr job-cancel --help (updating the job-cancel help message as well) User Guide also states it needs to be J:NNN, but yeah, kind of seems redundant. We can make the error message here a bit more helpful. Patch pushed to Gerrit for review. http://gerrit.beaker-project.org/919 Deferring to 0.9.1 Patch updated on Gerrit. [raymond@rmancy sub]$ bkr job-cancel 16500 Usage: bkr job-cancel [options] <taskspec>... bkr: error: Invalid taskspec '16500': see "Specifying tasks" in bkr(1) Beaker 0.9.1 has been released. *** Bug 643882 has been marked as a duplicate of this bug. *** *** Bug 867561 has been marked as a duplicate of this bug. *** |