Re: [openstack-dev] Nova-database update

2015-08-03 Thread Pradeep Kiruvale
Hi Matt,

Thanks for your reply.

You mean to say what needs to be used for the scheduling ( CPUS, RAM,
Storage etc ) has to be put into the Nova DB by implementing the  APIs in
every Nova compute server?
These implementations acts as a nova-agents ?

-Pradeep

On 31 July 2015 at 18:03, Matt Riedemann  wrote:

>
>
> On 7/31/2015 9:27 AM, Pradeep Kiruvale wrote:
>
>> Hi All,
>>
>>
>> I am new to openstack. I have a problem in understanding of
>> Nova-database update with the resources information.
>>
>> My understanding after going through the architecture documents and code
>> is Nova-Database is the one which stores the resource information about
>> the compute servers. The Nova-Scheduler is responsible to place a VM on
>> a correct compute node where the resources are available. Nova-compute
>> is responsible for creating the VMs/Containers etc.
>>
>> The question here is who actually updates the in real time the resource
>> information in the Nova-Database by reading the resources information
>> from the compute servers/nodes?
>>
>> I have read about agents are responsible for this, but I dint get which
>> code does that. Can any one please help me in clarifying my doubt and
>> please guide me for the code  which does that.
>>
>>
>> Thanks in advance
>>
>> Cheers,
>> Pradeep
>>
>>
>>
>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> Mostly nova-conductor but sometimes also nova-api.  Pretty much anything
> that imports nova.db.api.
>
> This might be helpful:
>
>
> http://docs.openstack.org/developer/nova/architecture.html?highlight=architecture
>
> --
>
> Thanks,
>
> Matt Riedemann
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Nova-database update

2015-07-31 Thread Pradeep Kiruvale
Hi All,


I am new to openstack. I have a problem in understanding of Nova-database
update with the resources information.

My understanding after going through the architecture documents and code is
Nova-Database is the one which stores the resource information about the
compute servers. The Nova-Scheduler is responsible to place a VM on a
correct compute node where the resources are available. Nova-compute is
responsible for creating the VMs/Containers etc.

The question here is who actually updates the in real time the resource
information in the Nova-Database by reading the resources information from
the compute servers/nodes?

I have read about agents are responsible for this, but I dint get which
code does that. Can any one please help me in clarifying my doubt and
please guide me for the code  which does that.


Thanks in advance

Cheers,
Pradeep
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev