Browse Source

[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 b1c7c8d688)
changes/75/779475/1
debeltrami 1 year ago
committed by Vida Haririan
parent
commit
6b9532eebc
  1. 2
      manila/share/drivers/netapp/utils.py
  2. 8
      releasenotes/notes/bug-1886232-netapp-fix-python-package-name-0f3ec3f2deec8887.yaml

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

8
releasenotes/notes/bug-1886232-netapp-fix-python-package-name-0f3ec3f2deec8887.yaml

@ -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.
Loading…
Cancel
Save