NetApp fix for compression and dedup stats

This change fixes the incorrect stats reported
for compression and deduplication by NetApp
iscsi and nfs backend.

Change-Id: I3e97d953b3ea2231c3eb1f950b0ca6705b3b2286
Closes-Bug:#1236839
(cherry picked from commit 592d860481e04312448d9ae0338066bd475fad7e)
NetApp fix mirrored stats

This fixes the incorrect reporting of mirrorred
statistics for NetApp iscsi and nfs backend.
The uninitialized and broken snapmirror is
not reported and only snapmirrored state
is reported back.

Closes-Bug:#1242808

Change-Id: I4b9f788e1f99b78d12db23bd92b6a277d5f64cb3
(cherry picked from commit a9852d6e727316d9bc07caee3096c67dc98dbb7a)
Storwize: Fix iogrp availability check

Do not check if vdisk_count is greater than zero to determine iogrp
availability. This is wrong, and leads to the driver not being able to
use empty iogrps.

Closes-Bug: #1240395
Cherry-pick from https://review.openstack.org/#/c/52031/

Change-Id: I50456a0c618103f919ef0da7fb9e44b77a1d9bff
Unit test fails in pbuilder environment

When running tests inside a pbuilder environment we don't
have /dev/disk/by-path directory and so the test_host_driver
test fails. Fix test by overriding the isdir method to
return True and pretend that the directory is there.

Closes-bug: #1244418

Change-Id: Ifd39d796b7f250b1ec45227a4262ebb33d5656bf
(cherry picked from commit ea51db596906c663e0c04b546b3ca79873dd74f0)
GlusterFS: set correct filename when cloning volume

When cloning a volume, the volume[name] field was populated
with incorrect data, resulting in an unexpected filename containing
the volume data.  This results in failures of later operations on
that cloned volume.

Change-Id: I067ed44cebdc8e91e9ded326953fd0c99d003f05
Closes-Bug: #1244238
(cherry picked from commit bfb66019edd197141ea1462ba78dd27a2ed0e40d)
Merge "NetApp fix for compression and dedup stats" into stable/havana
Merge "NetApp fix mirrored stats" into stable/havana
Merge "GlusterFS: set correct filename when cloning volume" into stable/havana
Merge "Unit test fails in pbuilder environment" into stable/havana
Merge remote-tracking branch 'upstream/stable/havana' into stable/havana