OpenStack Compute (Nova)

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

Reported by Joe Gordon on 2011-10-28
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Joe Gordon
Diablo
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'

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
Nachi Ueno (nati-ueno) wrote :

This should be diablo backported.

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) on 2011-11-09
Changed in nova:
milestone: none → essex-1

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) on 2011-11-17
Changed in nova:
status: Fix Committed → Fix Released
Nachi Ueno (nati-ueno) on 2011-11-17
Changed in openstack-qa:
status: New → Fix Released

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
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) on 2011-12-20
tags: added: verification-done
removed: verification-needed
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers