manila.conf has "standard_extenstions" typo

Bug #2011786 reported by Vern Hart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Manila Charm
Fix Committed
Medium
Neil Campbell

Bug Description

Am getting the following error in /var/log/apache2/manila_error.log when restarting apache2:

  [Thu Mar 16 04:40:49.107752 2023] [wsgi:error] [pid 252468:tid 140664973539072] 2023-03-16 04:40:49.107 252468 WARNING manila.api.extensions [-] Failed to load extension manila.api.contrib.standard_extenstions: Class standard_extenstions cannot be found (['Traceback (most recent call last):\\n', ' File "/usr/lib/python3/dist-packages/oslo_utils/importutils.py", line 32, in import_class\\n return getattr(sys.modules[mod_str], class_str)\\n', "AttributeError: module 'manila.api.contrib' has no attribute 'standard_extenstions'\\n"]).\x1b[00m

And, indeed, when I look at the manila.conf I see:

  osapi_share_extension = manila.api.contrib.standard_extenstions

The typo (extra t in "extensions") is in all the charm templates for manila.conf.

This doesn't seem to interfere with manila's operation but an error is an error and it should be fixed.

Nobuto Murata (nobuto)
tags: added: good-first-bug
removed: low-hanging-fruit
Changed in charm-manila:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-manila (master)
Changed in charm-manila:
status: Triaged → In Progress
Changed in charm-manila:
assignee: nobody → Neil Campbell (neil-campbell)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-manila (master)

Reviewed: https://review.opendev.org/c/openstack/charm-manila/+/880935
Committed: https://opendev.org/openstack/charm-manila/commit/7e2a03b11e733fffac790eff408c9043c75ecd7f
Submitter: "Zuul (22348)"
Branch: master

commit 7e2a03b11e733fffac790eff408c9043c75ecd7f
Author: Neil Campbell <email address hidden>
Date: Thu Apr 20 09:56:27 2023 +0100

    Fix standard_extenstions typo in manila.conf templates

    Closes-Bug: #2011786

    Change-Id: I05de34774892419a8bae1e1ebf4c018222495337

Changed in charm-manila:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.