[ops] [cinder] Cinder driver for Dell EMC PS Series on Train

Massimo Sgaravatto massimo.sgaravatto at gmail.com
Wed Aug 25 14:02:39 UTC 2021


Thanks a lot Alan !
Maybe it is then worth reporting also in the release notes of Train that at
least for python3 that driver doesn't work ...
Thanks again
Cheers, Massimo

On Wed, Aug 25, 2021 at 3:52 PM Alan Bishop <abishop at redhat.com> wrote:

>
>
> On Wed, Aug 25, 2021 at 1:55 AM Massimo Sgaravatto <
> massimo.sgaravatto at gmail.com> wrote:
>
>> Dear all
>>
>> In our Cloud we have multiple backends for Cinder. One of them is using
>> the Dell EMC PS Series volume driver
>>
>> My understanding (reading
>> https://docs.openstack.org/releasenotes/cinder/ussuri.html) is that the
>> driver doesn't work anymore in >= Ussuri
>>
>> A while ago we migrated to Train (using CentOS7 as operating system) and
>> everything kept working fine.
>> We are now trying to migrate to CentOS8 (still using Train) and the
>> cinder volume service for the equallogic backend doesn't work anymore
>> In the log file I found something like this [*]
>>
>>
>> We already planned to dismiss that backend (but we planned to do that
>> before next Openstack update).
>>
>> Does anyone know if that driver is supposed to work with Train and
>> CentOS8 (and therefore python3) ?
>>
>
> Hi Massimo,
>
> Per [1] and [2], Dell EMC deprecated their PS driver in Stein with the
> intention of removing it in Train. So no, the driver was not intended to
> work in Train. Dell EMC didn't address py3 issues because of their intent
> to remove the driver in Train.
>
> It turns out they didn't actually remove the driver in Train, but they did
> so in Ussuri [3]. But I would consider the driver to be non-functional in
> Train.
>
> [1] https://review.opendev.org/c/openstack/cinder/+/603441
> [2]
> https://review.opendev.org/c/openstack/cinder/+/603441/6/releasenotes/notes/dell-emc-ps-deprecation-ae8d166e1847ea94.yaml
> [3] https://review.opendev.org/c/openstack/cinder/+/703839
>
> Alan
>
>
>> Thanks, Massimo
>>
>>
>> [*]
>> 021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> [req-9fee10a8-4ad4-4bb3-a04c-46ef6919bb0f - - - - -] Error running
>> command.: TypeError: must be str, not bytes
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> Traceback (most recent call last):
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File
>> "/usr/lib/python3.6/site-packages/cinder/volume/drivers/dell_emc/ps.py",
>> line 248, in _run_ssh
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> timeout=self.configuration.ssh_conn_timeout)
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File
>> "/usr/lib/python3.6/site-packages/cinder/volume/drivers/dell_emc/ps.py",
>> line 72, in __inner
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> res = gt.wait()
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File "/usr/lib/python3.6/site-packages/eventlet/greenthread.py", line 181,
>> in wait
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> return self._exit_event.wait()
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File "/usr/lib/python3.6/site-packages/eventlet/event.py", line 125, in
>> wait
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> result = hub.switch()
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File "/usr/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 298, in
>> switch
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> return self.greenlet.switch()
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File "/usr/lib/python3.6/site-packages/eventlet/greenthread.py", line 221,
>> in main
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> result = function(*args, **kwargs)
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File
>> "/usr/lib/python3.6/site-packages/cinder/volume/drivers/dell_emc/ps.py",
>> line 196, in _ssh_execute
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> self._get_output(chan)
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> File
>> "/usr/lib/python3.6/site-packages/cinder/volume/drivers/dell_emc/ps.py",
>> line 175, in _get_output
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> out += ret
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>> TypeError: must be str, not bytes
>> 2021-08-25 10:13:06.637 30932 ERROR cinder.volume.drivers.dell_emc.ps
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210825/3c9d8ac3/attachment.html>


More information about the openstack-discuss mailing list