Placement - Make association_refresh configurable

Bug #1767309 reported by Belmiro Moreira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Surya Seetharaman
Queens
Fix Committed
Medium
Surya Seetharaman

Bug Description

In Queens the provider-tree refresh happens every 5 min (also in master).
ASSOCIATION_REFRESH = 300

For large deployments this creates unnecessary load in placement.
This option should be configurable.

related with:
https://review.openstack.org/#/c/535517/

Tags: placement
Changed in nova:
assignee: nobody → Surya Seetharaman (tssurya)
tags: added: placemen
tags: added: placement
removed: placemen
Revision history for this message
Matt Riedemann (mriedem) wrote :

Add this as a config option on master with a default being the same as the hard-coded value today (300), and include a 'fixes' release note with it since this isn't a feature.

Changed in nova:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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/565526
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=41d6b479fe8baf66578044b8773c3b892d64a2c4
Submitter: Zuul
Branch: master

commit 41d6b479fe8baf66578044b8773c3b892d64a2c4
Author: Surya Seetharaman <email address hidden>
Date: Tue May 1 17:51:10 2018 +0200

    Make association_refresh configurable

    The provider-tree refresh in the SchedulerReportClient() instance
    of each compute node happens every five minutes as it is hard coded.
    This patch adds this update interval as a new config option which
    can be set/changed on each compute node.

    Change-Id: I00f92aac44d7b0169f94940ef389796c782b0cc1
    Closes-Bug: #1767309

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/566288

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.openstack.org/566288
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3a39cfc471953f95b692c15ce2175bf92035a2da
Submitter: Zuul
Branch: stable/queens

commit 3a39cfc471953f95b692c15ce2175bf92035a2da
Author: Surya Seetharaman <email address hidden>
Date: Tue May 1 17:51:10 2018 +0200

    Make association_refresh configurable

    The provider-tree refresh in the SchedulerReportClient() instance
    of each compute node happens every five minutes as it is hard coded.
    This patch adds this update interval as a new config option which
    can be set/changed on each compute node.

    Conflicts:
        nova/conf/compute.py - because 197539d7a050042463802f6ece98473bbbf9743b
        is missing in Queens.
        nova/scheduler/client/report.py - because f05e6279d092f9d53291ddf69c99a71bfe3989bf
        is missing in Queens.

    Change-Id: I00f92aac44d7b0169f94940ef389796c782b0cc1
    Closes-Bug: #1767309
    (cherry picked from commit 41d6b479fe8baf66578044b8773c3b892d64a2c4)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 17.0.4

This issue was fixed in the openstack/nova 17.0.4 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 18.0.0.0b2

This issue was fixed in the openstack/nova 18.0.0.0b2 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.