<div dir="ltr">Hi Kevin-<div><br></div><div>Thanks for the reply and making me understand the data flow.</div><div><br></div><div>I have one more doubt in plate.</div><div><br></div><div>I see that in api-paste.ini, with respect to the online available documentation <a href="https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst">https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst</a></div>
<div><br></div><div>I see that the auth_host, auth_port, admin_tenant_name, admin_user, admin_password etc... are all hard coded. </div><div><br></div><div>But then, suppose that we have "N" number of compute nodes.where we have agents running which might need these variables for all the variables, these options must be manually hardcoded.<br>
</div><div><br></div><div>Also we set these variables as environmental variables.</div><div><br></div><div>How can we refer the Environmental variables for the variables in the configuration files?</div><div><br></div><div>
Can you guide me understand the issue.</div><div><br></div><div>Thanks in advance</div><div><br></div><div>-</div><div>Trinath</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 2:09 AM, Kevin L. Mitchell <span dir="ltr"><<a href="mailto:kevin.mitchell@rackspace.com" target="_blank">kevin.mitchell@rackspace.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, 2012-12-06 at 23:58 +0530, Trinath Somanchi wrote:<br>
> Suppose, we have a resquest to Nova..<br>
><br>
> The following steps are performed...<br>
><br>
> 1. The request is captured by webob and is authenticated by keystone<br>
> and is decorated to wsgi app<br>
<br>
</div>Not quite correct; webob decorates (some of) the functions called, so<br>
all functions in the WSGI stack end up having the WSGI calling<br>
convention ("func(env, start_response)").  The bulk of the middleware<br>
uses the webob wsgify decorator, but there are some exceptions<br>
(auth_token being one of them).  Other than that point, this is correct.<br>
<div class="im"><br>
> 2. Nova-api maps the url params to extensions<br>
<br>
</div>nova-api maps the URIs to controller classes and methods on those<br>
classes (it uses the routes package to accomplish this).  Some of those<br>
classes are extensions, rather than core; some of those interfaces are<br>
further extended by the extensions (the extensions infrastructure can<br>
accomplish both).  IOW, you are essentially correct…<br>
<div class="im"><br>
> 3. Nova-api extensions return the data dict.. Which webob returns as<br>
> response to the request in json/xml format...<br>
<br>
</div>Well, it's nova that serializes the data dict to the appropriate format;<br>
webob just handles the mechanics of sending the serialized data back,<br>
along with appropriate HTTP headers.  The serialization framework is a<br>
little complicated, so let's omit it for now…<br>
<div class="im"><br>
> 4. Paste-api helps the keystone and other modules for update of the<br>
> request...<br>
<br>
</div>PasteDeploy builds the processing pipeline based on the values in<br>
api-paste.ini and friends, putting the middleware into the correct<br>
order, with the final application at the end of the chain.  (Note that<br>
middleware is *not* extension, but rather additional processing done on<br>
the request as a whole.)<br>
<div class="im"><br>
> Kindly please help me by validating my understanding ...<br>
<br>
</div>I think you've fairly well understood most of it, aside from some<br>
subtleties that I've tried to correct above.<br>
<div class="HOEnZb"><div class="h5">--<br>
Kevin L. Mitchell <<a href="mailto:kevin.mitchell@rackspace.com">kevin.mitchell@rackspace.com</a>><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div>+91 9866 235 130</div><br>
</div>