the default of the scheduler.enabled_filters config is inconsistent

Bug #1709328 reported by Balazs Gibizer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Matt Riedemann

Bug Description

The default value of enabled_filters in the nova conf should either contains CoreFilter,RamFilter and DiskFilter or non of them. Today it contains only RamFilter and DiskFilter. [1]

[1] https://github.com/openstack/nova/blob/1e5c7b52a403e708dba5a069dd86b628a4cb952c/nova/conf/scheduler.py#L247-L258

Tags: scheduler
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

None seems a better option given we use by default FilterScheduler which now uses Placement for verifying the CPU, RAM and disk resources.

Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
tags: added: scheduler
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/491854

Changed in nova:
assignee: nobody → Chris Friesen (cbf123)
status: Confirmed → In Progress
Changed in nova:
assignee: Chris Friesen (cbf123) → Matt Riedemann (mriedem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 2fe96819c24eff5a9493a6559f3e8d5b4624a8c9
Author: Chris Friesen <email address hidden>
Date: Tue Aug 8 10:31:54 2017 -0600

    Remove ram/disk sched filters from default list

    Since we now use placement to verify basic CPU/RAM/disk resources,
    we should default to disabling the equivalent scheduler filters.

    Oddly enough, CoreFilter was already disabled so now also disable
    RamFilter and DiskFilter.

    Closes-Bug: #1709328
    Change-Id: Ibe1cee1cb2642f61a8d6bf9c3f6bbee4f2c2f414

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

Related fix proposed to branch: master
Review: https://review.openstack.org/492765

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

This issue was fixed in the openstack/nova 16.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

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

commit 456fd13183411a13f6315fdcd0bb905d859cb9f5
Author: jichenjc <email address hidden>
Date: Sun Jul 30 02:55:45 2017 +0800

    Remove RamFilter and DiskFilter in default filter

    commit 2fe96819c24eff5a9493a6559f3e8d5b4624a8c9
    fixed the default filter settings and in doc we should
    do it accordingly

    Related-Bug: 1709328
    Change-Id: I8a7b25e70e1d111f5a0d1db9213a58354cf9e5b1

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.