Re: [Discuss] Kubernetes Work Flow for 4.1.0 Release

2014-12-19 Thread Imesh Gunaratne
Thanks for the feedback Lakmal! On Fri, Dec 19, 2014 at 7:54 PM, Lakmal Warusawithana wrote: > +1 Imesh, this is what in mind also. > > On Fri, Dec 19, 2014 at 7:35 PM, Imesh Gunaratne wrote: >> >> Hi Devs, >> >> As we have now removed Kubernetes specific cluster monitoring logic in >> Autoscal

[GitHub] stratos pull request: Messaging model changes and MQTT integration

2014-12-19 Thread johannnallathamby
Github user johannnallathamby commented on a diff in the pull request: https://github.com/apache/stratos/pull/50#discussion_r22122620 --- Diff: components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/topic/instance/status/InstanceStatusEventMess

[GitHub] stratos pull request: Messaging model changes and MQTT integration

2014-12-19 Thread johannnallathamby
Github user johannnallathamby commented on a diff in the pull request: https://github.com/apache/stratos/pull/50#discussion_r22122521 --- Diff: components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/publisher/TenantEventPublisher.java --- @@ -38,78 +38,83 @

[GitHub] stratos pull request: Messaging model changes and MQTT integration

2014-12-19 Thread johannnallathamby
Github user johannnallathamby commented on a diff in the pull request: https://github.com/apache/stratos/pull/50#discussion_r22122471 --- Diff: components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/listener/InstanceStatusListener.java --- @@ -26,71 +31,108

[GitHub] stratos pull request: Messaging model changes and MQTT integration

2014-12-19 Thread johannnallathamby
Github user johannnallathamby commented on a diff in the pull request: https://github.com/apache/stratos/pull/50#discussion_r22122404 --- Diff: components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerDSComponent.java ---

Re: Why it is trying ec2.us-east-1.amazonaws

2014-12-19 Thread Nirmal Fernando
It's the default endpoint URL that Jclouds uses (since we do not explicitly specify the jclouds.endpoints property.). It's the other parameters passed to API which really defines the region etc. not the EP url. You could enable jclouds.wire to find more information about API calls make by Jclouds.

Re: Why it is trying ec2.us-east-1.amazonaws

2014-12-19 Thread Sumedha Kodithuwakku
Hi all, I also got the same issue.. But importing the certificate didn't work for me.. Am I doing something wrong..? On Fri, Dec 19, 2014 at 9:33 AM, Udara Liyanage wrote: > > > On Fri, Dec 19, 2014 at 9:36 PM, Sajith Kariyawasam > wrote: >> >> What I'm not clear is why CC sends a request to

Re: Why it is trying ec2.us-east-1.amazonaws

2014-12-19 Thread Udara Liyanage
On Fri, Dec 19, 2014 at 9:36 PM, Sajith Kariyawasam wrote: > > What I'm not clear is why CC sends a request to > *https://ec2.us-east-1.amazonaw > *s.com (us-east) endpoint, while the > defined regions are ap-southeast? > > Same bothers me, though problem is resol

Re: Why it is trying ec2.us-east-1.amazonaws

2014-12-19 Thread Sajith Kariyawasam
What I'm not clear is why CC sends a request to *https://ec2.us-east-1.amazonaw *s.com (us-east) endpoint, while the defined regions are ap-southeast? On Fri, Dec 19, 2014 at 8:12 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > > Hi, > > IMO is we s

Re: NPE in DefaultApplicationParser when a service group was not found

2014-12-19 Thread Isuru Haththotuwa
We used to have this earlier, I added this check myself. Not sure how it got removed, but definitely should be validated. On Fri, Dec 19, 2014 at 10:41 AM, Reka Thirunavukkarasu wrote: > > +1 for implementing application validation which we are not having at the > moment. > > Thanks, > Reka > > O

Re: Why it is trying ec2.us-east-1.amazonaws

2014-12-19 Thread Manula Chathurika Thantriwatte
Hi, IMO is we should keep our own trust store for Stratos, but I'm not sure it encounter any problem. Thanks ! On Fri, Dec 19, 2014 at 1:58 PM, Udara Liyanage wrote: > > Hi, > > We need to update the carbon trust store and ship with Stratos. Currently > truststore is coming from kernel, we have

Re: [Discuss] Kubernetes Work Flow for 4.1.0 Release

2014-12-19 Thread Lakmal Warusawithana
+1 Imesh, this is what in mind also. On Fri, Dec 19, 2014 at 7:35 PM, Imesh Gunaratne wrote: > > Hi Devs, > > As we have now removed Kubernetes specific cluster monitoring logic in > Autoscaler we could now use standard Cloud Controller service methods for > managing VM instances and containers.

[Discuss] Kubernetes Work Flow for 4.1.0 Release

2014-12-19 Thread Imesh Gunaratne
Hi Devs, As we have now removed Kubernetes specific cluster monitoring logic in Autoscaler we could now use standard Cloud Controller service methods for managing VM instances and containers. This will make sure that Autoscaling logic will work the same way for any type of a cartridge. The idea i

[GitHub] stratos pull request: Re-base and merge the PR#157

2014-12-19 Thread swgkg
GitHub user swgkg opened a pull request: https://github.com/apache/stratos/pull/158 Re-base and merge the PR#157 This PR contains the followings. Update the class with String format for string generation Update error handling in rest API and meta data service Upd

[Discuss] Removing Kubernetes Cluster Monitors and Contexts in Autoscaler

2014-12-19 Thread Imesh Gunaratne
Hi Devs, As I found we are not using Kubernetes cluster monitors and cotexts in Autoscaler any more. All the clusters are managed by VM Cluster Monitor. As a result I have done $subject and renamed VM Cluster Monitor to Cluster Monitor and VM Cluster Context to Cluster Context. Thanks -- Imes

[GitHub] stratos pull request: Add the rest api operation for list cartridg...

2014-12-19 Thread swgkg
Github user swgkg commented on the pull request: https://github.com/apache/stratos/pull/136#issuecomment-67627905 Thanks Nuwan. This is changed with PR#157 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread swgkg
Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r2218 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/CarbonRegistry.java --- @@ -31,44 +31,121 @@

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread swgkg
Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22099924 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/GRegRegistry.java --- @@ -18,91 +18,199 @@

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread swgkg
Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22099926 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/GRegRegistry.java --- @@ -18,91 +18,199 @@

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread swgkg
Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22098774 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/services/MetaDataAdmin.java --- @@ -24,36 +43,67 @@

[GitHub] stratos pull request: Meta data service improvement with code refa...

2014-12-19 Thread swgkg
Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/119#discussion_r22098577 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/CarbonRegistry.java --- @@ -112,7 +116,7 @@

[GitHub] stratos pull request: Meta data service improvement with code refa...

2014-12-19 Thread swgkg
Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/119#discussion_r22098538 --- Diff: components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Util.java --- @@ -94,12 +101,17 @@ else if (isNumber(array[0

Re: Application undeployment does not complete if application is not ACTIVE

2014-12-19 Thread Imesh Gunaratne
A good point Udara, may be we will need to introduce a periodical check in cluster monitor to cross check the status of the cluster and notify the parent monitor. On Fri, Dec 19, 2014 at 1:56 PM, Udara Liyanage wrote: > > Hi, > > I think we need to fix [1], otherwise users will not be able to und

[GitHub] stratos pull request: Add the rest api operation for list cartridg...

2014-12-19 Thread swgkg
Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/136#discussion_r22096345 --- Diff: components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java --- @@ -725,6 +725,91 @@ stat

[GitHub] stratos pull request: Meta data service improvement with code refa...

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/119#discussion_r22095407 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/CarbonRegistry.java --- @@ -112,7 +116,7 @@

Re: What is the python agent info log location

2014-12-19 Thread Chamila De Alwis
Hi Udara, It seems the log_file handler is somehow dropped from the handlers list. I will commit the fix soon. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Fri, Dec 19, 2014 at 2:13 PM, Udara Liyanage wrote: > > Hi, > > Please find the lo

[GitHub] stratos pull request: Meta data service improvement with code refa...

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/119#discussion_r22095342 --- Diff: components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Util.java --- @@ -94,12 +101,17 @@ else if (isNumber(array[

[GitHub] stratos pull request: Update the categary of cartridge as a mandat...

2014-12-19 Thread swgkg
Github user swgkg commented on the pull request: https://github.com/apache/stratos/pull/145#issuecomment-67613970 Thanks Ramith. Yeah StringUtils.isBlank() is more suitable there. It will cover with PR#157 --- If your project is set up for it, you can reply to this email an

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22095113 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/services/MetaDataAdmin.java --- @@ -24,36 +43,67 @@

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22095069 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/GRegRegistry.java --- @@ -18,91 +18,199 @@

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22095051 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/GRegRegistry.java --- @@ -18,91 +18,199 @@

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22095005 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/CarbonRegistry.java --- @@ -31,44 +31,121 @@

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/84#discussion_r22094985 --- Diff: components/org.apache.stratos.metadataservice/src/main/java/org/apache/stratos/metadataservice/registry/CarbonRegistry.java --- @@ -31,44 +31,121 @@

Re: What is the python agent info log location

2014-12-19 Thread Udara Liyanage
Hi, Please find the loging config withing the instance. [formatters] keys=default [formatter_default] format=%(asctime)s:%(levelname)s:%(message)s class=logging.Formatter [handlers] keys=console, error_file [handler_console] class=logging.StreamHandler formatter=default args=tuple() [handler_

Re: What is the python agent info log location

2014-12-19 Thread Chamila De Alwis
Hi Udara, It might be something wrong with the logger configuration. I will look in to that. In the meanwhile, you can use the /tmp/agent.screen.log, as it contains every output from the agent process. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.co

[GitHub] stratos pull request: Rest api StratosApiV41Utils.java Refactor

2014-12-19 Thread swgkg
GitHub user swgkg opened a pull request: https://github.com/apache/stratos/pull/157 Rest api StratosApiV41Utils.java Refactor This PR contains the followings. 1. Add the String.format for error message handling. 2. Add method doc comment. You can merge this pull request

Re: What is the python agent info log location

2014-12-19 Thread Udara Liyanage
On Fri, Dec 19, 2014 at 1:21 PM, Chamila De Alwis wrote: > > Hi Udara, > > There should be an agent.log file alongside the error.log file. The other > location is the /tmp/agent.screen.log. > /tmp/agent.screen.log is there, however agent.log is not there. > > Regards, > Chamila de Alwis > Software

Re: Why it is trying ec2.us-east-1.amazonaws

2014-12-19 Thread Udara Liyanage
Hi, We need to update the carbon trust store and ship with Stratos. Currently truststore is coming from kernel, we have to keep a truss tore of our own then. On Fri, Dec 19, 2014 at 1:13 PM, Udara Liyanage wrote: > > Hi, > > I think that worked. Thanks Raj. > > > On Fri, Dec 19, 2014 at 12:09 PM

[GitHub] stratos pull request: Update the categary of cartridge as a mandat...

2014-12-19 Thread ramith
Github user ramith commented on a diff in the pull request: https://github.com/apache/stratos/pull/145#discussion_r22094207 --- Diff: components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java --- @@ -108,6 +108,9 @@ publ

Application undeployment does not complete if application is not ACTIVE

2014-12-19 Thread Udara Liyanage
Hi, I think we need to fix [1], otherwise users will not be able to undeploy the application/ cleanup instances if application did not become ACTIVE [1] https://issues.apache.org/jira/browse/STRATOS-1046 -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middlewa