Hi,

I have started end to end testing of grouping release M1.
I were able to deploy an app successfully and was able to spin up an
instance.

However I noticed the following errors [1,2], and am currently looking at
them.

[1].

WARN
{org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor}
-  Member already activated: [service] php [cluster] myphp.php.domain
[member] myphp.php.domainc110824d-94d7-4de9-b5ca-50023db40f7c
[2014-09-25 15:30:24,165] ERROR
{org.apache.stratos.autoscaler.message.receiver.topology.AutoscalerTopologyEventReceiver}
-  Error processing event
java.lang.NullPointerException
at
org.apache.stratos.autoscaler.message.receiver.topology.AutoscalerTopologyEventReceiver$12.onEvent(AutoscalerTopologyEventReceiver.java:439)
at
org.apache.stratos.messaging.listener.EventListener.update(EventListener.java:42)
at java.util.Observable.notifyObservers(Observable.java:159)
at
org.apache.stratos.messaging.event.EventObservable.notifyEventListeners(EventObservable.java:51)
at
org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor.process(MemberActivatedMessageProcessor.java:153)
at
org.apache.stratos.messaging.message.processor.topology.MemberStartedMessageProcessor.process(MemberStartedMessageProcessor.java:144)
at
org.apache.stratos.messaging.message.processor.topology.InstanceSpawnedMessageProcessor.process(InstanceSpawnedMessageProcessor.java:135)
at
org.apache.stratos.messaging.message.processor.topology.ClusterRemovedMessageProcessor.process(ClusterRemovedMessageProcessor.java:108)
at
org.apache.stratos.messaging.message.processor.topology.ClusterMaintenanceModeMessageProcessor.process(ClusterMaintenanceModeMessageProcessor.java:106)
at
org.apache.stratos.messaging.message.processor.topology.ClusterActivatedProcessor.process(ClusterActivatedProcessor.java:113)
at
org.apache.stratos.messaging.message.processor.topology.ClusterCreatedMessageProcessor.process(ClusterCreatedMessageProcessor.java:117)
at
org.apache.stratos.messaging.message.processor.topology.ServiceRemovedMessageProcessor.process(ServiceRemovedMessageProcessor.java:87)
at
org.apache.stratos.messaging.message.processor.topology.ServiceCreatedMessageProcessor.process(ServiceCreatedMessageProcessor.java:87)
at
org.apache.stratos.messaging.message.processor.topology.CompleteTopologyMessageProcessor.process(CompleteTopologyMessageProcessor.java:151)
at
org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:60)
at
org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator.run(TopologyEventMessageDelegator.java:77)
at java.lang.Thread.run(Thread.java:745)
[2014-09-25 15:30:24,166]  WARN
{org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor}
-  Member already activated: [service] php [cluster] myphp.php.domain
[member] myphp.php.domainc110824d-94d7-4de9-b5ca-50023db40f7c

[2].

deId=ap-southeast-1/i-6cfe1047, clusterId=myphp.php.domain,
cartridgeType=php, privateIpAddress=10.142.153.174,
publicIpAddress=54.255.76.162, allocatedIpAddress=null,
initTime=1411659453081, lbClusterId=null, networkPartitionId=openstack]
java.lang.NullPointerException
at
org.apache.stratos.cloud.controller.topology.TopologyBuilder.handleMemberSpawned(TopologyBuilder.java:235)
at
org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$IpAllocator.run(CloudControllerServiceImpl.java:906)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "pool-39-thread-3"
org.apache.stratos.cloud.controller.exception.CloudControllerException:
Error occurred while allocating an ip address. MemberContext
[memberId=myphp.php.domaina62f3cc3-9b68-4d04-b617-c3e24e6a6eb8,
nodeId=ap-southeast-1/i-6cfe1047, clusterId=myphp.php.domain,
cartridgeType=php, privateIpAddress=10.142.153.174,
publicIpAddress=54.255.76.162, allocatedIpAddress=null,
initTime=1411659453081, lbClusterId=null, networkPartitionId=openstack]
at
org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$IpAllocator.run(CloudControllerServiceImpl.java:931)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at
org.apache.stratos.cloud.controller.topology.TopologyBuilder.handleMemberSpawned(TopologyBuilder.java:235)
at
org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$IpAllocator.run(CloudControllerServiceImpl.java:906)
... 3 more


On Wed, Sep 24, 2014 at 10:21 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> I have tested adding/get property/properties via curl. addPropery to
> cluster is tested with generic metadata client. Need to add all APIs
> available for metadata client.
>
> On Wed, Sep 24, 2014 at 9:57 PM, Reka Thirunavukkarasu <r...@wso2.com>
> wrote:
>
>> Hi
>>
>> I'm in the process of testing hierarchical monitors. Will update the
>> progress once i get into to a working state..
>>
>> Thanks,
>> Reka
>>
>> On Wed, Sep 24, 2014 at 9:34 PM, Isuru Haththotuwa <isu...@apache.org>
>> wrote:
>>
>>> Hi,
>>>
>>> Tested the following flow:
>>>
>>>    1. Group Deployment.
>>>    2. Application Deployment.
>>>    3. Publishing information to meta data service.
>>>
>>> In step #3, encountered a deadlock scenario where when we try to publish
>>> to the meta data service while looping through the properties. Myself and
>>> Udara are looking in to this.
>>>
>>> On Mon, Sep 22, 2014 at 10:33 AM, Isuru Haththotuwa <isu...@apache.org>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> The purpose of this thread is to discuss $subject.
>>>>
>>>> I listed down some of the Tasks that we need for the initial milestone
>>>> of Service Grouping:
>>>>
>>>> Stratos Manager Rest API Support for Composite Applications)
>>>> - Deploying Group Definitions
>>>> - Deploying Compoite App Definitions
>>>> - Listing Deployed Composite Apps
>>>> - Exposing Composite App's instance informationPersist Group
>>>> Definitions in CC- Validate the Group Definition (check if any
>>>> cartridges and/or sub groups referred are already deployed)
>>>> - Persist the Group Definition deployed in CCParse the Application
>>>> Definition in CC and update Topology- Generate a unique key for the app
>>>> - Parse app definition
>>>> - Update topology
>>>> - Send Application Created event (with Subcription data)Create and
>>>> Persist Composite Application Subscriptions in SM from the Topology after
>>>> the ApplicationCreatedEvent- Create Composite Subscriptions (can
>>>> extend the current Subscription model) with the help of information sent
>>>> using the Application Create Event and meta data service (if required)
>>>> - Persist them in SMPayloads and information sharing for the composite
>>>> app model(Using metadata service)- Building initial payload with
>>>> required initial amount of info
>>>> - Specifying the information each member should expose/query (to get
>>>> information about dependents), using the meta data serviceMeta Data
>>>> Service Improvements- Improve the meta data service to put and get
>>>> informations, with support for getting dependent information for 
>>>> GroupingGeneric
>>>> Meta Data Client Component- A separate component to interact with the
>>>> meta data serviceAutoscaler acting upon Application Created event-
>>>> Create App Monitor and Group Monitor(s)
>>>> - Create the Cluster Monitors
>>>> - Asking to spawn instances in the relevant order for the clusterCartridge
>>>> Agent to support with Composite App events- Includes app and group as
>>>> the reference along with clusters
>>>> Please add anything that you think should come under M1. We can use the
>>>> same thread to keep track of progress as well.
>>>>
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> +94 716 358 048
>>>>
>>>> --
>>>> <%2B94%20716%20358%20048>
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> <%2B94%20716%20358%20048>
>>>> +94 716 358 048* <http://wso2.com/>*
>>>>
>>>>
>>>> * <http://wso2.com/>*
>>>>
>>>>
>>>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to