[jira] [Created] (STRATOS-870) Moving from normal threads to executor services

2014-10-04 Thread Rajkumar Rajaratnam (JIRA)
Rajkumar Rajaratnam created STRATOS-870: --- Summary: Moving from normal threads to executor services Key: STRATOS-870 URL: https://issues.apache.org/jira/browse/STRATOS-870 Project: Stratos

Re: [Hangout] Stratos Cluster Monitoring Improvement - Design and Code review

2014-10-04 Thread Lahiru Sandaruwan
+1.. It is specially designed for this kinda work. Thanks. On Sun, Oct 5, 2014 at 11:53 AM, Nirmal Fernando wrote: > +1 this was a long due one. We have to do the same for all Threads used in > Stratos code. > > On Sun, Oct 5, 2014 at 11:50 AM, Rajkumar Rajaratnam > wrote: > >> Hi, >> >> I hav

Re: [Hangout] Stratos Cluster Monitoring Improvement - Design and Code review

2014-10-04 Thread Nirmal Fernando
+1 this was a long due one. We have to do the same for all Threads used in Stratos code. On Sun, Oct 5, 2014 at 11:50 AM, Rajkumar Rajaratnam wrote: > Hi, > > I have done the changes as in the previous mail. > > I am proposing one more changes to cluster monitors. > > Shall we use java executor

Re: [Hangout] Stratos Cluster Monitoring Improvement - Design and Code review

2014-10-04 Thread Rajkumar Rajaratnam
Hi, I have done the changes as in the previous mail. I am proposing one more changes to cluster monitors. Shall we use java executor services instead of thread sleep? For example, we are sleeping the thread in cluster monitors to monitor the cluster periodically. Instead, if we use ScheduledEx

Re: issue creating portion

2014-10-04 Thread Udara Liyanage
Hi, Great. Touched, not typed. Erroneous words are a feature, not a typo.

Re: issue creating portion

2014-10-04 Thread Jayanath Liyanage
yes it works thanks issue was open stack On Fri, Oct 3, 2014 at 6:00 PM, Udara Liyanage wrote: > Hi, > > The issue occurs when Stratos manager could not connect to AutoScaler. > Could you please check whether AutoScaler is running on as.lgcc.gov.lk >

Re: [Discuss] Hierarchical Locking for Topology

2014-10-04 Thread Lahiru Sandaruwan
Hi Isuru, Looks like a good move to improve the efficiency, On Fri, Oct 3, 2014 at 3:05 PM, Isuru Haththotuwa wrote: > I did the initial changes, at the testing phase now. For an example, if we > need to add a new Service, we do not need to lock everything now. We an > only acquire the write lo

Re: Getting following Exception

2014-10-04 Thread Imesh Gunaratne
Hi Lahiru/Udara, Thanks for the information, now I can remember we implemented this feature to pass user data in vCloud. Thanks On Sat, Oct 4, 2014 at 11:40 PM, Lahiru Sandaruwan wrote: > Hi Imesh, > > I think jclouds uses this call to pass the customization script that we > pass at instance s

Re: Getting following Exception

2014-10-04 Thread Lahiru Sandaruwan
Hi Imesh, I think jclouds uses this call to pass the customization script that we pass at instance start-up. We use that script since we cannot pass a payload like in other IaaSes. Found following in code, which supports my guess, #regenerate keys /bin/rm /etc/ssh/ssh_host_* /usr/sbin/dpkg-reconf

Re: Getting following Exception

2014-10-04 Thread Udara Liyanage
Hi Imesh, VCloud does not support user data, so we execute a script in VCloud to get a similar behavior. That script is executed by JClouds via a ssh session. Touched, not typed. Erroneous words are a feature, not a typo.

Re: Stratos and Kuburnetes and docker support.

2014-10-04 Thread Imesh Gunaratne
Great! Thanks for the clarification! The term "replicas" was bit confusing, that's why. On Tue, Sep 23, 2014 at 1:26 PM, Nirmal Fernando wrote: > Hi Imesh, > > On Tue, Sep 23, 2014 at 12:00 PM, Imesh Gunaratne > wrote: > >> Regarding health monitoring in containers, as discussed the best approa

Re: Shall we plan for a 4.1.0-M2 developer preview?

2014-10-04 Thread Imesh Gunaratne
Have we version-ed the APIs? IMO we should add the API version to the context (if not specified redirected to latest) and keep the older versions of the API for some time period before removing them. This should be clearly mentioned in the documentation. On Fri, Oct 3, 2014 at 2:31 PM, Nirmal Fern

Re: Getting following Exception

2014-10-04 Thread Imesh Gunaratne
Hi Lahiru, I'm just curious, what's the purpose of using SSH here? Thanks On Fri, Oct 3, 2014 at 11:39 PM, Lahiru Sandaruwan wrote: > Hi Vinod, > > It seems the cloud controller(jclouds) client has timed out due a failure > of SSH call. > Did the instance get created despite this error? > > Co

Re: [Discuss] Hierarchical Locking for Topology

2014-10-04 Thread Imesh Gunaratne
Hi Isuru, I think we need to be little careful when doing this, because the reason for locking the complete tree at the root level was that we wanted to make sure that operations that read the topology consider a snapshot of the tree to take a decision. If we manage locks in the middle of the tre

Re: Recently done hangouts are not listed in Stratos website

2014-10-04 Thread Madhura Mendis
I have updated the videos. http://stratos.apache.org/events/hangouts.html On Sat, Oct 4, 2014 at 8:54 PM, Nguyen Anh Tu wrote: > Thanks all, guys! > > --Tuna > > On Sat, Oct 4, 2014 at 2:22 PM, Manula Chathurika Thantriwatte < > manu...@wso2.com> wrote: > >> Thanks Madhura. >> >> On Fri, Oct 3,

Re: Supporting dynamically build / publish docker images in cartridge deployment

2014-10-04 Thread Imesh Gunaratne
Hi Sajith, Thanks for the clarification, it sounds good. Thanks -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos

Re: Recently done hangouts are not listed in Stratos website

2014-10-04 Thread Nguyen Anh Tu
Thanks all, guys! --Tuna On Sat, Oct 4, 2014 at 2:22 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Thanks Madhura. > > On Fri, Oct 3, 2014 at 11:13 PM, Madhura Mendis wrote: > >> Sure I'll update the videos >> >> On Fri, Oct 3, 2014 at 9:40 PM, Manula Chathurika Thantriwatte <

Re: Recently done hangouts are not listed in Stratos website

2014-10-04 Thread Manula Chathurika Thantriwatte
Thanks Madhura. On Fri, Oct 3, 2014 at 11:13 PM, Madhura Mendis wrote: > Sure I'll update the videos > > On Fri, Oct 3, 2014 at 9:40 PM, Manula Chathurika Thantriwatte < > manu...@wso2.com> wrote: > >> Hi, >> >> $subject. @Madhura, can you please update the Stratos site [1] with >> recent hangou