I assume you are getting this error when subscribing? If so, please share the cartridge definition.
On Tue, Apr 29, 2014 at 11:32 AM, chris snow <[email protected]> wrote: > Hi Nirmal - no error was thrown when I saved the configuration SM. > > I'm using '4.0.0-incubating-rc1' > > On Tue, Apr 29, 2014 at 7:12 PM, Nirmal Fernando <[email protected]> > wrote: > > I meant the deployment policy. > > > > > > On Tue, Apr 29, 2014 at 11:41 PM, Nirmal Fernando < > [email protected]> > > wrote: > >> > >> Hi Chris, > >> > >> Did it get deployed successfully? Also, are you using the master branch? > >> > >> > >> On Tue, Apr 29, 2014 at 11:35 PM, chris snow <[email protected]> > wrote: > >>> > >>> I'm receiving the following error in my stratos log file: > >>> > >>> TID: [0] [STRATOS] [2014-04-29 17:59:51,100] ERROR > >>> {org.apache.stratos.autoscaler.util.AutoscalerUtil} - Deployment > >>> Policy is null. Policy name: economyDeployment > >>> {org.apache.stratos.autoscaler.util.AutoscalerUtil} > >>> > >>> My autoscale and deployment policies are below: > >>> > >>> vagrant@puppet:~$ cat > >>> /vagrant/openstack-qemu/example_autoscale_policy.json > >>> { > >>> "id": "economyPolicy", > >>> "loadThresholds": { > >>> "requestsInFlight": { > >>> "average": 50 > >>> }, > >>> "memoryConsumption": { > >>> "average": 70 > >>> }, > >>> "loadAverage": { > >>> "average": 100 > >>> } > >>> } > >>> } > >>> vagrant@puppet:~$ cat > >>> /vagrant/openstack-qemu/example_deployment_policy.json > >>> { > >>> "id": "economyDeployment", > >>> "partitionGroup": [ > >>> { > >>> "id": "G1", > >>> "partitionAlgo": "one-after-another", > >>> "partition": [ > >>> { > >>> "id": "P1", > >>> "partitionMax": "1", > >>> "partitionMin": "1" > >>> } > >>> ] > >>> } > >>> ] > >>> } > >>> > >>> Any ideas? > >>> > >>> Many thanks, > >>> > >>> Chris > >> > >> > >> > >> > >> -- > >> Best Regards, > >> Nirmal > >> > >> Nirmal Fernando. > >> PPMC Member & Committer of Apache Stratos, > >> Senior Software Engineer, WSO2 Inc. > >> > >> Blog: http://nirmalfdo.blogspot.com/ > > > > > > > > > > -- > > Best Regards, > > Nirmal > > > > Nirmal Fernando. > > PPMC Member & Committer of Apache Stratos, > > Senior Software Engineer, WSO2 Inc. > > > > Blog: http://nirmalfdo.blogspot.com/ > > > > -- > Check out my professional profile and connect with me on LinkedIn. > http://lnkd.in/cw5k69 > -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha
