<div dir="ltr"><div>bug created:<br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1161629">https://bugzilla.redhat.com/show_bug.cgi?id=1161629</a><br><br><br></div>Thanks for the info!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-07 14:53 GMT+01:00 Amador Pahim <span dir="ltr"><<a href="mailto:apahim@redhat.com" target="_blank">apahim@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
<div>On 11/07/2014 10:36 AM, Koen Vanoppen
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Ok, so, is there a other way? So we can query also
vm's who are created more than 30 days?<br>
</div>
</blockquote>
<br>
<br></span>
We have it on database, but I don't see it exposed on API:<br>
<br>
engine=# select vm_static.vm_name, <a href="http://users.name" target="_blank">users.name</a>, users.domain from
vm_static, users where vm_static.created_by_user_id = users.user_id;<br>
-[ RECORD 1 ]-----<br>
vm_name | vm01<br>
name | admin<br>
domain | internal<br>
-[ RECORD 2 ]-----<br>
vm_name | test<br>
name | admin<br>
domain | internal<br>
...<br>
<br>
Please open a bugzilla ticket for it.<div><div class="h5"><br>
<br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">2014-11-07 14:17 GMT+01:00 Sven Kieske
<span dir="ltr"><<a href="mailto:s.kieske@mittwald.de" target="_blank">s.kieske@mittwald.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<br>
On 07/11/14 12:18, Yair Zaslavsky wrote:<br>
> Well, at first I thought this should be done by
browsing the permissions collection in REST-API, but then
I realized that we can get this info from the events<br>
> for example -<br>
><br>
> <YOUR_URL>:/api/events<br>
><br>
> then you will see something like -<br>
><br>
> Vm my-vm-13 was created by <a href="mailto:abc@acme.com" target="_blank">abc@acme.com</a><br>
<br>
</span>imho this is not sufficient, because the events are
just stored for the<br>
last 30 days by default. If you want to collect this
information for<br>
a 31 days old vm, afaik you will get no information via this
method.<br>
<br>
--<br>
Mit freundlichen Grüßen / Regards<br>
<br>
Sven Kieske<br>
<br>
Systemadministrator<br>
Mittwald CM Service GmbH & Co. KG<br>
Königsberger Straße 6<br>
32339 Espelkamp<br>
T: <a href="tel:%2B49-5772-293-100" value="+495772293100" target="_blank">+49-5772-293-100</a><br>
F: <a href="tel:%2B49-5772-293-333" value="+495772293333" target="_blank">+49-5772-293-333</a><br>
<a href="https://www.mittwald.de" target="_blank">https://www.mittwald.de</a><br>
Geschäftsführer: Robert Meyer<br>
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG
Bad Oeynhausen<br>
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG
Bad Oeynhausen<br>
<div>
<div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>