Re: [Q] Forcefully undeploying an application

2015-05-13 Thread Udara Liyanage
Hi David, Glad to hear. On Thu, May 14, 2015 at 9:14 AM, david hbase wrote: > Hi, Udara > > Yes, You are right, just keep wait about several seconds later, It's will > be undeployed. > > Thanks > -D > > On Mon, May 11, 2015 at 10:25 PM, Udara Liyanage wrote: > >> Hi David, >> >> Did all the me

Re: [Q] Forcefully undeploying an application

2015-05-13 Thread david hbase
Hi, Udara Yes, You are right, just keep wait about several seconds later, It's will be undeployed. Thanks -D On Mon, May 11, 2015 at 10:25 PM, Udara Liyanage wrote: > Hi David, > > Did all the members/instances get terminated when you undeploy forcefully. > Or else could you share the complete

Re: [Q] Forcefully undeploying an application

2015-05-11 Thread Udara Liyanage
Hi David, Did all the members/instances get terminated when you undeploy forcefully. Or else could you share the complete carbon log. Forceful undeployment invokes graceful undeployment process too, this will take sometime to terminate all instances. So you need to wait till forceful undeployment

Re: [Q] Forcefully undeploying an application

2015-05-10 Thread david hbase
Hi, Udara Before and after the force undeploying the status are Deployed. root@stratos41beta2a:~# root@stratos41beta2a:~# curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin https:// ${host_ip}:${host_port}/api/applications/single-cartridge-app01 * About to connect() to localhost

Re: [Q] Forcefully undeploying an application

2015-05-10 Thread Udara Liyanage
Hi Mari, It is not yet available in CLI, need to add. On Mon, May 11, 2015 at 10:16 AM, Udara Liyanage wrote: > Hi David, > > Could you please show the status of the application by executing below > command after undeployment. Ideally application status should be CREATED if > undeployed success

Re: [Q] Forcefully undeploying an application

2015-05-10 Thread Udara Liyanage
Hi David, Could you please show the status of the application by executing below command after undeployment. Ideally application status should be CREATED if undeployed successfully. Does this work if you undeploy gracefully? curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin htt

Re: [Q] Forcefully undeploying an application

2015-05-10 Thread david hbase
Hi, Devs I have tested with curl, it's not working. The outputs have been attached as following: root@stratos41beta2a:~# root@stratos41beta2a:~# curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin https://localhost:9443/api/applications/single-cartridge-app01/undeploy?force=true

[Q] Forcefully undeploying an application

2015-05-10 Thread Mariangela Hills
Hi Devs, Can an application be forcefully undeployed via CLI like it can be done via REST API [1]? [1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Forcefully+Undeploying+an+Application+via+REST+API Regards, Mariangela *--* *Mariangela Hills* PMC Member & Committer of Apache St