cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: enableStorageMaintenance
Date Mon, 17 Jun 2013 17:57:40 GMT


> -----Original Message-----
> From: La Motta, David [mailto:David.LaMotta@netapp.com]
> Sent: Friday, June 14, 2013 7:54 AM
> To: <dev@cloudstack.apache.org>
> Subject: enableStorageMaintenance
> 
> ...works great for putting down the storage into maintenance mode (looking
> forward seeing this for secondary storage as well!).
> 
> Now the question is, after I've run it... how do I know when it is done so I can
> operate on the volume?

enableStorageMaintenance will return a job id, which can be used in queryAsyncJobResult. Here
is the doc:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Developers_Guide/asynchronous-commands.html


> 
> Poll using updateStoragePool and query the state for "Maintenance"?  What
> about introducing the ability to pass in callback URLs to the REST call?


> 
> Thx.
> 
> 
> 
> David La Motta
> Technical Marketing Engineer
> Citrix Solutions
> 
> NetApp
> 919.476.5042
> dlamotta@netapp.com<mailto:dlamotta@netapp.com>
> 
> 


Mime
View raw message