Great work Akila! Community: please verify the release artifacts and vote!

On Sun, Aug 30, 2015 at 1:08 PM, Akila Ravihansa Perera <raviha...@wso2.com>
wrote:

> I've now fixed Kubernetes cluster update issue and marked the JIRA [1] as
> resolved. We have now completed planned fixes for 4.1.2 release.
>
> [1] https://issues.apache.org/jira/browse/STRATOS-1532
>
> On Fri, Aug 28, 2015 at 9:10 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> +1 for the integration tests Akila!
>>
>> On Fri, Aug 28, 2015 at 2:41 AM, Akila Ravihansa Perera <
>> raviha...@wso2.com> wrote:
>>
>>> We have now fixed the PCA Git push issue. Also introduced integration
>>> tests to cover those scenarios. Will proceed with the release.
>>>
>>> On Wed, Aug 26, 2015 at 3:05 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Thanks for the update Akila!
>>>>
>>>> On Wed, Aug 26, 2015 at 11:34 AM, Akila Ravihansa Perera <
>>>> raviha...@wso2.com> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> Had an offline discussion with Pubudu and he has fixed an issue in
>>>>> auto commit feature of PCA. Once the fix is merged, I'll proceed with the
>>>>> release. The fix is to stage all the files in Git repo and commit them 
>>>>> all.
>>>>> Currently we are reading unstaged files but not doing anything with it. 
>>>>> Due
>>>>> to OS platform specific behavior git command output differs thus causing
>>>>> issues in PCA.
>>>>>
>>>>> I've also improved integration tests to read the distribution file
>>>>> name and version from maven pom file instead of hard coding it to avoid
>>>>> having to rename it every time we do a release.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On Wed, Aug 26, 2015 at 9:10 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> @Akila: Would you mind giving an update on the release?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Tuesday, August 25, 2015, Akila Ravihansa Perera <
>>>>>> raviha...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> There was an issue in application deployment logic which caused a
>>>>>>> NPE to be thrown intermittently when deploying an application. The root
>>>>>>> cause of the issue was that autoscaler was creating the cluster monitors
>>>>>>> before publishing the ApplicationCreatedEvent. The cluster monitors in 
>>>>>>> turn
>>>>>>> publish the ApplicationInstanceCreatedEvent, but at the time this event 
>>>>>>> is
>>>>>>> received application context is not yet created hence causing a NPE. 
>>>>>>> I've
>>>>>>> fixed the issue by publishing the ApplicationCreatedEvent before 
>>>>>>> creating
>>>>>>> cluster monitors. Created a JIRA at [1].
>>>>>>>
>>>>>>> Since we don't have any blocking issues I'll proceed with the
>>>>>>> release.
>>>>>>>
>>>>>>> [1] https://issues.apache.org/jira/browse/STRATOS-1529
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Sun, Aug 23, 2015 at 7:41 PM, Akila Ravihansa Perera <
>>>>>>> raviha...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> Release build in process. Please hold your commits.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> On Sat, Aug 22, 2015 at 12:45 PM, Imesh Gunaratne <im...@apache.org
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Great work Akila! May be we can do the release build now.
>>>>>>>>>
>>>>>>>>> On Sat, Aug 22, 2015 at 10:28 AM, Akila Ravihansa Perera <
>>>>>>>>> raviha...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I've tested all supported IaaS types and verified the
>>>>>>>>>> functionality. Pushed jclouds 1.9.1 upgrade + GCE fix to master 
>>>>>>>>>> branch.
>>>>>>>>>> I've also added Carbon kernel patches up to patch0012 to Stratos.
>>>>>>>>>> Marked relevant JIRAs as resolved.
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> On Fri, Aug 21, 2015 at 11:35 AM, Imesh Gunaratne <
>>>>>>>>>> im...@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> A great analysis!! It's really nice to hear that you were able
>>>>>>>>>>> to identify the exact problem and come up with a way to solve it. 
>>>>>>>>>>> Great
>>>>>>>>>>> work as always!!
>>>>>>>>>>>
>>>>>>>>>>> I'm +1 to include this in 4.1.2 if we can verify all the IaaS
>>>>>>>>>>> features related to EC2, OpenStack & GCE with this modification. 
>>>>>>>>>>> IMO this
>>>>>>>>>>> change will affect all the IaaS providers. I think we need to 
>>>>>>>>>>> introduce a
>>>>>>>>>>> set of live tests to verify Stratos IaaS providers similar to the 
>>>>>>>>>>> one we
>>>>>>>>>>> have for Kubernetes. Then this process will be much easier.
>>>>>>>>>>>
>>>>>>>>>>> How about the Kernel patch upgrade? Are we also done with it?
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Aug 20, 2015 at 11:46 PM, Akila Ravihansa Perera <
>>>>>>>>>>> raviha...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>
>>>>>>>>>>>> That is totally fine since it was a blocker for the release.
>>>>>>>>>>>> But I have some news regarding the issue we had with GCE jclouds 
>>>>>>>>>>>> API. After
>>>>>>>>>>>> few days of debugging I was able to narrow down the root cause 
>>>>>>>>>>>> which turned
>>>>>>>>>>>> out to be incorrect import/export problem in OSGi bundles. All the 
>>>>>>>>>>>> bundles
>>>>>>>>>>>> in jclouds do not have proper OSGi imports for external 3rd party
>>>>>>>>>>>> dependencies. That will work as long as it does not have any 
>>>>>>>>>>>> conflicts in
>>>>>>>>>>>> OSGi run time environment. But unfortunately in our case there are 
>>>>>>>>>>>> some
>>>>>>>>>>>> conflicts with bundles coming from the kernel and other WSO2 
>>>>>>>>>>>> features which
>>>>>>>>>>>> we depend on.
>>>>>>>>>>>>
>>>>>>>>>>>> The exact reason is jclouds rely on Google Guice which is a
>>>>>>>>>>>> dependency injection framework. But guice is not an OSGi bundle in 
>>>>>>>>>>>> Maven
>>>>>>>>>>>> central. We are using guice_3.0.0.wso2v1.jar which is an orbit 
>>>>>>>>>>>> bundle in
>>>>>>>>>>>> WSO2 Nexus. This orbit bundle does not have proper OSGi export 
>>>>>>>>>>>> package
>>>>>>>>>>>> versions. The real issue is jclouds components have been hard 
>>>>>>>>>>>> wired with
>>>>>>>>>>>> guice ver. 1.3 (in MANIFEST.MF file) although it actually needs 
>>>>>>>>>>>> guice ver.
>>>>>>>>>>>> 3.0. And this WSO2 orbit bundle is somehow wired to export guice 
>>>>>>>>>>>> ver. 1.3.
>>>>>>>>>>>> I've no idea why these bundles got wired that way and I couldn't 
>>>>>>>>>>>> find any
>>>>>>>>>>>> guice version of 1.3 in Maven central which is really weird. Now 
>>>>>>>>>>>> even
>>>>>>>>>>>> though we include guice ver. 3.0 in OSGi environment, it got wired 
>>>>>>>>>>>> with 1.3
>>>>>>>>>>>> version which is provided by WSO2 orbit bundle and since that is 
>>>>>>>>>>>> not the
>>>>>>>>>>>> bundle it actually needs we ran into multiple run time issues with 
>>>>>>>>>>>> GCE. It
>>>>>>>>>>>> seems this incompatibility only exists for GCE IaaS provider, but 
>>>>>>>>>>>> it is
>>>>>>>>>>>> likely that we might run into issues with other IaaS types too.
>>>>>>>>>>>>
>>>>>>>>>>>> As a fix for this problem, I had to wrap all the jclouds
>>>>>>>>>>>> components that we need in separate pom files and specify the 
>>>>>>>>>>>> correct OSGi
>>>>>>>>>>>> imports/exports in them. I had to specify the correct 
>>>>>>>>>>>> imports/exports in
>>>>>>>>>>>> cloud controller component as well. Note that I have *not* forked 
>>>>>>>>>>>> any
>>>>>>>>>>>> jclouds code here. Only that I had to wrap them with correct OSGi
>>>>>>>>>>>> parameters.
>>>>>>>>>>>>
>>>>>>>>>>>> I've tested the GCE IaaS type and I'm able to spawn instances.
>>>>>>>>>>>> I'm currently testing other IaaS types for regression issues. I 
>>>>>>>>>>>> had to do
>>>>>>>>>>>> some code refactoring in cloud controller to support GCE because 
>>>>>>>>>>>> there are
>>>>>>>>>>>> some additional limitations for group name when creating a node. I
>>>>>>>>>>>> introduced a method 'public String getGroupName(MemberContext
>>>>>>>>>>>> memberContext, byte[] payload)' in 'Iaas' class in CC component 
>>>>>>>>>>>> and provide
>>>>>>>>>>>> a default implementation there and overrode it in GCE Iaas.
>>>>>>>>>>>>
>>>>>>>>>>>> Do you think we should include these changes + jclouds 1.9.1 to
>>>>>>>>>>>> our next release? I'll arrange a public code review to go through 
>>>>>>>>>>>> the
>>>>>>>>>>>> changes.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Aug 20, 2015 at 3:43 PM, Imesh Gunaratne <
>>>>>>>>>>>> im...@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Aug 20, 2015 at 3:29 PM, Lakmal Warusawithana <
>>>>>>>>>>>>> lak...@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You mean 4.1.2 I guess.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Yes, my mistake, its 4.1.2 :-)
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Aug 20, 2015 at 3:29 PM, Lakmal Warusawithana <
>>>>>>>>>>>>> lak...@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Aug 20, 2015 at 3:28 PM, Imesh Gunaratne <
>>>>>>>>>>>>>> im...@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> @Akila: I'm sorry we had to revert the changes of jclouds
>>>>>>>>>>>>>>> 1.9 upgrade to avoid the blocking issue with GCE provider. Will 
>>>>>>>>>>>>>>> try to fix
>>>>>>>>>>>>>>> this locally and then include it in 4.1.3:
>>>>>>>>>>>>>>> https://github.com/apache/stratos/commits/master
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> IMO we are now go to verify 4.1.3 and do the release build.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You mean 4.1.2 I guess.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Thu, Aug 20, 2015 at 2:57 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>> im...@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The problem with the GCE jclouds provider can be found here:
>>>>>>>>>>>>>>>> https://issues.apache.org/jira/browse/STRATOS-1516
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Thu, Aug 20, 2015 at 1:53 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> im...@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks for the feedback Lakmal!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> As we have encountered issues with Kernel patch upgrade
>>>>>>>>>>>>>>>>> and jclouds 1.9 upgrade shall we move those to the next minor 
>>>>>>>>>>>>>>>>> release 4.1.3?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I think we might need to revert jclouds 1.9 upgrade
>>>>>>>>>>>>>>>>> changes.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Thu, Aug 20, 2015 at 9:25 AM, Lakmal Warusawithana <
>>>>>>>>>>>>>>>>> lak...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Tue, Aug 18, 2015 at 3:54 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks for all your efforts on releasing 4.1.1 within a
>>>>>>>>>>>>>>>>>>> very short time period. IMO it was a great accomplishment! 
>>>>>>>>>>>>>>>>>>> It took nearly
>>>>>>>>>>>>>>>>>>> an year for us to release 4.1.0 after 4.0.0.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Shall we now plan for 4.1.2 with the following items?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> +1
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> TaskOwnerStatusJIRA1Update Carbon Kernel patches
>>>>>>>>>>>>>>>>>>> (Critical for Private PaaS 4.1.0)AkilaIn-Progress
>>>>>>>>>>>>>>>>>>> STRATOS-14352Application signups not available in the
>>>>>>>>>>>>>>>>>>> UI (Critical for Private PaaS 4.1.0)
>>>>>>>>>>>>>>>>>>> DakshikaIn-ProgressSTRATOS-15014Integration test -
>>>>>>>>>>>>>>>>>>> termination behaviorRekaCompleted5Integration test -
>>>>>>>>>>>>>>>>>>> startup orderRekaIn-Progress6Integration test - Listing
>>>>>>>>>>>>>>>>>>> all artifactsRekaCompleted7Apache jclouds 1.9 upgrade
>>>>>>>>>>>>>>>>>>> AkilaCompletedSTRATOS-15138Port mappings and kubernetes
>>>>>>>>>>>>>>>>>>> services are created for each instanceLasinduCompleted
>>>>>>>>>>>>>>>>>>> STRATOS-14959Payload parameters cannot accept values
>>>>>>>>>>>>>>>>>>> which includes = signLasinduCompletedSTRATOS-149610Exception
>>>>>>>>>>>>>>>>>>> in cartridge agent : ValueError: invalid literal for int()
>>>>>>>>>>>>>>>>>>> GayanCompletedSTRATOS-149711Payload parameters doesn't
>>>>>>>>>>>>>>>>>>> contain port_mappings for jcloud based IaaSs.Anuruddha
>>>>>>>>>>>>>>>>>>> CompletedSTRATOS-151112Add a new property to
>>>>>>>>>>>>>>>>>>> Application Bean to check the availability of Application 
>>>>>>>>>>>>>>>>>>> SignUps
>>>>>>>>>>>>>>>>>>> ImeshCompletedSTRATOS-1515
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Lakmal Warusawithana
>>>>>>>>>>>>>>>>>> Vice President, Apache Stratos
>>>>>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc.
>>>>>>>>>>>>>>>>>> Mobile : +94714289692
>>>>>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Lakmal Warusawithana
>>>>>>>>>>>>>> Vice President, Apache Stratos
>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc.
>>>>>>>>>>>>>> Mobile : +94714289692
>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Akila Ravihansa Perera
>>>>>>>>>>>> WSO2 Inc.;  http://wso2.com/
>>>>>>>>>>>>
>>>>>>>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Akila Ravihansa Perera
>>>>>>>>>> WSO2 Inc.;  http://wso2.com/
>>>>>>>>>>
>>>>>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Akila Ravihansa Perera
>>>>>>>> WSO2 Inc.;  http://wso2.com/
>>>>>>>>
>>>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Akila Ravihansa Perera
>>>>>>> WSO2 Inc.;  http://wso2.com/
>>>>>>>
>>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Akila Ravihansa Perera
>>>>> WSO2 Inc.;  http://wso2.com/
>>>>>
>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to