Cinder volume creation from glance image fails with "ImageCopyFailure: Failed to copy image to volume: Unable to find a Fibre Channel volume device." in cinder volume.log

Solution Verified - Updated -

Issue

  • Cinder volume creation from glance image fails with "ImageCopyFailure: Failed to copy image to volume: Unable to find a Fibre Channel volume device." in cinder volume.log
2019-01-19 00:40:28.381 851589 ERROR os_brick.initiator.connectors.fibre_channel [-] Fibre Channel volume device not found.
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall [-] Fixed interval looping call 'os_brick.initiator.connectors.fibre_channel._wait_for_device_discovery' failed
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall Traceback (most recent call last):
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/site-packages/oslo_service/loopingcall.py", line 136, in _run_loop
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall     result = func(*self.args, **self.kw)
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/site-packages/os_brick/initiator/connectors/fibre_channel.py", line 157, in _wait_for_device_discovery
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall     raise exception.NoFibreChannelVolumeDeviceFound()
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall NoFibreChannelVolumeDeviceFound: Unable to find a Fibre Channel volume device.
2019-01-19 00:40:28.382 851589 ERROR oslo.service.loopingcall
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server [req-d610568e-8af9-46fd-b04f-78d4886e211f 4af941662df4470e89693ebcef78bcc8 241ae2898429430b939a5fb8002be5a2 - default default] Exception during message handling
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 4485, in create_volume
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     allow_reschedule=allow_reschedule, volume=volume)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 645, in create_volume
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     _run_flow()
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 637, in _run_flow
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     flow_engine.run()
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 247, in run
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     for _state in self.run_iter(timeout=timeout):
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 340, in run_iter
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     failure.Failure.reraise_if_any(er_failures)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/taskflow/types/failure.py", line 336, in reraise_if_any
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     failures[0].reraise()
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/taskflow/types/failure.py", line 343, in reraise
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     six.reraise(*self._exc_info)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     result = task.execute(**arguments)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 938, in execute
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     **volume_spec)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 896, in _create_from_image
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     image_service)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 808, in _create_from_image_cache_or_download
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     image_service
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 684, in _create_from_image_download
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     image_service)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py", line 565, in _copy_image_to_volume
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server     raise exception.ImageCopyFailure(reason=ex)
2019-01-19 00:41:52.368 851589 ERROR oslo_messaging.rpc.server ImageCopyFailure: Failed to copy image to volume: Unable to find a Fibre Channel volume device.

Environment

  • Red Hat Openstack Platform 10
  • cinder backend HPE 3Par
  • cinder backend is any driver which uses iSCSI/FC/FCoE.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In