typo in nova/scheduler/driver.py assert_compute_node_has_enough_memory()

Bug #883233 reported by Joe Gordon
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Joe Gordon
Diablo
Fix Released
Undecided
Unassigned
OpenStack Quality Assurance
Fix Released
Undecided
Joe Gordon

Bug Description

In nova/scheduler/driver.py assert_compute_node_has_enough_memory() when it throws an exception it gives the reason as:

reason = _("Unable to migrate %(instance_id)s to %(dest)s: "
               "Lack of disk(host:%(avail)s <= instance:%(mem_inst)s)")

It should say do to 'Lack of memory'

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

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

 status fixcommitted
 done

commit fbe692f9d727ff1f96b960794f637f26a85a61cb
Author: Joe Gordon <email address hidden>
Date: Fri Oct 28 12:20:55 2011 -0700

    fixes bug 883233.
    Added to Authors
    fix typo in scheduler/driver.py assert_compute_node_has_enough_memory.

    Change-Id: I21a17c9f2d147febd0035c6f396b6956696627da

Changed in nova:
status: New → Fix Committed
Revision history for this message
Nachi Ueno (nati-ueno) wrote :

This should be diablo backported.

Revision history for this message
Joe Gordon (jogo) wrote :

I proposed a patch to packport the bug fix for stable/diablo

https://review.openstack.org/#change,1282

Changed in nova:
assignee: nobody → Joe Gordon (joe-gordon0)
Changed in openstack-qa:
assignee: nobody → Joe Gordon (joe-gordon0)
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/1282
Committed: http://github.com/openstack/nova/commit/476c3259b1bb7cfe647aed4ac4a523d6fadff475
Submitter: Jenkins
Branch: stable/diablo

 status fixcommitted
 done

commit 476c3259b1bb7cfe647aed4ac4a523d6fadff475
Author: Joe Gordon <email address hidden>
Date: Wed Nov 2 16:21:21 2011 -0700

    fixes bug 883233.

    fix typo in scheduler/driver.py assert_compute_node_has_enough_memory.

    (cherry picked from commit fbe692f9d727ff1f96b960794f637f26a85a61cb)

    Change-Id: Idce87927a35b5986c970e6293428b3a5fddd00e4

Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Nachi Ueno (nati-ueno)
Changed in openstack-qa:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Joe, or anyone else affected,

Accepted nova into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Confirming the nova-scheduler 2011.3+git20111117-0ubuntu1 package currently available in oneiric-proposed fixes this issue.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
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.