[Openstack] Cinder Volume unable to mount nova instance

James Fleet jrfleet at istech-corp.com
Wed May 4 04:28:04 UTC 2016


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...

I went through the nova logs and I found these errors:

INFO nova.compute.resource_tracker
[req-4f108bff-1875-409e-be08-2309054768b6 - - - - -] Compute_service record
updated for blocknode:blocknode

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 10.0.0.3:3260 (exit code 8).

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
10.0.0.3:3260.

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.

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

2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance:
62017669-f229-4511-97c4-7dbc0a12e912] Traceback (most recent call last):

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

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)

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

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)

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

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)

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

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'])

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

2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance:
62017669-f229-4511-97c4-7dbc0a12e912]     return f(*args, **kwargs)

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

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",))

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

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)

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

2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance:
62017669-f229-4511-97c4-7dbc0a12e912]     cmd=sanitized_cmd)

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.

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
192.168.50.61:3260 --rescan

2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance:
62017669-f229-4511-97c4-7dbc0a12e912] Exit code: 21

2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance:
62017669-f229-4511-97c4-7dbc0a12e912] Stdout: u''

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'

2016-05-03 21:29:25.881 1154 ERROR nova.virt.block_device [instance:
62017669-f229-4511-97c4-7dbc0a12e912]

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

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912] Traceback (most recent call last):

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

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)

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

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)

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

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912]     connector)

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__

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)

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

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)

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

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)

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

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)

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

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'])

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

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912]     return f(*args, **kwargs)

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

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912]     self._run_iscsiadm(target_props,
("--rescan",))

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

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912]     delay_on_retry=delay_on_retry)

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

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912]     cmd=sanitized_cmd)

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912] ProcessExecutionError: Unexpected
error while running command.

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
10.0.0.3:3260 --rescan

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912] Exit code: 21

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912] Stdout: u''

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'

2016-05-03 21:29:26.980 1154 ERROR nova.compute.manager [instance:
62017669-f229-4511-97c4-7dbc0a12e912]

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.

Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T
iqn.2010-10.org.openstack:volume-9b480263-cf78-4289-8eb7-aaae520c6a88 -p
10.0.0.3:3260 --rescan

Exit code: 21

Stdout: u''

Stderr: u'iscsiadm: No session found.\n'

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Traceback
(most recent call last):

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
executor_callback))

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
executor_callback)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     result
= func(ctxt, **new_args)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
payload)

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__

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
six.reraise(self.type_, self.value, self.tb)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return
f(self, context, *args, **kw)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
kwargs['instance'], e, sys.exc_info())

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__

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
six.reraise(self.type_, self.value, self.tb)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return
function(self, context, *args, **kwargs)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
do_attach_volume(context, instance, driver_bdm)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return
f(*args, **kwargs)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
bdm.destroy()

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__

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
six.reraise(self.type_, self.value, self.tb)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return
self._attach_volume(context, instance, driver_bdm)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
self.volume_api.unreserve_volume(context, bdm.volume_id)

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__

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
six.reraise(self.type_, self.value, self.tb)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
do_check_attach=False, do_driver_attach=True)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
ret_val = method(obj, context, *args, **kwargs)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
connector)

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__

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
six.reraise(self.type_, self.value, self.tb)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
device_type=self['device_type'], encryption=encryption)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
self._connect_volume(connection_info, disk_info)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
driver.connect_volume(connection_info, disk_info)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
device_info = self.connector.connect_volume(connection_info['data'])

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher     return
f(*args, **kwargs)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
self._run_iscsiadm(target_props, ("--rescan",))

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
delay_on_retry=delay_on_retry)

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

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
cmd=sanitized_cmd)

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher
ProcessExecutionError: Unexpected error while running command.

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
10.0.0.3:3260 --rescan

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Exit code:
21

2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Stdout: u''
2016-05-03 21:29:27.255 1154 ERROR oslo_messaging.rpc.dispatcher Stderr:
u'iscsiadm: No session found.\n'



This is my cinder.conf file on my compute node :

[DEFAULT]

verbose = True

debug = True

rpc_backend = rabbit

auth_strategy = keystone

enabled_backends = lvm

my_ip = 10.0.0.3

api_paste_config = api-paste.ini

enable_v1_api = True

enable_v2_api = True

osapi_volume_listen = 0.0.0.0

osapi_volume_listen_port = 8776


# specify Glance server

glance_host = 10.0.0.3

glance_port = 9292

notification_driver =
cinder.openstack.common.notifier.rpc_notifier,messagingv2

scheduler_driver = cinder.scheduler.filter_scheduler.FilterScheduler


[keystone_authtoken]

auth_uri = http://controller:5000

auth_url = http://controller:35357

auth_plugin = password

project_domain_id = default

user_domain_id = default

project_name = service

username = cinder

password = pass


[database]

connection = mysql://cinder:pass@controller/cinder


[oslo_messaging_rabbit]

rabbit_host = controller

rabbit_userid = openstack

rabbit_password = pass


[lvm]

volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver

volume_group = cinder-volumes

iscsi_protocol = iscsi

iscsi_helper = lioadm


[oslo_concurrency]

lock_path = /var/lib/cinder/tmp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160504/c87926f3/attachment.html>


More information about the Openstack mailing list