Fabio Oliveira 6dd5e20c2e NetApp SolidFire: Fix RecursionError accessing undefined attributes
A RecursionError exception can occur in the SolidFire driver when
accessing a Driver class attribute that does not exist in both
SolidFireDriver and SolidFireISCSI classes.

The SolidFireDriver class (the driver's entry point) implements
__getattr__ so that a call to a missing attribute is redirected to
its complementary class SolidFireISCSI. The problem is that
SolidFireISCSI class was also implemented in the same way, looking
for attributes in SolidFireDriver in case it doesn't provide a
definition. So a call to an attribute that does not exist in both
classes leads to a class trying to find the attribute in the other,
in an endless loop situation.

Applications such as OSProfiler may hit this scenario by inspecting
the SolidFire driver class instance at  driver's initialization and
causing its failure.

This patch fixes the issue by removing __getattr__ implementation
from SolidFireISCSI, allowing the driver to return
NotImplementedError exception correctly.

Change-Id: Ic611b2abf11b94f9a21353df426cda19c09bf085
Closes-Bug: 1934459
2022-08-04 13:21:02 +00:00
2021-06-04 17:21:28 -04:00
2022-07-26 09:50:56 -04:00
2019-04-19 19:26:48 +00:00
2017-10-10 00:46:42 +00:00
2022-07-26 09:51:08 -04:00
2012-05-03 10:48:26 -07:00
2022-07-06 18:04:33 +00:00
2020-01-22 11:44:36 +00:00
2021-04-16 11:11:41 -04:00
2022-07-04 10:32:23 +05:30
2020-04-17 14:47:10 +02:00

OpenStack Cinder

image

OpenStack Cinder is a storage service for an open cloud computing service.

You can learn more about Cinder at:

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/cinder

If you'd like to contribute, please see the information in CONTRIBUTING.rst

You can raise bugs on Launchpad

Python client

Python Cinderclient

Description
OpenStack Block Storage (Cinder)
Readme 912 MiB
Languages
Python 99.7%
Smarty 0.3%