Bug 1420427

Summary: java exception visible in Events when upgrade check is done on recently fenced host
Product: [oVirt] vdsm-jsonrpc-java Reporter: Jiri Belka <jbelka>
Component: CoreAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: low Docs Contact:
Priority: medium    
Version: ---CC: bugs, lsvaty, mgoldboi, mperina, pkliczew
Target Milestone: ovirt-4.1.2Flags: rule-engine: ovirt-4.1+
mgoldboi: planning_ack+
mperina: devel_ack+
lsvaty: testing_ack+
Target Release: 1.3.11   
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-05-23 08:13:25 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:
Bug Depends On: 1446159    
Bug Blocks:    

Description Jiri Belka 2017-02-08 15:43:50 UTC
Description of problem:

java exception visible in Events when upgrade check is done on recently fenced host, imo we don't want to see such events.

~~~
$ zcat /tmp/engine.log.gz | grep 'AuditLogDirector.*Custom Event ID: .*Message:' | sed -n '/16:17:14/,$p' | grep java.rmi
2017-02-08 16:18:03,648+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler3) [4854c384] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM dell-r210ii-04 command SpmStatusVDS failed: Connection issue java.rmi.ConnectException: Connection timeout
2017-02-08 16:18:49,667+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler6) [4854c384] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM dell-r210ii-04 command SpmStatusVDS failed: Connection issue java.rmi.ConnectException: Connection timeout
2017-02-08 16:25:26,922+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler8) [c006cbe5-28af-4ace-bd0f-df078061e72b] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM dell-r210ii-04 command SpmStatusVDS failed: Connection issue java.rmi.ConnectException: Connection timeout
~~~


Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0.4-0.1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. fence (power off) Up host
2. immediately check host's upgrade
3.

Actual results:
between events there are ones with 'java.rmi.ConnectException: Connection timeout'

Expected results:
just human readable events

Additional info:

Comment 2 Martin Perina 2017-03-24 09:05:05 UTC
Moving to vdsm-jsonrpc-java as it need to be fixed there.

Comment 3 Petr Matyáš 2017-05-15 14:50:51 UTC
Verified on 4.1.2-2