Invalid parameter for aggregate with workload_stabilization
Bug #1836195 reported by
Dantali0n
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
Medium
|
Dantali0n |
Bug Description
Backwards compatibility for aggregate type in workload_
Changed in watcher: | |
milestone: | none → train-3 |
assignee: | nobody → Dantali0n (dantalion) |
importance: | Undecided → Medium |
To post a comment you must log in.
aggregate has to be of type AGGREGATES: InvalidParameter: aggregate has to be of type AGGREGATES python2. 7/site- packages/ watcher/ decision_ engine/ audit/base. py", line 142, in execute execute( audit, request_context) python2. 7/site- packages/ watcher/ decision_ engine/ audit/base. py", line 83, in do_execute python2. 7/site- packages/ watcher/ decision_ engine/ strategy/ context/ base.py" , line 45, in execute_strategy execute_ strategy( audit, request_context) python2. 7/site- packages/ watcher/ decision_ engine/ strategy/ context/ default. py", line 68, in do_execute_st strategy. execute( ) python2. 7/site- packages/ watcher/ decision_ engine/ strategy/ strategies/ base.py" , line 266, in execute do_execute( ) python2. 7/site- packages/ watcher/ decision_ engine/ strategy/ strategies/ workload_ stabilization. py", line 526, in do_execute threshold( ) python2. 7/site- packages/ watcher/ decision_ engine/ strategy/ strategies/ workload_ stabilization. py",[0/ 1084]1, in check_threshold hosts_load( ) python2. 7/site- packages/ watcher/ decision_ engine/ strategy/ strategies/ workload_ stabilization. py", line 32 aggregation_ method[ 'compute_ node'], self.granularity) python2. 7/site- packages/ watcher/ datasources/ grafana. py", line 171, in statistic_ aggregation translator( translator_ name, data) python2. 7/site- packages/ watcher/ datasources/ grafana. py", line 123, in _get_translator InfluxDBGrafana Translator( data) python2. 7/site- packages/ watcher/ datasources/ grafana_ translator/ influxdb. py", line 36, in __init__ InfluxDBGrafana Translator, self)._ _init__ (data) python2. 7/site- packages/ watcher/ datasources/ grafana_ translator/ base.py" , line 60, in __init__ _validate_ data() python2. 7/site- packages/ watcher/ datasources/ grafana_ translator/ base.py" , line 94, in _validate_data data['aggregate '] not in self.AGGREGATES:
Traceback (most recent call last):
File "/usr/lib/
solution = self.do_
File "/usr/lib/
audit, request_context)
File "/usr/lib/
solution = self.do_
File "/usr/lib/
rategy
return selected_
File "/usr/lib/
self.
File "/usr/lib/
migration = self.check_
File "/usr/lib/
hosts_load = self.get_
File "/usr/lib/
0, in get_hosts_load
self.
File "/usr/lib/
translator = self._get_
File "/usr/lib/
return influxdb.
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
if reference_
InvalidParameter: aggregate has to be of type AGGREGATES