bad deprecation warning for "Registering resources to apply quota limits"

Bug #1504312 reported by Matthew Edmonds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Ihar Hrachyshka

Bug Description

The following deprecation warning appears to be logged in all cases, regardless of neutron or other configuration.

2015-09-18 10:59:40.472 20552 WARNING neutron.quota [-] Deprecated: Registering resources to apply quota limits to using the quota_items option is deprecated as of Liberty.Resource REST controllers should take care of registering resources with the quota engine.

That should only be printed when things are configured/working in a way that we now want to deprecate... not always.

Found with Liberty.

Sridhar Venkat (svenkat)
Changed in neutron:
assignee: nobody → Sridhar Venkat (svenkat)
Sridhar Venkat (svenkat)
Changed in neutron:
status: New → Confirmed
status: Confirmed → In Progress
Changed in neutron:
importance: Undecided → Low
tags: added: logging low-hanging-fruit usability
tags: added: liberty-rc-potential
Changed in neutron:
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/233244

Akihiro Motoki (amotoki)
tags: added: liberty-backport-potential
removed: liberty-rc-potential
Changed in neutron:
assignee: Sridhar Venkat (svenkat) → Ihar Hrachyshka (ihar-hrachyshka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/233244
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=578957f735806a468b0ac2f7584fb3b5b4e8bf80
Submitter: Jenkins
Branch: master

commit 578957f735806a468b0ac2f7584fb3b5b4e8bf80
Author: Sridhar Venkat <email address hidden>
Date: Thu Oct 8 17:27:39 2015 -0400

    Remove duplicate deprecation messages for quota_items option

    The option is already marked for deprecation using oslo.config
    mechanism, so there is no need to output more warnings here.

    Change-Id: I5db439a0b87c49a52f3f5c063d0fd90819f3e932
    Closes-Bug: #1504312

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/250793

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.0.0.0b1

This issue was fixed in the openstack/neutron 8.0.0.0b1 development milestone.

Changed in neutron:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/liberty)

Reviewed: https://review.openstack.org/250793
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2d1eaf3639b51ac602c1eb641dabb57eaf4cc5dd
Submitter: Jenkins
Branch: stable/liberty

commit 2d1eaf3639b51ac602c1eb641dabb57eaf4cc5dd
Author: Sridhar Venkat <email address hidden>
Date: Thu Oct 8 17:27:39 2015 -0400

    Remove duplicate deprecation messages for quota_items option

    The option is already marked for deprecation using oslo.config
    mechanism, so there is no need to output more warnings here.

    Change-Id: I5db439a0b87c49a52f3f5c063d0fd90819f3e932
    Closes-Bug: #1504312
    (cherry picked from commit 578957f735806a468b0ac2f7584fb3b5b4e8bf80)

tags: added: in-stable-liberty
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 7.0.2

This issue was fixed in the openstack/neutron 7.0.2 release.

tags: removed: liberty-backport-potential
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.