<div dir="ltr"><br clear="all"><div><div class="gmail_signature">I am running Openstack Liberty and we have been trying to mount volumes to our instances and everything looks good in Horizon but nothing mounts.  My Storage node and Compute  node are on the same hosts.  I searched the web but was unable to find the solution to this problem. Any help is greatly appreciated... </div><div class="gmail_signature"><br></div><div class="gmail_signature">I went through the nova logs and I found these errors:</div><div class="gmail_signature"><br></div>







<p class=""><span class="">INFO nova.compute.resource_tracker [req-4f108bff-1875-409e-be08-2309054768b6 - - - - -] Compute_service record updated for blocknode:blocknode</span></p>
<p class=""><span class="">2016-05-03 21:29:25.694 1154 WARNING os_brick.initiator.connector [req-c0219d88-1700-47c0-b41c-05dae82f1350 27586cc6f1b84d79ac329a76973bfb1f 1e8f32b1752e491ba27bd6ec24105028 - - -] Failed to login iSCSI target iqn.2010-10.org.openstack:volume-9b480263-cf78-4289-8eb7-aaae520c6a88 on portal <a href="http://10.0.0.3:3260">10.0.0.3:3260</a> (exit code 8).</span></p>
<p class=""><span class="">2016-05-03 21:29:25.696 1154 WARNING os_brick.initiator.connector [req-c0219d88-1700-47c0-b41c-05dae82f1350 27586cc6f1b84d79ac329a76973bfb1f 1e8f32b1752e491ba27bd6ec24105028 - - -] Failed to connect to iSCSI portal <a href="http://10.0.0.3:3260">10.0.0.3:3260</a>.</span></p>
<p class=""><span class="">2016-05-03 21:29:25.697 1154 WARNING os_brick.initiator.connector [req-c0219d88-1700-47c0-b41c-05dae82f1350 27586cc6f1b84d79ac329a76973bfb1f 1e8f32b1752e491ba27bd6ec24105028 - - -] ISCSI volume not yet found at: [u'/dev/disk/by-path/ip-10.0.0.3:3260-iscsi-iqn.2010-10.org.openstack:volume-9b480263-cf78-4289-8eb7-aaae520c6a88-lun-0']. Will rescan & retry.  Try number: 0.</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [req-c0219d88-1700-47c0-b41c-05dae82f1350 27586cc6f1b84d79ac329a76973bfb1f 1e8f32b1752e491ba27bd6ec24105028 - - -] [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Driver failed to attach volume 9b480263-cf78-4289-8eb7-aaae520c6a88 at /dev/vdb</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Traceback (most recent call last):</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 256, in attach</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     device_type=self['device_type'], encryption=encryption)</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1096, in attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     self._connect_volume(connection_info, disk_info)</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1046, in _connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     driver.connect_volume(connection_info, disk_info)</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/iscsi.py", line 84, in connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     device_info = self.connector.connect_volume(connection_info['data'])</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     return f(*args, **kwargs)</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/os_brick/initiator/connector.py", line 513, in connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     self._run_iscsiadm(target_props, ("--rescan",))</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/os_brick/initiator/connector.py", line 654, in _run_iscsiadm</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     delay_on_retry=delay_on_retry)</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 275, in execute</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     cmd=sanitized_cmd)</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912] ProcessExecutionError: Unexpected error while running command.</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-9b480263-cf78-4289-8eb7-aaae520c6a88 -p <a href="http://192.168.50.61:3260">192.168.50.61:3260</a> --rescan</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Exit code: 21</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Stdout: u''</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Stderr: u'iscsiadm: No session found.\n'</span></p>
<p class=""><span class="">2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance: 62017669-f229-4511-97c4-7dbc0a12e912] </span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [req-c0219d88-1700-47c0-b41c-05dae82f1350 27586cc6f1b84d79ac329a76973bfb1f 1e8f32b1752e491ba27bd6ec24105028 - - -] [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Failed to attach 9b480263-cf78-4289-8eb7-aaae520c6a88 at /dev/vdb</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Traceback (most recent call last):</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4635, in _attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     do_check_attach=False, do_driver_attach=True)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 52, in wrapped</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     ret_val = method(obj, context, *args, **kwargs)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 265, in attach</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     connector)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     six.reraise(self.type_, self.value, self.tb)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 256, in attach</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     device_type=self['device_type'], encryption=encryption)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1096, in attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     self._connect_volume(connection_info, disk_info)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1046, in _connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     driver.connect_volume(connection_info, disk_info)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/iscsi.py", line 84, in connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     device_info = self.connector.connect_volume(connection_info['data'])</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     return f(*args, **kwargs)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/os_brick/initiator/connector.py", line 513, in connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     self._run_iscsiadm(target_props, ("--rescan",))</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/os_brick/initiator/connector.py", line 654, in _run_iscsiadm</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     delay_on_retry=delay_on_retry)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]   File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 275, in execute</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912]     cmd=sanitized_cmd)</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912] ProcessExecutionError: Unexpected error while running command.</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-9b480263-cf78-4289-8eb7-aaae520c6a88 -p <a href="http://10.0.0.3:3260">10.0.0.3:3260</a> --rescan</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Exit code: 21</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Stdout: u''</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912] Stderr: u'iscsiadm: No session found.\n'</span></p>
<p class=""><span class="">2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance: 62017669-f229-4511-97c4-7dbc0a12e912] </span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher [req-c0219d88-1700-47c0-b41c-05dae82f1350 27586cc6f1b84d79ac329a76973bfb1f 1e8f32b1752e491ba27bd6ec24105028 - - -] Exception during message handling: Unexpected error while running command.</span></p>
<p class=""><span class="">Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-9b480263-cf78-4289-8eb7-aaae520c6a88 -p <a href="http://10.0.0.3:3260">10.0.0.3:3260</a> --rescan</span></p>
<p class=""><span class="">Exit code: 21</span></p>
<p class=""><span class="">Stdout: u''</span></p>
<p class=""><span class="">Stderr: u'iscsiadm: No session found.\n'</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     executor_callback))</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     executor_callback)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 89, in wrapped</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     payload)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 72, in wrapped</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return f(self, context, *args, **kw)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 378, in decorated_function</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     kwargs['instance'], e, sys.exc_info())</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 366, in decorated_function</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4625, in attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     do_attach_volume(context, instance, driver_bdm)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4623, in do_attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     bdm.destroy()</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4620, in do_attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return self._attach_volume(context, instance, driver_bdm)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4643, in _attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     self.volume_api.unreserve_volume(context, bdm.volume_id)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4635, in _attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     do_check_attach=False, do_driver_attach=True)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 52, in wrapped</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     ret_val = method(obj, context, *args, **kwargs)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 265, in attach</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     connector)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 256, in attach</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     device_type=self['device_type'], encryption=encryption)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1096, in attach_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     self._connect_volume(connection_info, disk_info)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1046, in _connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     driver.connect_volume(connection_info, disk_info)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/iscsi.py", line 84, in connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     device_info = self.connector.connect_volume(connection_info['data'])</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/os_brick/initiator/connector.py", line 513, in connect_volume</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     self._run_iscsiadm(target_props, ("--rescan",))</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/os_brick/initiator/connector.py", line 654, in _run_iscsiadm</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     delay_on_retry=delay_on_retry)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 275, in execute</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     cmd=sanitized_cmd)</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher ProcessExecutionError: Unexpected error while running command.</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-9b480263-cf78-4289-8eb7-aaae520c6a88 -p <a href="http://10.0.0.3:3260">10.0.0.3:3260</a> --rescan</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Exit code: 21</span></p>
<p class=""><span class="">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Stdout: u''</span></p>
<div class="gmail_signature">2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Stderr: u'iscsiadm: No session found.\n' </div></div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature">This is my cinder.conf file on my compute node :</div><div class="gmail_signature"><br></div><div class="gmail_signature">







<p class=""><span class="">[DEFAULT]</span></p>
<p class=""><span class="">verbose = True</span></p>
<p class=""><span class="">debug = True</span></p>
<p class=""><span class="">rpc_backend = rabbit</span></p>
<p class=""><span class="">auth_strategy = keystone</span></p>
<p class=""><span class="">enabled_backends = lvm</span></p>
<p class=""><span class="">my_ip = </span>10.0.0.3</p>
<p class=""><span class="">api_paste_config = api-paste.ini</span></p>
<p class=""><span class="">enable_v1_api = True</span></p>
<p class=""><span class="">enable_v2_api = True</span></p>
<p class=""><span class="">osapi_volume_listen = 0.0.0.0</span></p>
<p class=""><span class="">osapi_volume_listen_port = 8776</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class=""># specify Glance server</span></p>
<p class=""><span class="">glance_host = 10.0.0.3 </span></p>
<p class=""><span class="">glance_port = 9292</span></p>
<p class=""><span class="">notification_driver = cinder.openstack.common.notifier.rpc_notifier,messagingv2</span></p>
<p class=""><span class="">scheduler_driver = cinder.scheduler.filter_scheduler.FilterScheduler</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">[keystone_authtoken]</span></p>
<p class=""><span class="">auth_uri = <a href="http://controller:5000">http://controller:5000</a></span></p>
<p class=""><span class="">auth_url = <a href="http://controller:35357">http://controller:35357</a></span></p>
<p class=""><span class="">auth_plugin = password</span></p>
<p class=""><span class="">project_domain_id = default</span></p>
<p class=""><span class="">user_domain_id = default</span></p>
<p class=""><span class="">project_name = service</span></p>
<p class=""><span class="">username = cinder</span></p>
<p class=""><span class="">password = pass</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">[database]</span></p>
<p class=""><span class="">connection = mysql://cinder:pass@controller/cinder</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">[oslo_messaging_rabbit]</span></p>
<p class=""><span class="">rabbit_host = controller</span></p>
<p class=""><span class="">rabbit_userid = openstack</span></p>
<p class=""><span class="">rabbit_password = pass</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">[lvm]</span></p>
<p class=""><span class="">volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver</span></p>
<p class=""><span class="">volume_group = cinder-volumes</span></p>
<p class=""><span class="">iscsi_protocol = iscsi</span></p>
<p class=""><span class="">iscsi_helper = lioadm</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">[oslo_concurrency]</span></p>
<p class=""><span class="">lock_path = /var/lib/cinder/tmp</span></p></div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div>
<img src="http://t.sidekickopen50.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LNg6VQsLLC5wvqTvW2B89SH3LvrVvW8bJ6v91k1H6H0?si=6178011934621696&pi=baa4f14a-4d66-4af0-dfbf-d3f6d90ab67c" style="display:none!important" height="1" width="1"></div>