It looks like a record gets added to the database for the 'tiny Linux' template when I run:
mvn -P developer -pl developer,tools/devcloud -Ddeploydb Does running deployDataCenter.py start the template download when the hosts gets added, or does something else start the download? Many thanks, Chris On Sun, Mar 30, 2014 at 4:05 PM, Santhosh Edukulla <santhosh.eduku...@citrix.com> wrote: > Hi Chris, > > Ok, deployDataCenter has no command to register template and so further > download it by CS. I believe its the listTemplate API which has a check to > verify related hypervisor for a template and so list only when hypervisor is > available. > > So, as such deployDataCenter is adding a host and you are seeing the template > listed only when it was run to add a host. > > Thanks! > Santhosh > ________________________________________ > From: chris snow [chsnow...@gmail.com] > Sent: Saturday, March 29, 2014 4:25 PM > To: dev@cloudstack.apache.org > Subject: Re: how to detect when deployDataCenter.py has finished provisioning? > > 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.eduku...@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 [chsnow...@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.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 > > > > -- > 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