Update git submodules
* Update ceilometer from branch 'master' to b461ca1f18a4c9fb6727255b53b5104a7ab01e8c - Merge "Properly handle 'resource_id' as None for Gnocchi publisher" - Properly handle 'resource_id' as None for Gnocchi publisher This issue is related to [1]. In Python 3 (I did not check exactly in which version), the following code was throwing an error `data.sort(key=operator.attrgetter('resource_id'))`. Therefore, this patch is proposing a solution for such situations to properly handle samples where the `resource_id` is None. Of course, `resource_id` cannot be None in Gnocchi. However, that can be properly handled by removing the metric to be pushed from the `gnocchi_resource.yml` file. Which is what we were doing when we proposed [1]. The problem is that the sort is happening before that part of the code is executed, to decide if the sample should be ignored or not. [1] https://review.opendev.org/c/openstack/ceilometer/+/746717 Change-Id: Ie8eb42df3d5b9505160c9e9d6b86bdaa9a02d16a
This commit is contained in:
parent
c118201ca5
commit
5bfa56f379
|
@ -1 +1 @@
|
||||||
Subproject commit 5106f4acc46f87bccfc2174840a9ec29145be0dd
|
Subproject commit b461ca1f18a4c9fb6727255b53b5104a7ab01e8c
|
Loading…
Reference in New Issue