Excessive warning log in functional test due to policy deprecation

Bug #1858652 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Ghanshyam Mann

Bug Description

There are more than 1000 occurrences of the following 3 policy warning logs in the functional test output.

https://zuul.opendev.org/t/openstack/build/5ac1c62f4c194d91967b4b4fc95b8d03/log/job-output.txt#2121

Tags: testing
Changed in nova:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Balazs Gibizer (balazs-gibizer)
tags: added: testing
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/701382

Changed in nova:
status: Triaged → In Progress
Revision history for this message
Matt Riedemann (mriedem) wrote :
Matt Riedemann (mriedem)
Changed in nova:
assignee: Balazs Gibizer (balazs-gibizer) → Ghanshyam Mann (ghanshyammann)
Changed in nova:
assignee: Ghanshyam Mann (ghanshyammann) → Matt Riedemann (mriedem)
Matt Riedemann (mriedem)
Changed in nova:
assignee: Matt Riedemann (mriedem) → Ghanshyam Mann (ghanshyammann)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/700797
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b0a0a7e00aeb5afc5758377dc925f2536f4a79c1
Submitter: Zuul
Branch: master

commit b0a0a7e00aeb5afc5758377dc925f2536f4a79c1
Author: Ghanshyam Mann <email address hidden>
Date: Tue Dec 31 02:48:47 2019 +0000

    Fix the suppress of policy deprecation warnings

    oslo.policy log the deprected policy warning while loading the
    policy rule. Flag to suppress the warning was set after load_rule()
    was called.

    Moving the setting of suppress_deprecation_warnings flag before
    load_rule method is called.

    Closes-Bug: #1858652

    Change-Id: I3f30df8f0fdf76d763ee4770af074a2f4f400ee8

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Balazs Gibizer (<email address hidden>) on branch: master
Review: https://review.opendev.org/701382
Reason: Abandoning in favor of the already merged review https://review.opendev.org/#/c/700797 that fixes the problem in a better way.

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.