Thanks looks promising Alex - thank you! On Sat, Mar 29, 2014 at 5:38 PM, Alex Hitchins <alex.hitch...@shapeblue.com> wrote: > Chris, > > Just did a quick search, is this what you are looking for? > > http://cloudstack.apache.org/docs/api/apidocs-4.0.0/user/queryAsyncJobResult.html > > > > Regards > > Alex Hitchins > > D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969 > > alex.hitch...@shapeblue.com > > -----Original Message----- > From: chris snow [mailto:chsnow...@gmail.com] > Sent: 29 March 2014 17:18 > To: dev@cloudstack.apache.org > Subject: how to detect when deployDataCenter.py has finished provisioning? > > I am using the following script to setup my development environment: > > python /home/vagrant/cloudstack/tools/marvin/marvin/deployDataCenter.py > -i /home/vagrant/devcloud.cfg > > This script seems to run asynchronously; tasks get performed after the script > has successfully returned. > > Is there a way that I can detect when the provisioning operations have > finished, either successfully or unsuccessfully? > > Preferably, I would like to detect completion using a script, so a manually > checking such as logging in to the UI and checking somewhere will not work > for me. > > Many thanks, > > Chris > 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.1 training<http://shapeblue.com/cloudstack-training/> > 18th-19th February 2014, Brazil. > Classroom<http://shapeblue.com/cloudstack-training/> > 17th-23rd March 2014, Region A. Instructor led, > On-line<http://shapeblue.com/cloudstack-training/> > 24th-28th March 2014, Region B. Instructor led, > On-line<http://shapeblue.com/cloudstack-training/> > 16th-20th June 2014, Region A. Instructor led, > On-line<http://shapeblue.com/cloudstack-training/> > 23rd-27th June 2014, Region B. 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.
-- Check out my professional profile and connect with me on LinkedIn. http://lnkd.in/cw5k69