diff options
Diffstat (limited to 'nova/virt/libvirt/volume/quobyte.py')
-rw-r--r-- | nova/virt/libvirt/volume/quobyte.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/virt/libvirt/volume/quobyte.py b/nova/virt/libvirt/volume/quobyte.py index 5355633b83..dc5bb6768b 100644 --- a/nova/virt/libvirt/volume/quobyte.py +++ b/nova/virt/libvirt/volume/quobyte.py @@ -19,7 +19,6 @@ from oslo_concurrency import processutils from oslo_log import log as logging from oslo_utils import fileutils import psutil -import six import nova.conf from nova import exception as nova_exception @@ -97,7 +96,7 @@ def umount_volume(mnt_base): else: nova.privsep.libvirt.unprivileged_umount(mnt_base) except processutils.ProcessExecutionError as exc: - if 'Device or resource busy' in six.text_type(exc): + if 'Device or resource busy' in str(exc): LOG.error("The Quobyte volume at %s is still in use.", mnt_base) else: LOG.exception("Couldn't unmount the Quobyte Volume at %s", |