Bug 1591373 - Flood of deprecation warnings in api.log file
Summary: Flood of deprecation warnings in api.log file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-manila
Version: 10.0 (Newton)
Hardware: All
OS: All
low
low
Target Milestone: z9
: 10.0 (Newton)
Assignee: Tom Barron
QA Contact: Dustin Schoenbrun
mmurray
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-14 14:52 UTC by Alex Stupnikov
Modified: 2022-08-09 09:41 UTC (History)
6 users (show)

Fixed In Version: openstack-manila-3.0.0-12.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, Manila emitted unhelpful warnings about ignored keywords on every wsgi request. As a result, log efficiency was reduced. With this update, the unhelpful warnings no longer appear in logs.
Clone Of:
Environment:
Last Closed: 2018-09-17 16:59:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
unexpected warning messages (1.39 KB, text/plain)
2018-06-14 14:52 UTC, Alex Stupnikov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1776947 0 None None None 2018-06-14 17:36:22 UTC
OpenStack gerrit 575517 0 None master: MERGED manila: Remove confusing DB deprecation messages (I95e99b26f416bbf25cfd1c8f7295f3ba6220efb3) 2018-07-06 15:30:15 UTC
Red Hat Issue Tracker OSP-9162 0 None None None 2022-08-09 09:41:17 UTC
Red Hat Product Errata RHBA-2018:2671 0 None None None 2018-09-17 17:00:21 UTC

Description Alex Stupnikov 2018-06-14 14:52:26 UTC
Created attachment 1451443 [details]
unexpected warning messages

Description of problem:

It looks like manila client is not aligned with manila services. As a result every request generates multiple warning messages about deprecated properties. Those messages are useless, since customer can't fix them.

I believe that we should either update the client, or change severity of those messages to DEBUG.

Please check attached deprecation_warnings.log for additional details.

Comment 1 Tom Barron 2018-06-14 19:25:00 UTC
Thanks for this bug report.  It makes very clear what is wrong with these warnings: they make it sound like the OpenStack user, cloud administrator, or deployer should *do* something to make them go away whereas in fact the only way to make them go away would be to do some re-factoring internal to the manila codebase.  It can't be fixed by changing or updating the client, though it was very reasonable to think that given these messages.

We have proposed changes upstream to get rid of these warnings altogether: https://review.openstack.org/#/c/575517/

Comment 2 Alex Stupnikov 2018-06-15 06:18:09 UTC
Hi Tom. Thank you for detailed feedback and quick reaction. BR, Alex.

Comment 3 Alan Bishop 2018-06-27 13:04:12 UTC
Targeting this for 13z (Tom, please update if you have another target in mind). Upstream patch has merged.

Comment 4 Alex Stupnikov 2018-06-27 13:18:18 UTC
I would like to note that IMO the fix looks good for backporting to RHOSP 10. Since RHOSP 10 will be here for a while, I think it will make sense to backport the patch to it.

BR, Alex.

Comment 5 Tom Barron 2018-06-27 14:02:27 UTC
(In reply to Alex Stupnikov from comment #4)
> I would like to note that IMO the fix looks good for backporting to RHOSP
> 10. Since RHOSP 10 will be here for a while, I think it will make sense to
> backport the patch to it.
> 
> BR, Alex.

I agree.

Comment 14 Alex McLeod 2018-09-03 08:01:45 UTC
Hi there,

If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field.

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Thanks,
Alex

Comment 16 errata-xmlrpc 2018-09-17 16:59:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2671


Note You need to log in before you can comment on or make changes to this bug.