Ask Your Question
0

Creating Cinder Volume from Image returns Failed to copy image to volume

asked 2014-11-24 17:01:52 -0500

stdg11 gravatar image

I've setup Cinder with the HP LeftHand back end driver today, following the official docs. I can create Volumes fine and can see them on HP's CMC management software.

However when it comes too creating a Volume from an image in Glance it fails with the following error. Glance is stored on the local filesystem.

2014-11-24 17:51:47.128 5689 WARNING cinder.brick.initiator.connector [req-fce6deb7-78d8-4bac-9f90-61919315d137 cloudadmin 1427d1eb1028411f95be51661e5cb511 - - -] Could not find the iSCSI Initiator File /etc/iscsi/initiatorname.iscsi
2014-11-24 17:51:47.213 5689 WARNING cinder.brick.initiator.linuxfc [req-fce6deb7-78d8-4bac-9f90-61919315d137 cloudadmin 1427d1eb1028411f95be51661e5cb511 - - -] systool is not installed
2014-11-24 17:51:47.280 5689 WARNING cinder.brick.initiator.linuxfc [req-fce6deb7-78d8-4bac-9f90-61919315d137 cloudadmin 1427d1eb1028411f95be51661e5cb511 - - -] systool is not installed
2014-11-24 17:51:47.335 5689 ERROR cinder.volume.driver [req-fce6deb7-78d8-4bac-9f90-61919315d137 cloudadmin 1427d1eb1028411f95be51661e5cb511 - - -] Unable to fetch connection information from backend: 'initiator'
2014-11-24 17:51:47.336 5689 ERROR cinder.volume.flows.manager.create_volume [req-fce6deb7-78d8-4bac-9f90-61919315d137 cloudadmin 1427d1eb1028411f95be51661e5cb511 - - -] Failed to copy image f05041ce-9b9b-4d84-b930-d814285bc703 to volume: e2687c38-69dc-458d-8c4a-3574aa3c5e9a, error: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'initiator'
2014-11-24 17:51:47.411 5689 ERROR cinder.volume.flows.manager.create_volume [req-fce6deb7-78d8-4bac-9f90-61919315d137 cloudadmin 1427d1eb1028411f95be51661e5cb511 - - -] Volume e2687c38-69dc-458d-8c4a-3574aa3c5e9a: create failed
2014-11-24 17:51:47.412 5689 ERROR oslo.messaging.rpc.dispatcher [req-fce6deb7-78d8-4bac-9f90-61919315d137 cloudadmin 1427d1eb1028411f95be51661e5cb511 - - -] Exception during message handling: Failed to copy image to volume: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'initiator'

Edit: I have since installed sysfsutils for systool

Thanks, Daniel

edit retag flag offensive close merge delete

Comments

Please paste the cinder api volume schduler logs and also glance api and registry. That might give some insight into the issue. I see this Could not find the iSCSI Initiator File /etc/iscsi/initiatorname.iscsi

prathamesh_deshpande gravatar imageprathamesh_deshpande ( 2014-11-25 00:01:59 -0500 )edit

Daniel, I am bit confused about the question...do you want to create a volume for an instance launched by glance image using cinder? And then above problem is coming. I hope you have already installed iscsi tgt utility

exergy gravatar imageexergy ( 2014-11-25 00:29:17 -0500 )edit

I'm trying too launch an Instance with the option Instance Boot Source (in Horizon) set too Boot from image (Creates a new volume) I'll get some logs up asap. tgt is installed output from apt-get tgt is already the newest version. tgt set to manually installed.

stdg11 gravatar imagestdg11 ( 2014-11-26 11:53:13 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-08 21:05:21 -0500

flochaz gravatar image

you need to install the iSCSI initiator on your cinder node. On rhel or centos

 yum install iscsi-initiator-utils
.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-24 17:01:52 -0500

Seen: 2,260 times

Last updated: Nov 24 '14