Bug 1691696

Summary: [RFE] multipath events notifications
Product: Red Hat Enterprise Virtualization Manager Reporter: Daniele <dconsoli>
Component: ovirt-engineAssignee: Mark Kemel <mkemel>
Status: CLOSED ERRATA QA Contact: Evelina Shames <eshames>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: aefrat, aperotti, aromito, bzlotnik, danken, ddacosta, eshames, eshenitz, fgarciad, gshereme, jcoscia, loberman, mkalinin, mkemel, sfishbai
Target Milestone: ovirt-4.4.8Keywords: EasyFix, FutureFeature, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Multipath events were introduced in Red Hat Virtualization version 4.2, but there was no way to configure email notifications for these events. The current release now allows you to configure email notifications for multipath events using either user interface or the REST API.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-08 14:12:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1789090    

Comment 1 Dan Kenigsberg 2019-04-16 07:19:48 UTC
Multipath is owned by storage team. Moving RFE.

Comment 17 Evelina Shames 2021-08-12 11:45:19 UTC
Verified on:
vdsm-4.40.80.4-1.el8ev.x86_64
ovirt-engine-4.4.8.3-0.10.el8ev.noarch

With the following steps:
1. Configured email notifications as described in https://www.ovirt.org/documentation/administration_guide/index.html#chap-Event_Notifications
2. Subscribed to Multipath events (via UI or REST - tested both)
3. On host - Located a block device: multipath -ll
4. Set it to offline: echo offline > /sys/dev/block/8\:48/device/state
5. Got an email:
Message:Faulty multipath paths on host host_mixed_2 on devices: [3600a098038304479363f4c4870455065]
Severity:WARNING
Host Name: host_mixed_2
6. Set it back to online: echo running > /sys/dev/block/8\:48/device/state
7. Got an email:
Message:No faulty multipath paths on host host_mixed_2
Severity:NORMAL
Host Name: host_mixed_2
8. Set all block devices to offline
9. Got an email:
Message:Multipath devices without valid paths on host host_mixed_2 : [3600a098038304479363f4c4870455064, 3600a098038304479363f4c4870455063]
Severity:WARNING
Host Name: host_mixed_2

Moving to VERIFIED.

Comment 22 errata-xmlrpc 2021-09-08 14:12:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHV Manager (ovirt-engine) [ovirt-4.4.8]), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3460