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