Openstack cinder volumes are created and the ISCSI daemon creates a target for 
them, however when one tries to attach such volume to an instance, in the user 
interface of Openstack the volumes goes to the status attaching and then it 
comes back to the status available, instead of presenting the attached status 
as a normal operation would make it.

Logging information

In the compute nodes where the instance where the volumes was supposed to be 
attached, one will find this entry (the following example includes timestamps 
and nodes that are might not be accurate in your environment)

2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp 
ProcessExecutionError: Unexpected error while running command.
2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp Command: 
sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T 
iqn.2010-10.org.openstack:volume-7817aa43-755e-43b7-8959-092515c0910c -p 
172.20.2.27:3260 --rescan
2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp Exit code: 21
2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp Stdout: ''
2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp Stderr: 
'iscsiadm: No session found.\n'
                                          
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to