Bug 1281736
| Summary: | CLI is flooding server log by errors | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Ondra Machacek <omachace> |
| Component: | RestAPI | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED WONTFIX | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.0.2 | CC: | bugs, oourfali |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | sbonazzo:
ovirt-4.1-
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-04 05:57:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ondra Machacek
2015-11-13 10:48:49 UTC
This is an engine issue, not CLI. Whatever is the order of the requests sent by the CLI the engine should react correctly. I think that this shouldn't block verification bug 1241117, as the only effect is extract information in the log of the engine. Currently when we receive an identifier from the caller we try to convert it to an UUID, calling the "asGuidOr404" method. If the conversion fails then we throw a "WebApplicationException" that is captured by the server (by Resteasy) and converted into a 404 HTTP error response. We do this in many places. In addition Resteasy also sends a message to the log. This behavior can be changed throwing a "NoLogWebApplicationException" instead, but this is Resteasy specific and we don't want to re-introduce dependencies on Resteasy specific things. As the effect isn't a serious problem, just additional information in server.log, I think we should postpone this to at least 4.0. I don't think this should be prioritized, and as we're deprecating the CLI I suggest to close as wontfix. |