Re: [Error] Too many files open error when running Stratos

2015-04-14 Thread Isuru Haththotuwa
I will look in to this Martin. On Wed, Apr 15, 2015 at 4:22 AM, Martin Eppel (meppel) wrote: > I have been out for a few days so I am not sure on the status of this > issue but I rerun the test (leaving stratos running idle) for a few hours > with the latest commits from today, April 14 > (comm

Re: Group Level Deployment Policy and Cartridge Level Deployment Policy

2015-04-14 Thread Vanson Lim
On 4/9/15, 8:19 AM, Reka Thirunavukkarasu wrote: Hi All, We have discussed about the handling deployment policy in group level and caridge level in multiple other mails. I have started to look into https://issues.apache.org/jira/browse/STRATOS-1297 and thought of discussing my concerns before i

RE: [Error] Too many files open error when running Stratos

2015-04-14 Thread Martin Eppel (meppel)
I have been out for a few days so I am not sure on the status of this issue but I rerun the test (leaving stratos running idle) for a few hours with the latest commits from today, April 14 (commit 7b09bc1534c5708a47a7b61ae0a83f96957e7eeb, Author: Chamila de Alwis cham...@apache.org

Re: Apache Stratos 4.1.0 on Kubernetes

2015-04-14 Thread david hbase
Thanks, I am working with the heat now. I will keep team updated. -D On Wed, Apr 8, 2015 at 9:44 PM, Lakmal Warusawithana wrote: > Hi devs, > > If someone has cycles please see [1] for setup kubernetes on OpenStacks > > [1]https://github.com/metral/corekube > > > On Thu, Apr 9, 2015 at 10:11 AM

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-14 Thread Chamila De Alwis
I think the API endpoint "/kubernetes/update/host" was to be modified to "/kubernetesClusters/{kubernetesClusterId}/minions/{minionId}" in the earlier REST API refactoring[1]. But it seems this particular method has been excluded for the update. The use of this endpoint has been questioned earlier[

Re: [Discuss] Error handling in the REST API

2015-04-14 Thread Chamila De Alwis
Hi Imesh, On Tue, Apr 14, 2015 at 11:44 PM, Imesh Gunaratne wrote: > IMO the UI should be able to read HTTP status code. If we are including > another status/error code attribute, it may needs to include a set of > Stratos specific status/error codes. > Agreed. The CLI is another code segment w

Re: [Discuss] Error handling in the REST API

2015-04-14 Thread Imesh Gunaratne
IMO the UI should be able to read HTTP status code. If we are including another status/error code attribute, it may needs to include a set of Stratos specific status/error codes. On Tue, Apr 14, 2015 at 8:52 PM, Chamila De Alwis wrote: > Hi Imesh, > > The status code duplication seems to be to a

Re: [Q] Why is the samples hierarchy so long in 4.1.0-kubernetes-v6/

2015-04-14 Thread Imesh Gunaratne
I just fixed the above samples zip file. Thanks On Tue, Apr 14, 2015 at 9:07 PM, Imesh Gunaratne wrote: > There are couple of problems here. First of all in [1] we should not refer > [2], these are two different versions. Second, it's my fault that I have > zipped the samples folder in [2] incl

Re: [Q] Why is the samples hierarchy so long in 4.1.0-kubernetes-v6/

2015-04-14 Thread Imesh Gunaratne
There are couple of problems here. First of all in [1] we should not refer [2], these are two different versions. Second, it's my fault that I have zipped the samples folder in [2] including several other user specific folders, I will fix that. Thanks On Sun, Apr 12, 2015 at 11:10 PM, Chamila De

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-14 Thread Imesh Gunaratne
I think this confusion has made because a Kubernetes Host can be a Master or a Minion. We should be able to update both master and minion nodes. In terms of the API endpoint, it could say /kubernetesCluster/{kubernetesClusterId}/hosts and each host could be either a master or a minion. Thanks On

Re: [Discuss] Error handling in the REST API

2015-04-14 Thread Chamila De Alwis
Hi Imesh, The status code duplication seems to be to accommodate UI requirements. AFAIU the SuccessResponseBean and ErrorResponseBean are serialized in to JSON which is displayed in the UI message pop ups. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwi

Re: [Discuss] Error handling in the REST API

2015-04-14 Thread Imesh Gunaratne
Correct, the API should not raise exceptions as the client would not know how to decode them. Yes, currently there is some space for improvements in $subject. I also noted few problems in the error message format we have used (duplicating HTTP status code, attribute name "successMessage", etc). We

[jira] [Assigned] (STRATOS-1274) Wrong HTTP status code returned - DELETE /cartridges/{cartridgeType}

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis reassigned STRATOS-1274: - Assignee: Mariangela Hills > Wrong HTTP status code returned - DELETE /cartridg

[jira] [Commented] (STRATOS-1274) Wrong HTTP status code returned - DELETE /cartridges/{cartridgeType}

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494426#comment-14494426 ] Chamila de Alwis commented on STRATOS-1274: --- Hi Mary, The case for returning

[jira] [Assigned] (STRATOS-1270) Wrong HTTP output - DELETE /deploymentPolicies/{deploymentPolicyId}

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis reassigned STRATOS-1270: - Assignee: Chamila de Alwis > Wrong HTTP output - DELETE /deploymentPolicies/{de

[jira] [Assigned] (STRATOS-1270) Wrong HTTP output - DELETE /deploymentPolicies/{deploymentPolicyId}

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis reassigned STRATOS-1270: - Assignee: Mariangela Hills (was: Chamila de Alwis) > Wrong HTTP output - DELET

[jira] [Comment Edited] (STRATOS-1270) Wrong HTTP output - DELETE /deploymentPolicies/{deploymentPolicyId}

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494413#comment-14494413 ] Chamila de Alwis edited comment on STRATOS-1270 at 4/14/15 5:15 PM: --

[jira] [Commented] (STRATOS-1270) Wrong HTTP output - DELETE /deploymentPolicies/{deploymentPolicyId}

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494413#comment-14494413 ] Chamila de Alwis commented on STRATOS-1270: --- Hi Mary, It is allowed to return

[jira] [Resolved] (STRATOS-1260) Two different status codes appear when adding a user

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-1260. --- Resolution: Fixed Fix Version/s: 4.1.0 RC1 > Two different status codes appea

[jira] [Commented] (STRATOS-1260) Two different status codes appear when adding a user

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494325#comment-14494325 ] Chamila de Alwis commented on STRATOS-1260: --- Fixed in d42e63efb600e4cdfcd6d9f3

[jira] [Resolved] (STRATOS-1320) Two different status codes appear when updating a Kubernetes-CoreOS host

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-1320. --- Resolution: Fixed Fix Version/s: 4.1.0 RC1 > Two different status codes appea

[jira] [Commented] (STRATOS-1320) Two different status codes appear when updating a Kubernetes-CoreOS host

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494322#comment-14494322 ] Chamila de Alwis commented on STRATOS-1320: --- Fixed in 7b09bc1534c5708a47a7b61a

[jira] [Commented] (STRATOS-1268) Two different status codes appear - PUT /deploymentPolicies

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494269#comment-14494269 ] Chamila de Alwis commented on STRATOS-1268: --- Fixed in d42e63efb600e4cdfcd6d9f3

[jira] [Resolved] (STRATOS-1268) Two different status codes appear - PUT /deploymentPolicies

2015-04-14 Thread Chamila de Alwis (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chamila de Alwis resolved STRATOS-1268. --- Resolution: Fixed Fix Version/s: 4.1.0 RC1 > Two different status codes appea