Bug 1370399
Summary: | The message is no meaningful when delete a nonexistent system via CLI | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Hui Wang <huiwang> |
Component: | command line | Assignee: | Hui Wang <huiwang> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dan Callaghan <dcallagh> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 23 | CC: | dcallagh, mjia, rjoost |
Target Milestone: | 24.0 | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-21 18:50:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Hui Wang
2016-08-26 08:22:35 UTC
tests patch: https://gerrit.beaker-project.org/#/c/5158/ Sorry - my mistake of taken the patch as the fix. (In reply to Roman Joost from comment #2) > Sorry - my mistake of taken the patch as the fix. Hi Roman, I try to fix this issue. So you can assign this bug to me. BR, Sophia Wang fix patch: https://gerrit.beaker-project.org/#/c/5158/ Verified: $ bkr system-delete idonotexist XML-RPC fault: <class 'bkr.server.bexceptions.DatabaseLookupError'>:System idonotexist does not exist We could also consider adding some handling for DatabaseLookupError in xmlrpccontroller.py to make this fault message slightly cleaner -- but it's not a big deal. I would rather just port that bkr command to use the JSON interface instead. Beaker 24.0 has been released. |