resource_tracker limits Ram even when RamFilter is diabled

Bug #1052157 reported by Joe Gordon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Brian Elliott

Bug Description

In Devstack:

When add 'scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter' to /etc/nova/nova.conf and restart nova-scheduler

When trying to run VMs nova-compute reports:

http://paste.openstack.org/show/20960/

In the past when RamFilter was disabled, unlimited Ram oversubscription was allowed.

Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
Joe Gordon (jogo)
tags: added: folsom-rc1
Revision history for this message
Russell Bryant (russellb) wrote :

I put this on the folsom-rc1 list to have it on the release radar since it's a regression in Folsom.

Changed in nova:
milestone: none → folsom-rc1
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → none
tags: added: folsom-rc-potential
removed: folsom-rc1
Changed in nova:
assignee: nobody → Brian Elliott (belliott)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/13336

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

Reviewed: https://review.openstack.org/13182
Committed: http://github.com/openstack/nova/commit/8e851409f3a8a345ec954a880c81232fbf9e27b4
Submitter: Jenkins
Branch: master

commit 8e851409f3a8a345ec954a880c81232fbf9e27b4
Author: Brian Elliott <email address hidden>
Date: Fri Sep 14 15:17:07 2012 +0000

    Fix bugs in resource tracker and cleanup

    Fixes bugs in resource tracker:
    * Handle disk oversubscription
    * Handle suspended/powered off instances

    The usage model is changed to the old style that is
    based on actual instance usage on a compute host.
    (Not the current point in time of the hypervisor's
     reported host stats)

    There is now a 'limits' filter property that can be passed from
    the scheduler to the compute node to indicate that
    oversubscription of resources is desired:

    The 'limits' filter property is a dict with the following possible
    keys:

    * memory_mb - Specifies the memory ceiling for the compute node.
    * disk_gb - Specifies the disk space ceiling for the compute node.
    * vcpu - Specifies the max number of vcpus for the compute node.

    There is also some general cleanup and additional unit tests in
    an attempt to simplify down this function.

    bug 1048842
    bug 1052157

    Change-Id: I6ee851b8c03234a78a64d9f5c494dfc7059cdda4

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (milestone-proposed)

Reviewed: https://review.openstack.org/13336
Committed: http://github.com/openstack/nova/commit/9d8fce85b10dc6436754040769c779b35453f4cb
Submitter: Jenkins
Branch: milestone-proposed

commit 9d8fce85b10dc6436754040769c779b35453f4cb
Author: Brian Elliott <email address hidden>
Date: Fri Sep 14 15:17:07 2012 +0000

    Fix bugs in resource tracker and cleanup

    Fixes bugs in resource tracker:
    * Handle disk oversubscription
    * Handle suspended/powered off instances

    The usage model is changed to the old style that is
    based on actual instance usage on a compute host.
    (Not the current point in time of the hypervisor's
     reported host stats)

    There is now a 'limits' filter property that can be passed from
    the scheduler to the compute node to indicate that
    oversubscription of resources is desired:

    The 'limits' filter property is a dict with the following possible
    keys:

    * memory_mb - Specifies the memory ceiling for the compute node.
    * disk_gb - Specifies the disk space ceiling for the compute node.
    * vcpu - Specifies the max number of vcpus for the compute node.

    There is also some general cleanup and additional unit tests in
    an attempt to simplify down this function.

    bug 1048842
    bug 1052157

    Change-Id: I6ee851b8c03234a78a64d9f5c494dfc7059cdda4
    (cherry picked from commit 8e851409f3a8a345ec954a880c81232fbf9e27b4)

Changed in nova:
status: Fix Committed → Fix Released
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.