We get scheduler json configuration too fast

Bug #1625882 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
huangtianhua
Newton
Fix Committed
Medium
huangtianhua

Bug Description

Now we allow to get scheduler configuration too fast, due we don't set the flag 'last_checked' after we checked, the value of flag 'last_checked' is always None,
but the original logic is that we don't have to check the changes of scheduler configuration within 5 minutes again.

Tags: scheduler
Changed in nova:
assignee: nobody → huangtianhua (huangtianhua)
Changed in nova:
status: New → In Progress
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

Not sure I understand the problem ? Could you please explain what's wrong with the scheduler ?

Changed in nova:
status: In Progress → Incomplete
tags: added: scheduler
Changed in nova:
status: Incomplete → In Progress
Changed in nova:
assignee: huangtianhua (huangtianhua) → Ed Leafe (ed-leafe)
Changed in nova:
assignee: Ed Leafe (ed-leafe) → John Garbutt (johngarbutt)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 95d56a89b144af32e0a61f3574554b50460e16c8
Author: huangtianhua <email address hidden>
Date: Tue Jul 19 17:55:59 2016 +0800

    Set 'last_checked' flag if start to check scheduler file

    Set 'last_checked' to make sure won't get scheduler json
    configuration too fast.

    Closes-Bug: #1625882
    Change-Id: I97acefeacce7a8508d1eb9cb3205367a14be8d86

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/396556

Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Medium
assignee: John Garbutt (johngarbutt) → huangtianhua (huangtianhua)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/newton)

Reviewed: https://review.openstack.org/396556
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ff110d2a37e3cb90064d490fdffcace54ea19c6d
Submitter: Jenkins
Branch: stable/newton

commit ff110d2a37e3cb90064d490fdffcace54ea19c6d
Author: huangtianhua <email address hidden>
Date: Tue Jul 19 17:55:59 2016 +0800

    Set 'last_checked' flag if start to check scheduler file

    Set 'last_checked' to make sure won't get scheduler json
    configuration too fast.

    Closes-Bug: #1625882
    Change-Id: I97acefeacce7a8508d1eb9cb3205367a14be8d86
    (cherry picked from commit 95d56a89b144af32e0a61f3574554b50460e16c8)

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

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

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

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

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.