cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus <shadow...@gmail.com>
Subject Re: how to detect when deployDataCenter.py has finished provisioning?
Date Sun, 30 Mar 2014 15:03:28 GMT
I don't remember that script actually installing any templates. There's
just the built-in template that is there even before the zone. Or is this
specific to your devcloud.cfg?

In my tests, after running deployDataCenter.py I call registerTemplate and
install my own tiny template, then with the result of that I query the
status of it via listTemplates until the template is ready.
On Mar 29, 2014 2:26 PM, "chris snow" <chsnow123@gmail.com> wrote:

> Hi Santhosh,  downloading the templates seem to be the last thing to
> finish, and that doesn't complete until quite some time after the
> deployDataCenter command has finished.
>
> On Sat, Mar 29, 2014 at 7:56 PM, Santhosh Edukulla
> <santhosh.edukulla@citrix.com> wrote:
> > Though the call is asynchronous from CS, deployDataCenter( or
> marvinRequest from apiclient )  does verifies the  job status as either
> completed or failed etc, if the command is async, in a way runs
> synchronously from script point of view.
> >
> > Which task you see is running asynchronously from deployDataCenter point
> of view?
> >
> > Santhosh
> > ________________________________________
> > From: chris snow [chsnow123@gmail.com]
> > Sent: Saturday, March 29, 2014 2:06 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: how to detect when deployDataCenter.py has finished
> provisioning?
> >
> > Thanks looks promising Alex - thank you!
> >
> > On Sat, Mar 29, 2014 at 5:38 PM, Alex Hitchins
> > <alex.hitchins@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.hitchins@shapeblue.com
> >>
> >> -----Original Message-----
> >> From: chris snow [mailto:chsnow123@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
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message