FLAGS.reserved_host_disk_mb isn't works duo to wrong Calculation method

Bug #1042071 reported by Yaguang Tang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Yaguang Tang

Bug Description

we should assume virt_disk_size to be all consumed by instances , so when scheduler to run instances, disk consume should use free_disk_mb = local_gb - disk_available_least

Yaguang Tang (heut2008)
description: updated
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/12000

Changed in nova:
assignee: nobody → Yaguang Tang (heut2008)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/12000
Committed: http://github.com/openstack/nova/commit/b4ac6c0958d12184e1355e47d4af5b80fdc2e5a9
Submitter: Jenkins
Branch: master

commit b4ac6c0958d12184e1355e47d4af5b80fdc2e5a9
Author: Yaguang Tang <email address hidden>
Date: Mon Aug 27 15:32:30 2012 +0800

    Assume virt disk size is consumed by instances.

    Use disk_available_least other than free_disk_gb to consume.
    assume virt disk size is consumed by instances when calculate
    the available disk size.
    fix bug lp:1042071

    Change-Id: I82dc3bcfd97219085c624c81dfa47cbf0bcd4504

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → 2012.2
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.