Hi Dave,

I've implemented this feature. Starting from 4.6, the list VM API will
accept "userid" field to list VMs created by a user. In vm_instance
table, a new columen user_id will hold this information.

More information here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Allow+VM+listing+by+User+ID


On Thursday 13 November 2014 05:06 PM, David Williams wrote:
Hi all,

Is this mailing list the right place to raise feature requests? If so, I have a 
small one.

I think it would be handy if the userid of the user that created a VM was 
recorded in the database in the vm_instance table. Currently, the only way I 
know of to find the user that deployed a VM is by checking the logs. There's an 
owner field in the vm_instance table but this seems to be the account ID of the 
account the user belongs to.

By being able to find the user that deployed a VM, it makes VM cleanups much 
easier since you know who to contact for each VM. A similar thing in the other 
tables for the other resources would be useful too when trying to cleanup 
networks and volumes, etc. Also, if this change went ahead, then the API and 
GUI could be changed also to show the user details for the VM when listing the 
VM's details.

Thanks,

Dave

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England & Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to