"cinder backup-create" fails when using iSCSI multipath as volume backends.
Issue
-
cinder backup-create
command fails with the following error when cinder uses iSCSI multipath as volume backends.ERROR oslo_messaging.rpc.server [req-xxxxxx - default default] Exception during message handling: os_brick.exception.VolumeDeviceNotFound: Volume device not found at . ERROR oslo_messaging.rpc.server Traceback (most recent call last): ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_messaging/rpc/server.py"", line 166, in _process_incoming ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py"", line 265, in dispatch ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py"", line 194, in _do_dispatch ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/cinder/backup/manager.py"", line 406, in create_backup ERROR oslo_messaging.rpc.server self._update_backup_error(backup, six.text_type(err)) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_utils/excutils.py"", line 220, in __exit__ ERROR oslo_messaging.rpc.server self.force_reraise() ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_utils/excutils.py"", line 196, in force_reraise ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/six.py"", line 693, in reraise ERROR oslo_messaging.rpc.server raise value ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/cinder/backup/manager.py"", line 395, in create_backup ERROR oslo_messaging.rpc.server updates = self._run_backup(context, backup, volume) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/cinder/backup/manager.py"", line 466, in _run_backup ERROR oslo_messaging.rpc.server backup_device.is_snapshot) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/cinder/backup/manager.py"", line 1058, in _attach_device ERROR oslo_messaging.rpc.server return self._attach_volume(ctxt, backup_device, properties) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/cinder/backup/manager.py"", line 1080, in _attach_volume ERROR oslo_messaging.rpc.server {'volume_id', volume.id}) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_utils/excutils.py"", line 220, in __exit__ ERROR oslo_messaging.rpc.server self.force_reraise() ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_utils/excutils.py"", line 196, in force_reraise ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/six.py"", line 693, in reraise ERROR oslo_messaging.rpc.server raise value ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/cinder/backup/manager.py"", line 1069, in _attach_volume ERROR oslo_messaging.rpc.server return self._connect_device(conn) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/cinder/backup/manager.py"", line 1111, in _connect_device ERROR oslo_messaging.rpc.server vol_handle = connector.connect_volume(conn['data']) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/os_brick/utils.py"", line 137, in trace_logging_wrapper ERROR oslo_messaging.rpc.server return f(*args, **kwargs) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py"", line 328, in inner ERROR oslo_messaging.rpc.server return f(*args, **kwargs) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/os_brick/initiator/connectors/iscsi.py"", line 518, in connect_volume ERROR oslo_messaging.rpc.server self._cleanup_connection(connection_properties, force=True) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_utils/excutils.py"", line 220, in __exit__ ERROR oslo_messaging.rpc.server self.force_reraise() ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/oslo_utils/excutils.py"", line 196, in force_reraise ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/six.py"", line 693, in reraise ERROR oslo_messaging.rpc.server raise value ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/os_brick/initiator/connectors/iscsi.py"", line 512, in connect_volume ERROR oslo_messaging.rpc.server return self._connect_single_volume(connection_properties) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/os_brick/utils.py"", line 61, in _wrapper ERROR oslo_messaging.rpc.server return r.call(f, *args, **kwargs) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/retrying.py"", line 229, in call ERROR oslo_messaging.rpc.server raise attempt.get() ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/retrying.py"", line 261, in get ERROR oslo_messaging.rpc.server six.reraise(self.value[0], self.value[1], self.value[2]) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/six.py"", line 693, in reraise ERROR oslo_messaging.rpc.server raise value ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/retrying.py"", line 217, in call ERROR oslo_messaging.rpc.server attempt = Attempt(fn(*args, **kwargs), attempt_number, False) ERROR oslo_messaging.rpc.server File ""/usr/lib/python3.6/site-packages/os_brick/initiator/connectors/iscsi.py"", line 587, in _connect_single_volume ERROR oslo_messaging.rpc.server raise exception.VolumeDeviceNotFound(device='') ERROR oslo_messaging.rpc.server os_brick.exception.VolumeDeviceNotFound: Volume device not found at . ERROR oslo_messaging.rpc.server
Environment
- Red Hat OpenStack Platform 15
- cinder
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.