Bug 1880375

Summary: [RFE] Add API that returns iSCSI Multipath status
Product: [oVirt] ovirt-engine Reporter: Jean-Louis Dupond <jean-louis>
Component: RFEsAssignee: Mark Kemel <mkemel>
Status: CLOSED DEFERRED QA Contact: Avihai <aefrat>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4.1CC: ahadas, bugs, jean-louis, michal.skrivanek, tnisan
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: ---Flags: pm-rhel: ovirt-4.5?
pm-rhel: planning_ack?
pm-rhel: devel_ack?
pm-rhel: testing_ack?
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: 2022-05-11 09:03:35 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:

Description Jean-Louis Dupond 2020-09-18 11:31:32 UTC
We want to monitor the iSCSI multipath status on our hosts.
So we notice it when for example 1 path is down to the iSCSI LUN.

oVirt notices this perfectly, as you can see this in the alerts/log:
2020-09-18 09:53:08,880+02 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-86) [] EVENT_ID: FAULTY_MULTIPATHS_ON_HOST(11,500), Faulty multipath paths on host kvm001 on devices: [3600a0980383056645524502f414a726a]


The thing is, parsing the log and then alert something is not very useful sometimes.

Our use-case uses Nagios/Icinga(2) for example to monitor the oVirt setup.

Is would be great if the API was exended with a call that returns the iSCSI Multipath status on that host.

The following call gives iSCSI info now:
/ovirt-engine/api/hosts/xxxx/storage

It would be nice to extend this with available_paths: int for example.
Then if paths > available_paths -> trigger alert in our monitoring.

Comment 2 RHEL Program Management 2021-01-14 11:59:04 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 5 Sandro Bonazzola 2022-03-29 16:16:40 UTC
We are past 4.5.0 feature freeze, please re-target.

Comment 6 Michal Skrivanek 2022-04-11 09:12:52 UTC
no update for a while, didn't make it into 4.5, pending close

Comment 7 Arik 2022-05-11 09:03:35 UTC
This sounds like a good idea but we didn't get to it for a while and are unlikely to get to it soon
So I filed an issue on GitHub on that: https://github.com/oVirt/ovirt-engine/issues/366
Help from community would be appreciated