stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manula Chathurika Thantriwatte <manu...@wso2.com>
Subject Re: [Discuss] Finalizing 4.1.0-Alpha Release
Date Fri, 02 Jan 2015 16:48:02 GMT
Hi,

I'll work on verifying service group on EC2.

Thanks !

On Fri, Jan 2, 2015 at 10:12 PM, Imesh Gunaratne <imesh@apache.org> wrote:

> Kubernetes workflow is now complete, I'm now working on fixing the git
> clone issue in agent.
>
> Thanks
>
> On Fri, Jan 2, 2015 at 9:42 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
> wrote:
>
>> Sorry. Lets use the other thread for testing update.
>>
>> Thanks.
>>
>> On Fri, Jan 2, 2015 at 9:41 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
>> wrote:
>>
>>> Getting an exception while deploying the application.
>>>
>>> [2015-01-02 21:31:12,401]  INFO
>>> {org.apache.stratos.kubernetes.client.KubernetesApiClient} -  Creating
>>> replication controller: [replication-controller-id]
>>> php-php-domain0c539d53-c9b9-425a-a97c-b719187ed8c8 [name]
>>> php-php-domain0c539d53-c9b9-425a-a97c-b719187ed8c8 [docker-image]
>>> stratos/php:4.1.0-alpha [container-ports] [80] [replicas] 1
>>> [2015-01-02 21:31:12,402] ERROR
>>> {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -
>>> org.apache.axis2.AxisFault: Mapping qname not fond for the package:
>>> org.apache.stratos.common.beans
>>> java.lang.RuntimeException: org.apache.axis2.AxisFault: Mapping qname
>>> not fond for the package: org.apache.stratos.common.beans
>>>     at
>>> org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:276)
>>>     at
>>> org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:72)
>>>     at
>>> org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.processProperties(ADBXMLStreamReaderImpl.java:994)
>>>     at
>>> org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.next(ADBXMLStreamReaderImpl.java:850)
>>>     at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:71)
>>>     at
>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
>>>     at
>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
>>>     at
>>> org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSerializableImpl.java:78)
>>>     at
>>> org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:722)
>>>     at
>>> org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElementImpl.java:700)
>>>     at
>>> org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:105)
>>>     at
>>> org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:296)
>>>     at
>>> org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:212)
>>>     at
>>> org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:105)
>>>     at
>>> org.apache.axis2.rpc.receivers.RPCUtil.processResponseAsDocLitWrapped(RPCUtil.java:456)
>>>     at
>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:153)
>>>     at
>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>>     at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>     at
>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>     at
>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>>>     at
>>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>     at
>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     at
>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>     at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>     at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>     at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>     at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>>     at
>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>>     at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>>>     at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>     at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>     at
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>     at
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>     at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>>     at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>>     at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>>     at java.lang.Thread.run(Thread.java:662)
>>> Caused by: org.apache.axis2.AxisFault: Mapping qname not fond for the
>>> package: org.apache.stratos.common.beans
>>>     at
>>> org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:143)
>>>     ... 54 more
>>>
>>> On Fri, Jan 2, 2015 at 8:47 PM, Imesh Gunaratne <imesh@apache.org>
>>> wrote:
>>>
>>>> Yes Raj, the modules include the logic and they being invoked from the
>>>> callers.
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Jan 2, 2015 at 8:36 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com
>>>> > wrote:
>>>>
>>>>> agent.py does not have any artifact management logic. It is there in
>>>>> artifact management module.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Fri, Jan 2, 2015 at 7:48 PM, Imesh Gunaratne <imesh@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Yes I can remember that it was working in previous milestones,
>>>>>> however according to the current logic in agent.py, if a git repo
url is
>>>>>> specified it does nothing:
>>>>>>
>>>>>> ..
>>>>>>
>>>>>> At the end agent just wait in a while loop until terminated.
>>>>>>
>>>>>> I can see that agent is listening to Artifact Updated event, did
we
>>>>>> send this event forcefully to make this work?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Fri, Jan 2, 2015 at 7:11 PM, Rajkumar Rajaratnam <
>>>>>> rajkumarr@wso2.com> wrote:
>>>>>>
>>>>>>> It is already implemented and was working fine.
>>>>>>>
>>>>>>>
>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;f=components/org.apache.stratos.python.cartridge.agent/cartridgeagent/cartridgeagent/modules/artifactmgt;h=b0376c57220d2ca577c7b383d8a1461b80b18e5c;hb=HEAD
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Fri, Jan 2, 2015 at 6:55 PM, Lakmal Warusawithana <
>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>
>>>>>>>> What do you mean?? Its there since M3
>>>>>>>>
>>>>>>>> On Fri, Jan 2, 2015 at 6:25 PM, Imesh Gunaratne <imesh@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Seems like we have not written logic in agent to checkout
>>>>>>>>> artifacts from GIT repository.
>>>>>>>>>
>>>>>>>>> On Fri, Jan 2, 2015 at 6:08 PM, Imesh Gunaratne <imesh@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I have now fixed the issue of accessing the service
via the host
>>>>>>>>>> machine (http://kubernetes-master-ip:port/) and pushed
changes
>>>>>>>>>> to master branch.
>>>>>>>>>>
>>>>>>>>>> Now I see a problem when a public GIT repo url is
given without
>>>>>>>>>> specifying credentials. I'm currently looking into
this.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> On Fri, Jan 2, 2015 at 5:20 PM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> I have now resolved the health statistics publishing
issue in
>>>>>>>>>>> agent:
>>>>>>>>>>>
>>>>>>>>>>> - There were several topology event parsers which
were not
>>>>>>>>>>> properly updated with the latest changes. As
a result those were raising
>>>>>>>>>>> errors. I have now fixed them.
>>>>>>>>>>> - Agent's logic which waits until CEP port is
active was not
>>>>>>>>>>> visible in the logs. As a result it was not possible
to see why agent is
>>>>>>>>>>> not publishing health statistics. I have now
enabled logs to show this
>>>>>>>>>>> process so that if agent could not connect to
CEP it would be visible.
>>>>>>>>>>> - Docker images in docker hub are updated with
the latest
>>>>>>>>>>> changes.
>>>>>>>>>>>
>>>>>>>>>>> Now I see a problem where the PHP service is
not accessible from
>>>>>>>>>>> the host machine, however it is accessible within
the Kubernetes master.
>>>>>>>>>>> The removal of host port from the container ports
may have affected this.
>>>>>>>>>>> I'm looking into this now.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jan 2, 2015 at 10:41 AM, Lahiru Sandaruwan
<
>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I will be testing grouping aspects and scaling
scenarios
>>>>>>>>>>>> related to that.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Jan 2, 2015 at 10:04 AM, Imesh Gunaratne
<
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Wish you a Very Happy New Year! Hope
you all had a great
>>>>>>>>>>>>> holiday!
>>>>>>>>>>>>>
>>>>>>>>>>>>> We have now come to the last stage of
finalizing 4.1.0-Alpha
>>>>>>>>>>>>> release. As I can recall following are
the remaining tasks we need to
>>>>>>>>>>>>> complete:
>>>>>>>>>>>>>
>>>>>>>>>>>>> *1. Finalize Kubernetes Workflow:*
>>>>>>>>>>>>>
>>>>>>>>>>>>> During past few days I was fixing issues
in the Kubernetes
>>>>>>>>>>>>> workflow and following are the remaining
problems:
>>>>>>>>>>>>> - Python agent does not publish health
statistitics to CEP.
>>>>>>>>>>>>> - Autoscaler obsolete member rule invokes
terminateInstance()
>>>>>>>>>>>>> method twice with the same member id.
As a result the second call fails.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm currently working on fixing the above
issues and
>>>>>>>>>>>>> finalizing the Kubernetes workflow.
>>>>>>>>>>>>>
>>>>>>>>>>>>> *2. Verify Service Grouping on OpenStack
and EC2:*
>>>>>>>>>>>>>
>>>>>>>>>>>>> I believe we verified the complete service
grouping
>>>>>>>>>>>>> functionality with Mock IaaS however
we could not test it with OpenStack
>>>>>>>>>>>>> and EC2.
>>>>>>>>>>>>>
>>>>>>>>>>>>> *3. Verify Clustering Support for Stratos
Components:*
>>>>>>>>>>>>>
>>>>>>>>>>>>> I did the initial implementation of clustering
support for
>>>>>>>>>>>>> Load Balancer and Cloud Controller, we
need to verify it and apply it to
>>>>>>>>>>>>> Autoscaler and Stratos Manager.
>>>>>>>>>>>>>
>>>>>>>>>>>>> *4. Load Balancer Configuration for Service
Grouping:*
>>>>>>>>>>>>>
>>>>>>>>>>>>> Service grouping functionality allows
us to add a load
>>>>>>>>>>>>> balancer cartridge to an application
or group. However we need to provide a
>>>>>>>>>>>>> configuration option to specify which
cartridges to be served by a given
>>>>>>>>>>>>> load balancer cartridge.
>>>>>>>>>>>>>
>>>>>>>>>>>>> *5. Reduce the Docker Image Size:*
>>>>>>>>>>>>>
>>>>>>>>>>>>> Currently Docker base image size is around
380 MB and PHP
>>>>>>>>>>>>> Docker image size is around 404 MB. Due
to a known issue in Kubernetes
>>>>>>>>>>>>> v0.5.2 we need to download the Docker
images from Docker Hub once. It would
>>>>>>>>>>>>> be better if we could reduce the size
of the base image so that we could
>>>>>>>>>>>>> save time on this process.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> It would be great if anyone would like
to contribute to
>>>>>>>>>>>>> remaining tasks, we will try our best
to complete them ASAP and announce
>>>>>>>>>>>>> 4.1.0-Alpha release.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Many Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>>>>> Committer and PMC member, Apache Stratos,
>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>
>>>>>>>>>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>>>>>>>>>> linked-in:
>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> 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/
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Rajkumar Rajaratnam
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>> Software Engineer, WSO2
>>>>>>>
>>>>>>> Mobile : +94777568639
>>>>>>> Blog : rajkumarr.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Rajkumar Rajaratnam
>>>>> Committer & PMC Member, Apache Stratos
>>>>> Software Engineer, WSO2
>>>>>
>>>>> Mobile : +94777568639
>>>>> Blog : rajkumarr.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>>
>>> Mobile : +94777568639
>>> Blog : rajkumarr.com
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Mime
View raw message