The scheduler runs a useless periodic task to expire quota reservations

Bug #1719048 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Zhenyu Zheng

Bug Description

Quota reservations were removed in the Pike release, but there is still a periodic task in the scheduler manager that runs every minute to expire reservations, which won't actually do anything. We should remove all of this code.

https://github.com/openstack/nova/blob/6b0ab40e4233a480c9bdcca657f594d7e90fadc8/nova/scheduler/manager.py#L84

Matt Riedemann (mriedem)
tags: added: low-hanging-fruit
Changed in nova:
assignee: nobody → Zhenyu Zheng (zhengzhenyu)
Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/506822
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f2d01c3c6a14aabd86b811501771c0bb2860a74b
Submitter: Jenkins
Branch: master

commit f2d01c3c6a14aabd86b811501771c0bb2860a74b
Author: Kevin_Zheng <email address hidden>
Date: Sat Sep 23 09:35:37 2017 +0800

    Remove useless periodic task that expires quota reservations

    Quota reservations were removed in the Pike release, but there is still a
    periodic task in the scheduler manager that runs every minute to expire
    reservations, which won't actually do anything.

    This patch remove this periodic task and related codes.

    Change-Id: Idae069e8cf6ce69e112de08a22c94b6b590f9a69
    Closes-bug: #1719048

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 17.0.0.0b1

This issue was fixed in the openstack/nova 17.0.0.0b1 development milestone.

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.