Unable to Create volume (Iscsi create target failed)

Bug #1075499 reported by Rohan
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

Openstack ENV : stable/folsom
1 Controller Node (ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,cinder,c-sch,c-api,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit)
2 Compute Nodes + Cinder volume nodes (ENABLED_SERVICES=n-cpu,n-net,c-vol,cinder)

Other configs :
cat /etc/tgt/targets.conf
include /etc/tgt/conf.d/*.conf

cat /etc/tgt/conf.d/cinder.conf
include /opt/stack/data/cinder/volumes/*

Volume groups created correctly too.

Problem : When i try to create volume from dashboard or tests , it fails with the following errors (ISCSITargetCreateFailed).

Logs :
Controller Node : c-vol.log
http://paste.openstack.org/show/24572/

Possible Duplicate:
https://bugs.launchpad.net/cinder/+bug/1057904

Tags: ntt
Revision history for this message
John Griffith (john-griffith) wrote :

Rohan, could you check a couple of things for me...
1. Run a 'sudo tgt-admin --dump' and see if there are any targets present
2. You may need to issue a tgt restart
3. Is your state_path variable set properly and is there anything in /opt/stack/data/cinder/volumes/
4. Have you tried running this from the CLI ('cinder create 1') to see if you get the same result

Revision history for this message
Rohan (kanaderohan) wrote :

1. 'sudo tgt-admin --dump ' returns nothing

2. Tried to restart tgt and redo other steps, but still the same issue

3. state_path was correctly set to '/opt/stack/data/cinder/volumes/' , it contains a directory called 'volumes' which is empty.

4. Tried to run it from CLI 'cinder create 1' , same exceptions.

Changed in cinder:
status: New → Incomplete
Revision history for this message
Vincent Hou (houshengbo) wrote :

Rohan, does this issue still exist? If so, please post your configuration of nova and nova-volume. I have folsom environment installed and cinder runs cool. I can help you with nova volume tests.

Changed in cinder:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.