Bug 653317
| Summary: | Confusing watchdog-extend exception | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Vojtech Juranek <vjuranek> |
| Component: | command line | Assignee: | matt jia <mjia> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.7 | CC: | bpeck, dcallagh, dowang, ebaak, jingwang, mcsontos, mjia, tools-bugs |
| Target Milestone: | 21.0 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | CommandLineEnhancement | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-26 06:17:09 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: | |||
| Bug Depends On: | 1103582 | ||
| Bug Blocks: | |||
|
Description
Vojtech Juranek
2010-11-15 09:30:25 UTC
Bulk reassignment of issues as Bill has moved to another team. reproduced on beaker-devel Version - 0.13.2 steps: #bkr watchdog-extend 789(job ID) XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:'No watchdog exists for recipe 311' For consistency with all the other client commands, bkr watchdog-extend would ideally accept a "taskspec" style argument giving either a recipe (R:123) or a recipe-task (T:123). That makes things a bit less ambiguous, and lets us giving better a clearer error. We will have to continue accepting unqualified task ID for compatibility as well though. (In reply to Dan Callaghan from comment #5) > and lets us giving better a clearer error. Wow... I will make the error message clearer than that, I promise! Is this fixed by bug 1103582? (In reply to Dan Callaghan from comment #7) > Is this fixed by bug 1103582? Indeed it is. Output is now: $ bkr watchdog-extend 999999999999 HTTP error: 404 Client Error: NOT FOUND 999999999999 is not a valid RecipeTask id Beaker 21.0 has been released. |