<div dir="ltr"><div>i'd look at ceilometer's code base. you'd want to tap into the message queue as ceilometer does for billing.<br><br></div>-matt<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jun 27, 2014 at 5:13 AM, yangmin zhu <span dir="ltr"><<a href="mailto:zym0017d@gmail.com" target="_blank">zym0017d@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
I want to record a user's operation for later audit purpose. For<br>
example, A user may start/reboot/shutdown a VM using nova command from<br>
terminal or using the dashboard from browser.<br>
<br>
How can I record this action and it's result to a log file(or some<br>
other database) for later check? And I also want to do this for user's<br>
operations in cinder and nova-network, such as creating a volume or<br>
assigning a floating ip to a VM.<br>
<br>
Is there any existing solution for this purpose? If not, where and how<br>
should I start to do it myself by modifying the current nova's(or<br>
cinder, nova-network) code?<br>
<br>
Thank you very much!<br>
<br>
---<br>
zym<br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote></div><br></div>