Bug 853751 - [engine-core] logging - missing networks is set as INFO severity instead of WARN/ERROR severity (Host $hostname is set to Non-Operational, it is missing the following networks: rhevm)
Summary: [engine-core] logging - missing networks is set as INFO severity instead of ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Muli Salem
QA Contact: GenadiC
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-02 15:57 UTC by vvyazmin@redhat.com
Modified: 2016-02-10 19:47 UTC (History)
10 users (show)

Fixed In Version: SI18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 19:58:03 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
## Logs vdsm, rhevm (2.10 MB, application/x-gzip)
2012-09-02 15:57 UTC, vvyazmin@redhat.com
no flags Details

Description vvyazmin@redhat.com 2012-09-02 15:57:49 UTC
Created attachment 609128 [details]
## Logs vdsm, rhevm

Description of problem:
Wrong event level - Host xxxx is set to Non-Operational, it is missing the following networks: rhevm

Version-Release number of selected component (if applicable):
RHEVM 3.1 - SI16

RHEVM: rhevm-3.1.0-14.el6ev.noarch
VDSM: vdsm-4.9.6-31.0.el6_3.x86_64
LIBVIRT: libvirt-0.9.10-21.el6_3.4.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6_3.1.x86_64
SANLOCK: sanlock-2.3-3.el6_3.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:
INFO event level

Expected results:
WARNING event level

Additional info:

INFO --> Warning 
2012-09-02 13:04:20,032 INFO   [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (pool-4-thread-45) [3a2e5ea1] Host cougar05.scl.lab.tlv.redhat.com is set to Non-Operationa
l, it is missing the following networks: rhevm

Comment 1 Yaniv Kaul 2012-09-03 07:19:13 UTC
I suspect that if the host is set to non-operational, this should be an ERROR severity level. If it's a non-required network, I guess it could be a warning.

Comment 2 Muli Salem 2012-09-03 08:01:53 UTC
Set to ERROR severity level, proposed patch in:

http://gerrit.ovirt.org/#/c/7700/

Comment 4 GenadiC 2012-09-16 08:27:06 UTC
Verified in SI18


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