Comment 2 for bug 1525138

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote : Re: [BVT] Volume failed to be attached to intsnace

According to logs something must have failed on the remote side:

2015-12-11T03:43:46.011151+00:00 debug: Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-4285d50b-6e50-43a7-9626-1a0e843431ff -p 10.109.2.1:3260
2015-12-11T03:43:46.058498+00:00 debug: CMD "sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-4285d50b-6e50-43a7-9626-1a0e843431ff -p 10.109.2.1:3260" returned: 21 in 0.047s
2015-12-11T03:43:46.058849+00:00 debug: u'sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-4285d50b-6e50-43a7-9626-1a0e843431ff -p 10.109.2.1:3260' failed. Not Retrying.

http://linux.die.net/man/8/iscsiadm:
   21 ISCSI_ERR_NO_OBJS_FOUND - no records/targets/sessions/portals found to execute operation on.

We'll take a closer look at Cinder logs.