monitor_testcase_6: Use wget to access DASD web interface

Reserve/release can now be triggered via the web interface
at s390vsl26:/dasd.php

Signed-off-by: Hannes Reinecke <hare@suse.de>
monitor_testcases: Fixup I/O test handling

The job control on the I/O test functions was broken.

Signed-off-by: Hannes Reinecke <hare@suse.de>
md_monitor: md_monitor 4.24 wrongly detach DASD in MD Array

When a lot of DASDs are attached to the array, md_monitor might
end up detach the wrong disk.

References: bnc#827013

Signed-off-by: Hannes Reinecke <hare@suse.de>
md_monitor: Do not fail devices during discovery

When doing a discovery the aio_timeout will be set to '0' to
get an initial state update from MD. However, the I/O status
will be set to 'IO_PENDING' (as the checker hasn't run yet).
This does not constitute an error, so we shouldn't try to
fail the mirror here.

References: bnc#828121

Signed-off-by: Hannes Reinecke <hare@suse.de>
md_monitor: Figure out slot information for failed drives

When a device is placed in 'faulty' it won't have any slot
information attached. In this case we should try to figure
out which side to resume by the working disks.

References: bnc#828121

Signed-off-by: Hannes Reinecke <hare@suse.de>
md_monitor: Do not display '(null)' during shutdown

When shutting down monitoring the md device is already detached,
so we need to pass in the actual name to remove_md_component().

Signed-off-by: Hannes Reinecke <hare@suse.de>
md_monitor: Do not reset mirror while devices are in recovery

When devices are in recovery we shouldn't try to reset the
array, otherwise MD might get confused.

References: bnc#828121

Signed-off-by: Hannes Reinecke <hare@suse.de>
monitor_testcase_13: Restart failed array

Add testcase to restart a failed array.

References: bnc#828121

Signed-off-by: Hannes Reinecke <hare@suse.de>