After change Ie373ab050dcc0a35c749d9a53b6cf5ca060bcb58 closing bugs
connector was broken for encrypted volumes:
<== disconnect_volume:
exception (0ms) AttributeError("'RBDVolumeIOWrapper' object has
no attribute 'startswith'") trace_logging_wrapper
/usr/lib/python3.9/site-packages/os_brick/utils.py:162
This hapens because "_device_path_from_symlink" doesn't take into
account of the file handle, and we were missing a unit test for this
case.
Closes-Bug: #1981455
Change-Id: Ib001e2b4d1347754c2b46730bc10d86e8cdab7ad
(cherry picked from commit dde8f102b7)