Creating Cinder Volume from Image returns Failed to copy image to volume
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
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
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
I'm trying too launch an Instance with the option
Instance Boot Source
(in Horizon) set tooBoot from image (Creates a new volume)
I'll get some logs up asap. tgt is installed output from apt-gettgt is already the newest version. tgt set to manually installed.