Bug 1392009 - Hide traceback in engine.log when adding host with running VM
Summary: Hide traceback in engine.log when adding host with running VM
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-04 15:03 UTC by Lucie Leistnerova
Modified: 2016-11-07 13:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-07 08:58:14 UTC
oVirt Team: Infra
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
engine log (48.10 KB, text/plain)
2016-11-04 15:03 UTC, Lucie Leistnerova
no flags Details

Description Lucie Leistnerova 2016-11-04 15:03:30 UTC
Created attachment 1217420 [details]
engine log

Description of problem:
When adding host to engine with running VM an error is showed with tracebacks. Users don't need to see them.
The host and its VM is added to the engine at the end sucessfully so the error seems to be nothing fatal.

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0-0.0.master.20161101211323.git410903b.el7.centos.noarch

see attached log

Comment 1 Yaniv Kaul 2016-11-06 06:30:14 UTC
Users do not see engine.log.
But the real question is - is the VDSM actually recovering from a crash?

In addition, why would you add a host with a running VM? Of which setup? Is it identified as an external VM?

I'm inclined to close this as a WONTFIX or NOTABUG - doesn't look like a remotely interesting scenario - but perhaps I'm missing some context.

Comment 2 Lucie Leistnerova 2016-11-07 08:14:28 UTC
User in this context is administrator that installed engine and takes care of it. And he can see to logs.

VDSM is not recovering and yes the VM is added as external.

According to BZ 1327848 if I add host to engine and it is already added to other one, no warning is given and it's added without problems. So, when the engine allows it why not hide the traceback.

Comment 3 Yaniv Kaul 2016-11-07 08:58:14 UTC
(In reply to Lucie Leistnerova from comment #2)
> User in this context is administrator that installed engine and takes care
> of it. And he can see to logs.
> 
> VDSM is not recovering and yes the VM is added as external.
> 
> According to BZ 1327848 if I add host to engine and it is already added to
> other one, no warning is given and it's added without problems. So, when the
> engine allows it why not hide the traceback.

Just because it's not worth the effort, not because it cannot be done - there are simply higher priority items to resolve.


Note You need to log in before you can comment on or make changes to this bug.