<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'> 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.<br><br>Logging information<br><br>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)<br><br>2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp ProcessExecutionError: Unexpected error while running command.<br>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<br>2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp Exit code: 21<br>2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp Stdout: ''<br>2013-10-09 09:53:48.905 27767 TRACE nova.openstack.common.rpc.amqp Stderr: 'iscsiadm: No session found.\n'<br> </div></body>
</html>