From 25d3306f9f7c76ed70332280f28b4e2c3d4605e1 Mon Sep 17 00:00:00 2001 From: Alexander Deiter Date: Sun, 11 Sep 2022 19:43:44 +0300 Subject: [PATCH] [Infinidat] bump driver version and update docs Incremented driver version to 1.1 and updated documentation with SSL options, added by commit 52dac7619. Closes-Bug: #1989283 Change-Id: Icc567a50b8498c06c2cfc76f6ae82731df63cafd Signed-off-by: Alexander Deiter --- .../drivers/infinidat-share-driver.rst | 15 +++++++++++++++ .../configuration/tables/manila-infinidat.inc | 4 ++++ manila/share/drivers/infinidat/infinibox.py | 2 +- ...3-infinidat-version-bump-6f791d9d97ccf75b.yaml | 8 ++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-1989283-infinidat-version-bump-6f791d9d97ccf75b.yaml diff --git a/doc/source/configuration/shared-file-systems/drivers/infinidat-share-driver.rst b/doc/source/configuration/shared-file-systems/drivers/infinidat-share-driver.rst index 5e3151fd2b..69bcfdaacf 100644 --- a/doc/source/configuration/shared-file-systems/drivers/infinidat-share-driver.rst +++ b/doc/source/configuration/shared-file-systems/drivers/infinidat-share-driver.rst @@ -75,6 +75,19 @@ Configure the driver back-end section with the parameters below. infinibox_hostname = InfiniBox management IP +* Configure SSL support for InfiniBox management API: + + We recommend enabling SSL support for InfiniBox management API. + Refer to the InfiniBox manuals for details on security management. + Configure SSL options by adding the following parameters: + + .. code-block:: ini + + infinidat_use_ssl = true/false + infinidat_suppress_ssl_warnings = true/false + + These parameters defaults to ``false``. + * Configure user credentials: The driver requires an InfiniBox user with administrative privileges. @@ -133,6 +146,8 @@ Configuration example share_backend_name = infinidat-pool-a driver_handles_share_servers = false infinibox_hostname = 10.1.2.3 + infinidat_use_ssl = true + infinidat_suppress_ssl_warnings = true infinibox_login = openstackuser infinibox_password = openstackpass infinidat_pool_name = pool-a diff --git a/doc/source/configuration/tables/manila-infinidat.inc b/doc/source/configuration/tables/manila-infinidat.inc index 5491978475..11985c68ac 100644 --- a/doc/source/configuration/tables/manila-infinidat.inc +++ b/doc/source/configuration/tables/manila-infinidat.inc @@ -10,6 +10,10 @@ - * - ``infinibox_hostname`` = ``None`` - (String) The name (or IP address) for the INFINIDAT Infinibox storage system. + * - ``infinidat_use_ssl`` = ``False`` + - (Boolean) Enable SSL communication to access the INFINIDAT Infinibox storage system. + * - ``infinidat_suppress_ssl_warnings`` = ``False`` + - (Boolean) Suppress requests library SSL certificate warnings. * - ``infinibox_login`` = ``None`` - (String) Administrative user account name used to access the INFINIDAT Infinibox storage system. * - ``infinibox_password`` = ``None`` diff --git a/manila/share/drivers/infinidat/infinibox.py b/manila/share/drivers/infinidat/infinibox.py index 4ac88ab7a5..7928fb3bc5 100644 --- a/manila/share/drivers/infinidat/infinibox.py +++ b/manila/share/drivers/infinidat/infinibox.py @@ -106,7 +106,7 @@ def infinisdk_to_manila_exceptions(func): class InfiniboxShareDriver(driver.ShareDriver): - VERSION = '1.0' # driver version + VERSION = '1.1' # driver version def __init__(self, *args, **kwargs): super(InfiniboxShareDriver, self).__init__(False, *args, **kwargs) diff --git a/releasenotes/notes/bug-1989283-infinidat-version-bump-6f791d9d97ccf75b.yaml b/releasenotes/notes/bug-1989283-infinidat-version-bump-6f791d9d97ccf75b.yaml new file mode 100644 index 0000000000..1ab07333f7 --- /dev/null +++ b/releasenotes/notes/bug-1989283-infinidat-version-bump-6f791d9d97ccf75b.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + Infinidat Driver `bug #1989283 + `_: + Incremented driver version to 1.1, where SSL support was added. + For more details on enabling SSL, please check the `Infinidat driver documentation + `_.