Hi,<br><br>I've run into an issue with nova-volume.<br><br>Each time I want to attach a volume to an instance, I get the following error on the compute:<br><br>2012-02-02 20:33:04,546 DEBUG nova.utils [-] Running cmd (subprocess): sudo nova-rootwrap iscsiadm -m node -T iqn.2010-10.org.openstack:volume-00000011 -p <NOVA_VOLUME_IP>:3260 --rescan from (pid=19855) debug /usr/lib/python2.7/dist-packages/nova/log.py:175<br>
2012-02-02 20:33:04,596 DEBUG nova.virt.libvirt.volume [-] iscsiadm ('--rescan',): stdout= stderr=iscsiadm: No portal found.<br> from (pid=19855) debug /usr/lib/python2.7/dist-packages/nova/log.py:175<br><br>The error disappears when I perform a target discovery on the compute node, and once more try issue euca-attach-volume:<br>
<br>iscsiadm -m discovery -t st -p <NOVA_VOLUME_IP><br><a href="http://10.189.0.31:3260">10.189.0.31:3260</a>,1 iqn.2010-10.org.openstack:volume-cc1-00000011<br clear="all"><br>euca-attach-volume (works well this time)<br>
<br>Anyone knows if this is a bug and how to work it around? (I tried to inject discovery into the volume driver code and libvirt code. It's not executed - apparently I put it into some wrong place in the code)<br><br>
Cheers,<br><br><br>-- <br>checkout my blog on linux clusters:<br>-- <a href="http://linuxdatacenter.blogspot.com">linuxdatacenter.blogspot.com</a> --<br>