Mailing List Archive

Re: [Openstack] compute_nodes DB table
thanks a lot for the guidance...


On Mon, Aug 6, 2012 at 12:57 PM, Michael Still
<michael.still@canonical.com>wrote:

> On 06/08/12 16:47, Trinath Somanchi wrote:
> > Hi-
> >
> > Can any one guide me on understanding the process that updates the
> > compute_nodes table in nova database.
>
> nova-compute on each compute node sends a regular message to the
> nova-scheduler on the scheduler node with an update of its status. These
> are saved into that table. You can see these updates in your log:
>
> 2012-08-06 17:25:59 DEBUG nova.scheduler.host_manager
> [req-4549b72e-83e5-4617-9a6b-81c17609c83e None None] Received compute
> service update from molokai. from (pid=5003) update_service_capabilities
> /usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py:273
>
> Cheers,
> Mikal
>



--
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130
Re: [Openstack] compute_nodes DB table [ In reply to ]
On 06/08/12 16:47, Trinath Somanchi wrote:
> Hi-
>
> Can any one guide me on understanding the process that updates the
> compute_nodes table in nova database.

nova-compute on each compute node sends a regular message to the
nova-scheduler on the scheduler node with an update of its status. These
are saved into that table. You can see these updates in your log:

2012-08-06 17:25:59 DEBUG nova.scheduler.host_manager
[req-4549b72e-83e5-4617-9a6b-81c17609c83e None None] Received compute
service update from molokai. from (pid=5003) update_service_capabilities
/usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py:273

Cheers,
Mikal

--
Mailing list: https://launchpad.net/~netstack
Post to : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help : https://help.launchpad.net/ListHelp
Re: [Openstack] compute_nodes DB table [ In reply to ]
Hi,

The interval can be managed via the periodic_interval flag in nova.conf,
which is by default 60 sec

Cheers!


On Mon, Aug 6, 2012 at 9:40 AM, Trinath Somanchi <trinath.somanchi@gmail.com
> wrote:

> thanks a lot for the guidance...
>
>
>
> On Mon, Aug 6, 2012 at 12:57 PM, Michael Still <
> michael.still@canonical.com> wrote:
>
>> On 06/08/12 16:47, Trinath Somanchi wrote:
>> > Hi-
>> >
>> > Can any one guide me on understanding the process that updates the
>> > compute_nodes table in nova database.
>>
>> nova-compute on each compute node sends a regular message to the
>> nova-scheduler on the scheduler node with an update of its status. These
>> are saved into that table. You can see these updates in your log:
>>
>> 2012-08-06 17:25:59 DEBUG nova.scheduler.host_manager
>> [req-4549b72e-83e5-4617-9a6b-81c17609c83e None None] Received compute
>> service update from molokai. from (pid=5003) update_service_capabilities
>> /usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py:273
>>
>> Cheers,
>> Mikal
>>
>
>
>
> --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>