Hello, I increased cinder and nova rpc resoonse time out and now it works better.
I am going to  test it again and if the error come back, I 'll send the log file as you suggested.
Thanks
Ignazio


Il Lun 20 Gen 2020, 16:41 Lee Yarwood <lyarwood@redhat.com> ha scritto:
On 17-01-20 19:30:13, Ignazio Cassano wrote:
> Hello all we are testing openstack queens cinder driver for Unity iscsi
> (driver cinder.volume.drivers.dell_emc.unity.Driver).
>
> The unity storage is a Unity600 Version 4.5.10.5.001
>
> We are facing an issue when we try to detach volume from a virtual machine
> with two or more volumes attached (this happens often but not always):

Could you write this up as an os-brick bug and attach the nova-compute
log in DEBUG showing the initial volume attachments prior to this detach
error?

https://bugs.launchpad.net/os-brick/+filebug

> The following is reported nova-compute.log:
>
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server
> self.connector.disconnect_volume(connection_info['data'], None)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/os_brick/utils.py", line 137, in
> trace_logging_wrapper
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server return
> f(*args, **kwargs)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274,
> in inner
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server return
> f(*args, **kwargs)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/os_brick/initiator/connectors/iscsi.py",
> line 848, in disconnect_volume
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server
> device_info=device_info)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/os_brick/initiator/connectors/iscsi.py",
> line 892, in _cleanup_connection
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server path_used,
> was_multipath)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/os_brick/initiator/linuxscsi.py", line
> 271, in remove_connection
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server
> self.flush_multipath_device(multipath_name)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/os_brick/initiator/linuxscsi.py", line
> 329, in flush_multipath_device
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server
> root_helper=self._root_helper)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/os_brick/executor.py", line 52, in
> _execute
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server result =
> self.__execute(*args, **kwargs)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/os_brick/privileged/rootwrap.py", line
> 169, in execute
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server return
> execute_root(*cmd, **kwargs)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/oslo_privsep/priv_context.py", line 207,
> in _wrap
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server return
> self.channel.remote_call(name, args, kwargs)
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server File
> "/usr/lib/python2.7/site-packages/oslo_privsep/daemon.py", line 202, in
> remote_call
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server raise
> exc_type(*result[2])
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server
> ProcessExecutionError: Unexpected error while running command.
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server Command:
> multipath -f 36006016006e04400d0c4215e3ec55757
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server Exit code: 1
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server Stdout: u'Jan
> 17 16:04:30 | 36006016006e04400d0c4215e3ec55757p1: map in use\nJan 17
> 16:04:31 | failed to remove multipath map
> 36006016006e04400d0c4215e3ec55757\n'
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server Stderr: u''
> 2020-01-17 16:05:11.132 6643 ERROR oslo_messaging.rpc.server
>
>
> Best Regards
>
> Ignazio

--
Lee Yarwood                 A5D1 9385 88CB 7E5F BE64  6618 BCA6 6E33 F672 2D76