Isn't there a master user account for a project? This account holds resources for that project, including vms.
You could list all user accounts in a project and find the 'master' account and use migrate VM command? > On 19 Jan 2014, at 15:48, Rafael Weingartner <rafaelweingart...@gmail.com> > wrote: > > I saw that command, but, reading the docs, it seems that it just > migrate VMs between accounts. > > On Sat, Jan 18, 2014 at 6:22 AM, Geoff Higginbottom > <geoff.higginbot...@shapeblue.com> wrote: >> Rafael, >> >> There is a migrate VM API command that allows you to move a VM to another >> account, it might work with projects as we'll but I have not tried it. >> >> http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/assignVirtualMachine.html >> >> >> Regards >> >> Geoff Higginbottom >> CTO / Cloud Architect >> >> >> D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 >> 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581> >> >> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | >> www.shapeblue.com<htp://www.shapeblue.com/> >> >> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N >> 4HS<x-apple-data-detectors://37> >> >> >> >> On 18 Jan 2014, at 00:47, "Rafael Weingartner" >> <rafaelweingart...@gmail.com<mailto:rafaelweingart...@gmail.com>> wrote: >> >> Hi, >> I was wondering, is it possible to move a running VM to a project? If >> so, how could I do that? I know that I can do that working directly on >> the database, but this would be an error prone job. >> >> -- >> Rafael Weing?rtner >> Need Enterprise Grade Support for Apache CloudStack? >> Our CloudStack Infrastructure >> Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the >> best 24/7 SLA for CloudStack Environments. >> >> Apache CloudStack Bootcamp training courses >> >> **NEW!** CloudStack 4.2 training<http://shapeblue.com/cloudstack-training/> >> 08/09 January 2014, London<http://shapeblue.com/cloudstack-training/> >> 13-17 January 2014, GLOBAL. Instructor led, >> On-line<http://shapeblue.com/cloudstack-training/> >> 20-24 January 2014, GLOBAL. Instructor led, >> On-line<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 is a registered >> trademark. > > > > -- > Rafael Weingärtner