From 6b9532eebcfc42ea954bc8ec3510550b22f81229 Mon Sep 17 00:00:00 2001 From: debeltrami Date: Mon, 6 Jul 2020 11:31:36 +0000 Subject: [PATCH] [NetApp] Fix python-manila package version NetApp ONTAP Manila driver fails to get information from 'python-manila' package in the periodic tasks, and logs INFO messages saying the package was not found. It doesn't break anything, but the message might be scary. Change-Id: I2e773f7cca0c95d18922281832afd93a99de5123 Closes-Bug: #1886232 (cherry picked from commit b1c7c8d688956db8c9be36d1075aef2dd2614634) --- manila/share/drivers/netapp/utils.py | 2 +- ...2-netapp-fix-python-package-name-0f3ec3f2deec8887.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-1886232-netapp-fix-python-package-name-0f3ec3f2deec8887.yaml diff --git a/manila/share/drivers/netapp/utils.py b/manila/share/drivers/netapp/utils.py index 959abc8c5f..784363e4e9 100644 --- a/manila/share/drivers/netapp/utils.py +++ b/manila/share/drivers/netapp/utils.py @@ -118,7 +118,7 @@ class OpenStackInfo(object): NetApp uses these fields as content for EMS log entry. """ - PACKAGE_NAME = 'python-manila' + PACKAGE_NAME = 'python3-manila' def __init__(self): self._version = 'unknown version' diff --git a/releasenotes/notes/bug-1886232-netapp-fix-python-package-name-0f3ec3f2deec8887.yaml b/releasenotes/notes/bug-1886232-netapp-fix-python-package-name-0f3ec3f2deec8887.yaml new file mode 100644 index 0000000000..4786aa2371 --- /dev/null +++ b/releasenotes/notes/bug-1886232-netapp-fix-python-package-name-0f3ec3f2deec8887.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + Fixed `bug #1886232 `_ + that causes an INFO message saying the python-manila package was not found. + Now, the package name was updated to python3-manila. This fix solves only in + the case that the user installed the manila using the default packages found + in OS.