<div dir="ltr">Hi Alexander,<div><br></div><div>Yes, as it was said it should be read only user, credentials should be environment specific.</div><div>Also in case if credentials were changed we should notify the user and provide a way to</div><div>change credentials in Nailgun.</div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 2:02 PM, Alexander Kislitsky <span dir="ltr"><<a href="mailto:akislitsky@mirantis.com" target="_blank">akislitsky@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Folks,<div><br></div><div>We are collecting OpenStack workloads stats. For authentication in the keystone we are using admin user credentials from Nailgun. Credentials can be changed directly in the OpenStack and we will loose possibility of fetching information.</div><div><br></div><div>This issue can be fixed by creation additional user account:</div><div><ol><li>I propose to generate additional user credentials after master node is installed and store it into master_node_settings table in the Nailgun.<br></li><li>Add abstraction layer into <a href="https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/statistics/utils.py#L47" target="_blank">https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/statistics/utils.py#L47</a> for creating additional user in the OpenStack if it isn't exists.</li></ol><div>But this additional user can be useful for other purposes and may be we should save credentials in other place (settings.yaml for example). And may be creation of the additional user should be implemented outside of stats collecting feature and may be outside of Nailgun.</div></div><div><br></div><div>Please share your thoughts on this.</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" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>