| Summary: | Exception for corrupted ovf in export domain, is not sent to engine log. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilanit Stein <istein> |
| Component: | ovirt-engine | Assignee: | Roy Golan <rgolan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, iheim, istein, lpeer, mavital, michal.skrivanek, ofrenkel, rgolan, Rhev-m-bugs, rjones, rnori, sherold, yeylon |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | virt | ||
| Fixed In Version: | org.ovirt.engine-root-3.4.0-14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-17 09:07:14 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: | |
|
Description
Ilanit Stein
2013-12-09 08:21:28 UTC
i dont understand, you complain the code caught the exception (how do you know there is an exception if its not logged?) and logged a nice error in the audit log? it is not clear what is the issue here, please elaborate, what is missing/what did you expect? please also attach relevant engine.log Following the exception event, looking in the engine.log, showed no error. rgolan found in the code, that the exception is NOT sent to the engine.log. For this purpose I opened this bug. In current master and I see a log entry in engine.log. 2013-12-18 10:28:07,935 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (http--0.0.0.0-8080-1) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to read VM '[Unknown name]' OVF, it may be corrupted we could improve the engine.log with the exception message, as it may provide some more info on the error. Verified on av7: I've corrupted an ovf of a vm in export VM, by deleting several chars from it. and when doing refresh of the export domain VM list, generate these engine.log messages: 014-04-30 15:55:03,311 ERROR [org.ovirt.engine.core.utils.ovf.OvfParser] (ajp-/127.0.0.1:8702-4) Failed Parsing OVF due to A pseudo attribute name is expected. 2014-04-30 15:55:03,318 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-4) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be corrupted Closing as part of 3.4.0 What was the resolution here? Adding needinfo flag for rgolan to answer comment # 7 why is this NEW again? (In reply to Richard W.M. Jones from comment #7) > What was the resolution here? In case your question refer to verification, it was verified that the Exception for corrupted ovf in export domain, is INDEED sent to engine log. Fair enough. However the underlying bug (that there is no useful information in the exception) is not fixed. |