I have the same problem. This error log begins showing once I set the archive-policy granularity to 3s as well as setting the polling interval in ceilometer to 3 seconds. This error never showing days before when the granularity and the polling interval is both at 3600s
I think the cause is because some of the metrics has zero value, or perhaps because of the error it became zero?
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gnocchi/chef.py", line 163, in process_new_measures_for_sack
self.storage.add_measures_to_metrics({
File "/usr/lib/python3/dist-packages/gnocchi/storage/__init__.py", line 675, in add_measures_to_metrics
keys_and_splits_to_store) = ts.set_values(
File "/usr/lib/python3/dist-packages/gnocchi/carbonara.py", line 367, in set_values
return_value = before_truncate_callback(self)
File "/usr/lib/python3/dist-packages/gnocchi/storage/__init__.py", line 638, in _map_compute_splits_operations
tstamp = max(bound_timeserie.first, measures['timestamps'][0])
IndexError: index 0 is out of bounds for axis 0 with size 0
My installed versions :
gnocchi-api/groovy,now 4.4.0-0ubuntu1 all [installed]
gnocchi-common/groovy,now 4.4.0-0ubuntu1 all [installed,automatic]
gnocchi-metricd/groovy,now 4.4.0-0ubuntu1 all [installed]
gnocchi-statsd/groovy 4.4.0-0ubuntu1 all
I have the same problem. This error log begins showing once I set the archive-policy granularity to 3s as well as setting the polling interval in ceilometer to 3 seconds. This error never showing days before when the granularity and the polling interval is both at 3600s
I think the cause is because some of the metrics has zero value, or perhaps because of the error it became zero?
gnocchi aggregates '(/ (aggregate rate:mean (metric cpu mean)) 3000000000)' id=65592309- 1e03-4c9e- 8696-af7ebe3058 3c | tail
| aggregated | 2021-03- 31T21:16: 48+00:00 | 3.0 | 0.0 | 31T21:16: 54+00:00 | 3.0 | 0.01 | 31T21:16: 57+00:00 | 3.0 | 0.0066666666666 66667 | 31T21:17: 00+00:00 | 3.0 | 0.0066666666666 66667 | 31T21:17: 03+00:00 | 3.0 | 0.0033333333333 333335 | 31T21:17: 09+00:00 | 3.0 | 0.0083333333333 33333 | 31T21:17: 12+00:00 | 3.0 | 0.0083333333333 33333 | 31T21:17: 15+00:00 | 3.0 | 0.0 | 31T21:17: 18+00:00 | 3.0 | 0.01 | ------+ ------- ------- ------- ------+ ------- ------+ ------- ------- ------- --+
| aggregated | 2021-03-
| aggregated | 2021-03-
| aggregated | 2021-03-
| aggregated | 2021-03-
| aggregated | 2021-03-
| aggregated | 2021-03-
| aggregated | 2021-03-
| aggregated | 2021-03-
+------
Traceback (most recent call last): python3/ dist-packages/ gnocchi/ chef.py" , line 163, in process_ new_measures_ for_sack storage. add_measures_ to_metrics( { python3/ dist-packages/ gnocchi/ storage/ __init_ _.py", line 675, in add_measures_ to_metrics and_splits_ to_store) = ts.set_values( python3/ dist-packages/ gnocchi/ carbonara. py", line 367, in set_values truncate_ callback( self) python3/ dist-packages/ gnocchi/ storage/ __init_ _.py", line 638, in _map_compute_ splits_ operations timeserie. first, measures[ 'timestamps' ][0])
File "/usr/lib/
self.
File "/usr/lib/
keys_
File "/usr/lib/
return_value = before_
File "/usr/lib/
tstamp = max(bound_
IndexError: index 0 is out of bounds for axis 0 with size 0
My installed versions :
gnocchi- api/groovy, now 4.4.0-0ubuntu1 all [installed] common/ groovy, now 4.4.0-0ubuntu1 all [installed, automatic] metricd/ groovy, now 4.4.0-0ubuntu1 all [installed] statsd/ groovy 4.4.0-0ubuntu1 all
gnocchi-
gnocchi-
gnocchi-