Bug 1220838

Summary: Log messages received from vdsm
Product: [oVirt] ovirt-engine Reporter: Piotr Kliczewski <pkliczew>
Component: GeneralAssignee: Marcin Mirecki <mmirecki>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, danken, ecohen, gklein, lsurette, mmirecki, mpavlik, oourfali, rbalakri, yeylon
Target Milestone: ovirt-3.6.0-rcFlags: rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
pstehlik: testing_ack+
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-13 14:40: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:
Bug Depends On:    
Bug Blocks: 1161027    

Description Piotr Kliczewski 2015-05-12 15:11:58 UTC
Description of problem:

When messages from vdsm are received user have no ability to understand whether hooks failed.

We need to audit 'message' content when non-zero codes are return for all commands except:

GetAllVmStatsVDSCommand, VmStatsVdsBrokerCommand, ListVDSCommand and FullListVdsCommand. 

Actual results:
'Message' content currently not audited

Expected results:
When non-zero code received we should audit content of 'message' param.

Additional info:

Comment 1 Oved Ourfali 2015-06-08 09:59:21 UTC
Marcin - should that move to MODIFIED? ON_QA?

Comment 2 Max Kovgan 2015-06-28 14:13:36 UTC
ovirt-3.6.0-3 release

Comment 3 Yaniv Lavi 2015-07-20 12:40:04 UTC
*** Bug 1161027 has been marked as a duplicate of this bug. ***

Comment 4 Jiri Belka 2016-01-05 11:54:44 UTC
ok, rhevm-backend-3.6.2-0.1.el6.noarch

tested with a before_disk_hotunplug vdsm hook which was returning '1'.

	
Jan 5, 2016 12:50:01 PM
Failed to unplug disk jb-test_Disk2 from VM jb-test (User: admin@internal).

        10833 | 00000018-0018-0018-0018-00000000023a | admin@internal       | 3e14f4ee-1ef9-4147-81df-aaa218f5bb38 | jb-test     | 00000000-0000-0000-0000-000000000000 | Blank            | fdf32332-6254-4724-b0bf
-92ef0413ae70 | dell-r210ii-13.example.com | 2016-01-05 12:50:01.489+01 | USER_FAILED_HOTUNPLUG_DISK                               |     2003 |        2 | Failed to unplug disk jb-test_Disk2 from 
VM jb-test (User: admin@internal).                                                                                                                         | t         | 00000001-0001-0001-0001-0000000003e1 | Defa
ult

Comment 5 Sandro Bonazzola 2016-01-13 14:40:01 UTC
oVirt 3.6.0 has been released, closing current release