<div dir="ltr"><div>Hi,</div><div><br></div><div>nova-compute hasn't direct access to DB only scheduler, conductor and API can use it.</div><div>See schema: <a href="http://docs.openstack.org/developer/nova/architecture.html">http://docs.openstack.org/developer/nova/architecture.html</a>.</div><div><br></div><div>I think for your case you could write some script (ansible, puppet?) to collect data and nova-manage command to update DB.</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 5:07 PM, KHAN, RAO ADNAN <span dir="ltr"><<a href="mailto:rk221s@att.com" target="_blank">rk221s@att.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">I want to collect an *extra_resource* info from compute node(s) and add it in to the compute_nodes table. I like to understand how nova-compute interacts with DB currently.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="color:rgb(31,56,100)">Rao Adnan Khan<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="color:rgb(31,56,100)">AT&T Integrated Cloud (AIC) Development | SE<br>
Software Development & Engineering (SD&E)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:rgb(38,38,38)">Emai: </span><span style="font-size:10pt;color:rgb(38,38,38)"><a href="mailto:rk221s@att.com" target="_blank"><span style="color:rgb(38,38,38)">rk221s@att.com</span></a></span><span style="font-size:10pt;color:rgb(38,38,38)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:rgb(38,38,38)">Cell phone: 972-342-5638<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:rgb(31,56,100)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:rgb(50,62,79)">RESTRICTED - PROPRIETARY INFORMATION<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:rgb(50,62,79)">This email is the property of AT&T and intended solely for the use of the addressee. If you have reason to believe you have received this in error, please delete this immediately; any other use,
 retention, dissemination, copying or printing of this email is strictly prohibited.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,56,100)"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Thanks,</div><div><br></div><div>Andrey Volkov,</div><div>Software Engineer, <span style="font-size:12.8px">Mirantis</span></div></div></div></div></div></div>
</div></div></div>