Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Don't forget to add your new functions to nova/db/api.py as well.

Everett

On Tue, Dec 13, 2011 at 1:25 PM, Alejandro Comisario < question181803@answers.launchpad.net> wrote:

New question #181803 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/181803

Hey guys, we are making some changes on the "nova\db\sqlalchemy\api.py" and added a function to make a query to sort hosts by free ram.

After that, we modified '"nova\scheduler\simple.py" to call out brand new function, instead of the old one "service_get_all_compute_sorted" changed for "service_get_all_compute_sorted_MB"

We also added some LOGS to the nova.scheduler.manager to log the new calls, but when we restart :

CONTROLLER: nova-network , nova-scheduler, nova-api COMPUTES: libvirt-bin , nova-compute

I dont see, not only the logs, but any attempt to call out new functions, we also tried to delete all the *.pyc from the libs directory.

So, what are we missing ???

-- You received this question notification because you are an answer contact for OpenStack Compute (nova).