Hi Manula, Kindly find requested partition, autoscaling and deployment policy files respectively.
{ "id": "P1", "partitionMin": 0, "partitionMax": 0, "provider": "openstack", "property": [ { "name": "region", "value": "RegionOne" } ] } { "id": "economyPolicy", "loadThresholds": { "requestsInFlight": { "average": 50, "secondDerivative": 0, "gradient": 0, "scaleDownMarginOfGradient": 1, "scaleDownMarginOfSecondDerivative": 0.2 }, "memoryConsumption": { "average": 70, "secondDerivative": 0, "gradient": 0, "scaleDownMarginOfGradient": 1, "scaleDownMarginOfSecondDerivative": 0.2 }, "loadAverage": { "average": 70, "secondDerivative": 0, "gradient": 0, "scaleDownMarginOfGradient": 1, "scaleDownMarginOfSecondDerivative": 0.2 } } } { "id": "couchdb-openstack", "partitionGroup": [ { "id": "openstack", "partitionAlgo": "one after another", "partition": [ { "id": "P1", "partitionMin": 1, "partitionMax": 3, "provider": "openstack", "property": [ { "name": "region", "value": "RegionOne" } ] } ] } ] } Thanks, On Sun, Sep 28, 2014 at 9:30 PM, Melan Nimesh <me...@apache.org> wrote: > > > On Sun, Sep 28, 2014 at 8:59 PM, Suhan Dharmasuriya <suh...@wso2.com> > wrote: > >> Hi, >> >> I noticed the following error in Thushara's carbon_error.log. >> Is this caused by the CouchDB cartridge configuration in stratos >> configuration? >> >> TID: [0] [STRATOS] [2014-09-28 15:03:00,261] ERROR >> {org.apache.stratos.autoscaler.monitor.ClusterMonitor} - Cluster monitor: >> Monitor failed.ClusterMonitor [clusterId=mycouchdb.couchdb.domain, >> serviceId=couchdb, deploymentPolicy=Deployment Policy [id]couchdb-openstack >> [partitions] >> [org.apache.stratos.cloud.controller.stub.deployment.partition.Partition@6c1247ca], >> autoscalePolicy=ASPolicy [id=economyPolicy, displayName=null, >> description=null], lbReferenceType=no.load.balancer] >> {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): Cannot spawn an instance] >> [Near : {... $delegator.delegateSpawn($ctxt ....}] >> ^ >> [Line: 1, Column: 1] >> > > It seems CC client timeout happened before spawning an instance. default > time value is 300000. Could you increase that value and try again? it's > available in autoscaler.xml's > configuration->autoscaler->cloudController->clientTimeout element. > > Thanks, > Melan > > >> >> Thanks, >> Suhan >> >> On Sun, Sep 28, 2014 at 8:19 PM, Udara Liyanage <ud...@wso2.com> wrote: >> >>> Hi, >>> >>> Could you please check whether CC is accessible via this >>> >>> https://dev.stratos.org:9445/services/CloudControllerService >>> >>> ssh in to dev.Stratos.org and check whether CC is running on port 9445 >>> >>> >>> >>> Touched, not typed. Erroneous words are a feature, not a typo. >>> >> >> >> >> -- >> Suhan Dharmasuriya >> Software Engineer - Test Automation >> >> *WSO2, Inc. * >> >> lean . enterprise . middleware >> Tel: +94 112 145345 >> Mob: +94 779 869138 >> Blog: http://suhan-opensource.blogspot.com/ >> > > > > -- > Melan Nimesh Jayasinghage > -- Thushara Kasun Ranawaka Software Engineer WSO2 Inc.; <http://www.wso2.com> lean.enterprise.middleware Mobile : *+94 (0) 773438949* *thusha...@wso2.com <thusha...@wso2.com>*