[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
This commit is contained in:
debeltrami 2020-07-06 11:31:36 +00:00
parent 764bf1064f
commit b1c7c8d688
2 changed files with 9 additions and 1 deletions

View File

@ -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'

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Fixed `bug #1886232 <https://bugs.launchpad.net/manila/+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.