Hi Manas,
I see several issues in the log, according to the below errors it seems
like the Stratos package you are using has not built properly.
TID: [0] [STRATOS] [2014-11-10 09:40:59,378] ERROR
{org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
- javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1791]
Message: elementGetText() function expects text only elment but
START_ELEMENT was encountered.
{org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: ParseError
at [row,col]:[1,1791]
Message: elementGetText() function expects text only elment but
START_ELEMENT was encountered.
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at
org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:4312)
at
org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.startInstance(CloudControllerServiceStub.java:1415)
at
org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:162)
The above error has been raised while Autoscaler trying to communicate with
the Cloud Controller. Ideally an XML parser error should not be raised
here, unless the Cloud Controller service stub is not updated correctly.
TID: [0] [STRATOS] [2014-11-10 09:40:59,381] ERROR
{org.apache.stratos.autoscaler.monitor.ClusterMonitor} - Cluster monitor:
Monitor failed.ClusterMonitor [clusterId=tas-ce.tas-ce.domain,
serviceId=tas-ce, deploymentPolicy=Deployment Policy [id]static-1-Core
[partitions]
[org.apache.stratos.cloud.controller.stub.deployment.partition.Partition@143f87f2],
autoscalePolicy=ASPolicy [id=economyPolicy, displayName=null,
description=null], lbReferenceType=null, hasPrimary=false ]
{org.apache.stratos.autoscaler.monitor.ClusterMonitor}
Exception executing consequence for rule "Minimum Rule" in
org.apache.stratos.autoscaler.rule: [Error: $delegator.delegateSpawn($ctxt,
clusterId, lbRef, isPrimary): Cannot spawn an instance]
[Near : {... if (isPrimary){ ....}]
^
[Line: 1, Column: 1]
at
org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
This shows an error in the minimum rule drools file. May be there is a
syntax error in it.
Thanks
On Mon, Nov 10, 2014 at 4:09 PM, Manas Padegaonkar -T (mpadegao - ARICENT
TECHNOLOGIES HOLDINGS LIMITED at Cisco) <[email protected]> wrote:
> Hi,
>
>
>
> I am using a vCloud-Director as an Iaas where stratos is able to
> successfully subscribe to 12 Cartridge VMs which are coming Active.
>
> After a while stratos tried to spin multiple instances of these already
> Active cartridges even after there is no load running through them.
>
> Attaching wsocarbon.log herewith for debug.
>
>
>
> Regards
>
> Manas
>
>
>
--
Imesh Gunaratne
Technical Lead, WSO2
Committer & PMC Member, Apache Stratos