Hallo all,

I am trying to attach a volume to an instance using cinder in Havana and get an 
error which is pasted below. The following services are running on the 
controller node: cinder-api, cinder-scheduler, cinder-volume, tgt and services 
related to nova. In the compute node, the iscsi daemon is running apart from 
compute and networking services. In the compute node when I perform discovery, 
I am able to get a response from the ISCSI target.

I have the following flags set in cinder, nova.conf of the controller and 
compute node

a)      iscsi_ip_address=<iscsi ip address>

b)      volume_group=cinder-volumes1

c)       volume_name_template=volume-%s

d)      volume_api_class=nova.volume.cinder.API

e)      iscsi_helper=tgtadm

2014-03-11 16:51:46.828 8803 TRACE nova.compute.manager [instance: 
8b32ba2f-a832-4c8f-9118-100cdcd054ab] ProcessExecutionError: Unexpected error 
while running command.
2014-03-11 16:51:46.828 8803 TRACE nova.compute.manager [instance: 
8b32ba2f-a832-4c8f-9118-100cdcd054ab] Command: sudo nova-rootwrap 
/etc/nova/rootwrap.conf iscsiadm -m node -T 
iqn.2010-10.org.openstack:volume-4679e823-72a1-40b0-952b-1c6173f20498 -p <iSCSI 
IP>:3260 --rescan
2014-03-11 16:51:46.828 8803 TRACE nova.compute.manager [instance: 
8b32ba2f-a832-4c8f-9118-100cdcd054ab] Exit code: 255
2014-03-11 16:51:46.828 8803 TRACE nova.compute.manager [instance: 
8b32ba2f-a832-4c8f-9118-100cdcd054ab] Stdout: ''
2014-03-11 16:51:46.828 8803 TRACE nova.compute.manager [instance: 
8b32ba2f-a832-4c8f-9118-100cdcd054ab] Stderr: 'iscsiadm: No portal found.\n'
2014-03-11 16:51:46.828 8803 TRACE nova.compute.manager [instance: 
8b32ba2f-a832-4c8f-9118-100cdcd054ab]

Can I kindly seek help from the forum to resolve this problem?

Best regards,
Krishnaprasad
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to