[ovirt-users] User management

Amador Pahim apahim at redhat.com
Fri Nov 7 13:53:12 UTC 2014


On 11/07/2014 10:36 AM, Koen Vanoppen wrote:
> Ok, so, is there a other way? So we can query also vm's who are 
> created more than 30 days?


We have it on database, but I don't see it exposed on API:

engine=# select vm_static.vm_name, users.name, users.domain from 
vm_static, users where vm_static.created_by_user_id = users.user_id;
-[ RECORD 1 ]-----
vm_name | vm01
name    | admin
domain  | internal
-[ RECORD 2 ]-----
vm_name | test
name    | admin
domain  | internal
...

Please open a bugzilla ticket for it.


>
> 2014-11-07 14:17 GMT+01:00 Sven Kieske <s.kieske at mittwald.de 
> <mailto:s.kieske at mittwald.de>>:
>
>
>
>     On 07/11/14 12:18, Yair Zaslavsky wrote:
>     > 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
>     > for example -
>     >
>     > <YOUR_URL>:/api/events
>     >
>     > then you will see something like -
>     >
>     > Vm my-vm-13 was created by abc at acme.com <mailto:abc at acme.com>
>
>     imho this is not sufficient, because the events are just stored
>     for the
>     last 30 days by default. If you want to collect this information for
>     a 31 days old vm, afaik you will get no information via this method.
>
>     --
>     Mit freundlichen Grüßen / Regards
>
>     Sven Kieske
>
>     Systemadministrator
>     Mittwald CM Service GmbH & Co. KG
>     Königsberger Straße 6
>     32339 Espelkamp
>     T: +49-5772-293-100 <tel:%2B49-5772-293-100>
>     F: +49-5772-293-333 <tel:%2B49-5772-293-333>
>     https://www.mittwald.de
>     Geschäftsführer: Robert Meyer
>     St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad
>     Oeynhausen
>     Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
>     Oeynhausen
>     _______________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141107/7114c64f/attachment-0001.html>


More information about the Users mailing list