[Openstack] Cannot pass hint to Nova Scheduler

2012-08-02 Thread Heng Xu
Hi folks: I am new to openstack, I am current trying to test the json filter, I changed my /etc/nova/nova.conf as follow scheduler_driver=nova. scheduler.multi.MultiScheduler compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

Re: [Openstack] Cannot pass hint to Nova Scheduler

2012-08-02 Thread Heng Xu
...@isi.edu] Sent: Thursday, August 02, 2012 3:28 PM To: Heng Xu Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] Cannot pass hint to Nova Scheduler Heng, Does scheduler log show any error message or complaints? Thanks, Joseph (w) 703-248-6160 (f) 703-812-3712 http://www.east.isi.edu

Re: [Openstack] Cannot pass hint to Nova Scheduler

2012-08-02 Thread Heng Xu
...@gmail.com] Sent: Thursday, August 02, 2012 4:42 PM To: Heng Xu Cc: Joseph Suh; openstack@lists.launchpad.net Subject: Re: [Openstack] Cannot pass hint to Nova Scheduler Hi Heng, The log should be in /var/log/nova/nova-scheduler.log. PJ On Thu, Aug 2, 2012 at 10:44 AM, Heng Xu shouhengzhang

Re: [Openstack] Cannot pass hint to Nova Scheduler

2012-08-02 Thread Heng Xu
+shouhengzhang.xu=mail.utoronto...@lists.launchpad.net [openstack-bounces+shouhengzhang.xu=mail.utoronto...@lists.launchpad.net] on behalf of Heng Xu [shouhengzhang...@mail.utoronto.ca] Sent: Thursday, August 02, 2012 4:47 PM To: Pengjun Pan Cc: openstack@lists.launchpad.net Subject: Re: [Openstack

Re: [Openstack] Cannot pass hint to Nova Scheduler

2012-08-02 Thread Heng Xu
Hi, attached is the json_filter file I was used, but I it just came with devstack script installation, I did not even modify it. Heng From: Pengjun Pan [panpeng...@gmail.com] Sent: Thursday, August 02, 2012 6:07 PM To: Heng Xu Cc: openstack

Re: [Openstack] Cannot pass hint to Nova Scheduler

2012-08-03 Thread Heng Xu
@uberbox:~/repos/tempest$ echo '[=,$free_ram_mb,1024]' | python -mjson.tool [ =, $free_ram_mb, 1024 ] Best, -jay On 08/02/2012 02:09 PM, Heng Xu wrote: Hi, attached is the json_filter file I was used, but I it just came with devstack script installation, I did not even modify

Re: [Openstack] Cannot pass hint to Nova Scheduler

2012-08-03 Thread Heng Xu
-bounces+shouhengzhang.xu=mail.utoronto...@lists.launchpad.net] on behalf of Heng Xu [shouhengzhang...@mail.utoronto.ca] Sent: Friday, August 03, 2012 12:08 PM To: Jay Pipes; openstack@lists.launchpad.net Subject: Re: [Openstack] Cannot pass hint to Nova Scheduler Thank you guys, my issue is solved

Re: [Openstack] Cannot pass hint to Nova Scheduler

2012-08-04 Thread Heng Xu
[jaypi...@gmail.com] Sent: Friday, August 03, 2012 4:38 PM To: Heng Xu Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] Cannot pass hint to Nova Scheduler On 08/03/2012 09:28 AM, Heng Xu wrote: Another questions is, I can get all the status of a computing node in the mysql nova database

[Openstack] Experimenting with additional field for JSON filter

2012-08-13 Thread Heng Xu
Hello my friends, I was trying to experiment with some of the scheduler’s functionality, as a mock-up, I was trying to augment the JSON filter’s functionality, JSON filter can filter anything in HostState class’s member fields, and I was trying to get the ID of a compute node, as in the

[Openstack] Question regarding who the nova database is updated

2012-08-28 Thread Heng Xu
Hi folks: I was trying to add a new column to the Nova database table compute_nodes. however, I was not sure of how it is updated periodically, all I know is that comsume_from_instance() function in host_manager.py update the memory, then I was not able to find how nova subsequently update the