openstack给xen虚拟机添加云硬盘的时候报错Driver failed to attach volume 3231a4ad-1d6f-4991-a07a-f51afff2cbea at /dev/xvdb

提问于 2016-03-07 01:01:33 -0500

link 图像

在用openstack给xen虚拟机添加云硬盘的时候报以下错误,请求帮助解决! 2016-03-07 14:46:50.230 25866 INFO nova.compute.manager [req-ea4d1e76-c500-4e9b-b898-907b56e9bf6d 52cdec3c4bb946719baeedaf144ce500 cdb4a26c3f3f4ffeac20b5314e6c2fc9 - - -] [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] Attaching volume 3231a4ad-1d6f-4991-a07a-f51afff2cbea to /dev/xvdb 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [req-ea4d1e76-c500-4e9b-b898-907b56e9bf6d 52cdec3c4bb946719baeedaf144ce500 cdb4a26c3f3f4ffeac20b5314e6c2fc9 - - -] [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] Driver failed to attach volume 3231a4ad-1d6f-4991-a07a-f51afff2cbea at /dev/xvdb 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] Traceback (most recent call last): 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 256, in attach 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] device_type=self['device_type'], encryption=encryption) 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/virt/xenapi/driver.py", line 414, in attach_volume 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] mountpoint) 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/virt/xenapi/volumeops.py", line 47, in attach_volume 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] instance_name, dev_number, hotplug) 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/virt/xenapi/volumeops.py", line 56, in _attach_volume 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] self._check_is_supported_driver_type(connection_info) 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/virt/xenapi/volumeops.py", line 82, in _check_is_supported_driver_type 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] if driver_type not in ['iscsi', 'xensm']: 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] VolumeDriverNotFound: Could not find a handler for nfs volume. 2016-03-07 14:46:51.082 25866 ERROR nova.virt.block_device [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [req-ea4d1e76-c500-4e9b-b898-907b56e9bf6d 52cdec3c4bb946719baeedaf144ce500 cdb4a26c3f3f4ffeac20b5314e6c2fc9 - - -] [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] Failed to attach 3231a4ad-1d6f-4991-a07a-f51afff2cbea at /dev/xvdb 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] Traceback (most recent call last): 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4635, in _attach_volume 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] do_check_attach=False, do_driver_attach=True) 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 52, in wrapped 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] ret_val = method(obj, context, args, *kwargs) 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 265, in attach 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] connector) 2016-03-07 14:46:51.454 25866 ERROR nova.compute.manager [instance: a90d34b7-ecaf-4aff-8d90-938d1275b17b] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__ 2016-03-07 14 ... (more)

edit retag flag offensive close merge delete