We are chuffed to announce the release of: ceilometer 24.0.0 This release is part of the epoxy release series. The source is available from: https://opendev.org/openstack/ceilometer Download the package from: https://tarballs.openstack.org/ceilometer/ Please report issues through: https://bugs.launchpad.net/ceilometer/+bugs For more details, please see below. 24.0.0 ^^^^^^ Deprecation Notes * The "[polling] tenant_name_discovery" option has been deprecated in favor of the new "[polling] identity_name_discovery" option. Changes in ceilometer 23.0.0..24.0.0 ------------------------------------ dd9ff99dd Rename [polling] tenant_name_discovery 7835e2cdf Remove remaining logic for gnocchi devstack plugin 88beb451a Drop implicit test dependency on iso8601 4fc3e9088 Revert "Fix vm_instance label from exporter Prometheus metrics" 36b40ed7d Add the disk.ephemeral.size and disk.root.size pollsters 0b3eca2c7 Imported Translations from Zanata 56ce75d89 Add storage_policy attribute for Swift containers ce3ab93cb Add the volume_type_id attribute for volumes 2824c88bc Drop unused pyOpenSSL 3a423d82c Drop unused gabbi 046812618 Dynamic pollsters: Append relative url_path to URLs b04c694e3 Update default envlist 9fe1d19de Remove metrics dependent on Intel CMT perf events da794dc4f Remove stale metrics from prometheus exporter 1397f9ffe Replace oslo_utils.encodeutils.exception_to_unicode c5e59317b Fix gnocchi filter project for non-default domain e2215d656 Remove cpu_util meter 6e36c27e6 nova: Remove unused instance_get_all 88c6384be Imported Translations from Zanata 78b2f90e0 Drop unnecessary OS_CLOUD override 1b4c2cabf Remove unused test utilities e37e2f3ff Remove VMWare vSphere support 2ef6f5258 Imported Translations from Zanata 5c2ad3db2 Fix vm_instance label from exporter Prometheus metrics dab963058 Introduce power.state metric 3f7f3d8bd Fix outdated supported database backends f4749c725 Remove OpenContrail support db119e331 Remove remaining reference to OpenDaylight b6432dab5 devstack: Drop unused local variable fc351b4ed reno: Update master for unmaintained/2023.1 f8af14c23 Make all metrics be gauge type 3698faafd grenade: Use systemd unit name to check service status 7edad6f2a grenade: Fix detection of ceilometer-upgrade f64bdb73a Use default service group to launch ceilometer 7167e7c9d Replace deprecated configure_auth_token_middleware 2624d7ca2 Add parameter for disabled projects fcfa13ebb Pass interface to keystone client 09c9d05ae Fix the doc build eb477771b Remove 'x' bit from non-executable files ebcaee9b6 Remove Python 3.8 support a7a6c9b12 Prometheus: Refactor metric handling c846975a5 Ensure supported metric type is given be360467a Peometheus: Refactor label generation logic fc1319329 Drop unused eventlet from test requirements 150445459 Revert "Disable GLOBAL_VENV" 1d56f8e07 Fix Prom exporter resource_name parsing f680d44b2 Add server_group label to prometheus exporter 6cbe4ffcf Skip functional jobs for locale files be7835a19 Support file watcher to trigger GMR report feead8a1e Adjust explanation of enable_notifications 6f8924a57 Get rid of pkg_resources bc9345b63 Get rid of distutils 3a4f2d6fe Replace deprecated constant_time_compare 88b5c87a3 Handle IPv6 address for prometheus_listen_addresses 7289278da Ceilometer to export Prometheus metrics deb44ba4d Imported Translations from Zanata 9aec300ec Add [DEFAULT] polling_namespace to generated ceilometer.conf 3b5cf7e5d Fix a missing space in parameter description 737797415 Drop unused import 37e356163 Remove leftover for python 3.7 support 8e7339c27 Update master for stable/2024.2 6c650de83 Fix package name of gnocchiclient 7e4115269 Imported Translations from Zanata 48f4089e3 Add heart beat report for polling agents afbf0a1ac Document choices of instance_discovery_method by oslo.config interface Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 13 +- bindep.txt | 1 - ceilometer/agent.py | 6 +- ceilometer/cmd/polling.py | 22 +- ceilometer/compute/discovery.py | 20 +- ceilometer/compute/pollsters/__init__.py | 41 +++ ceilometer/compute/pollsters/disk.py | 17 + ceilometer/compute/pollsters/instance_stats.py | 29 +- ceilometer/compute/virt/inspector.py | 35 +-- ceilometer/compute/virt/libvirt/inspector.py | 6 +- ceilometer/compute/virt/vmware/__init__.py | 0 ceilometer/compute/virt/vmware/inspector.py | 228 -------------- .../compute/virt/vmware/vsphere_operations.py | 235 -------------- ceilometer/data/meters.d/meters.yaml | 1 + ceilometer/event/converter.py | 8 +- ceilometer/gnocchi_client.py | 60 ++-- ceilometer/keystone_client.py | 1 + ceilometer/locale/de/LC_MESSAGES/ceilometer.po | 14 +- ceilometer/locale/en_GB/LC_MESSAGES/ceilometer.po | 14 +- ceilometer/locale/es/LC_MESSAGES/ceilometer.po | 10 +- ceilometer/locale/fr/LC_MESSAGES/ceilometer.po | 10 +- ceilometer/locale/it/LC_MESSAGES/ceilometer.po | 10 +- ceilometer/locale/ja/LC_MESSAGES/ceilometer.po | 10 +- ceilometer/locale/ko_KR/LC_MESSAGES/ceilometer.po | 18 +- ceilometer/locale/pt_BR/LC_MESSAGES/ceilometer.po | 10 +- ceilometer/locale/ru/LC_MESSAGES/ceilometer.po | 14 +- ceilometer/locale/zh_CN/LC_MESSAGES/ceilometer.po | 10 +- ceilometer/locale/zh_TW/LC_MESSAGES/ceilometer.po | 10 +- ceilometer/meter/notifications.py | 7 +- ceilometer/network/statistics/__init__.py | 101 ------ ceilometer/network/statistics/driver.py | 28 -- .../network/statistics/opencontrail/__init__.py | 0 .../network/statistics/opencontrail/client.py | 121 ------- .../network/statistics/opencontrail/driver.py | 204 ------------ ceilometer/network/statistics/port.py | 60 ---- ceilometer/network/statistics/port_v2.py | 74 ----- ceilometer/network/statistics/switch.py | 32 -- ceilometer/nova_client.py | 14 - ceilometer/objectstore/swift.py | 16 +- ceilometer/opts.py | 8 +- ceilometer/polling/discovery/tenant.py | 15 +- ceilometer/polling/dynamic_pollster.py | 10 +- ceilometer/polling/manager.py | 185 +++++++++-- ceilometer/polling/prom_exporter.py | 138 ++++++++ ceilometer/publisher/data/gnocchi_resources.yaml | 41 +-- ceilometer/publisher/gnocchi.py | 12 +- ceilometer/publisher/messaging.py | 5 +- ceilometer/publisher/utils.py | 3 +- ceilometer/sample.py | 3 + ceilometer/service.py | 4 +- ceilometer/telemetry/notifications.py | 2 +- .../unit/compute/virt/libvirt/test_inspector.py | 12 +- .../unit/compute/virt/vmware/test_inspector.py | 196 ------------ .../compute/virt/vmware/test_vsphere_operations.py | 181 ----------- .../network/statistics/opencontrail/__init__.py | 0 .../network/statistics/opencontrail/test_client.py | 73 ----- .../network/statistics/opencontrail/test_driver.py | 267 ---------------- .../unit/network/statistics/test_statistics.py | 200 ------------ devstack/plugin.sh | 68 +--- devstack/upgrade/upgrade.sh | 12 +- etc/ceilometer/polling.yaml | 2 +- .../add-disk-size-pollsters-6b819d067f9cf736.yaml | 8 + ...ter-for-disabled-projects-381da4543fff071d.yaml | 6 + .../add-power-state-metric-cdfbb3098b50a704.yaml | 5 + ...-storage_policy-attribute-322fbb5716c5bb10.yaml | 22 ++ .../add-volume_type_id-attr-f29af86534907941.yaml | 17 + ...ynamic-pollster-url-joins-6cdb01c4015976f7.yaml | 14 + ...ove-intel-cmt-perf-meters-15d0fe72b2804f48.yaml | 10 + .../remove-opencontrail-88656a9354179299.yaml | 5 + .../notes/remove-py38-80670bdcfd4dd135.yaml | 5 + .../remove-vsphere-support-411c97b66bdcd264.yaml | 10 + ...ame-tenant_name_discovery-1675a236bb51176b.yaml | 5 + releasenotes/source/2023.1.rst | 2 +- releasenotes/source/2024.2.rst | 6 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 106 ++++++- requirements.txt | 1 + setup.cfg | 31 +- test-requirements.txt | 4 - tox.ini | 2 +- 104 files changed, 1473 insertions(+), 2961 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f03171ad6..acd1c0ed0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -37,0 +38 @@ python-zaqarclient>=1.3.0 # Apache-2.0 +prometheus_client>=0.20.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 396c008f9..ceecd2858 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2 +1,0 @@ coverage>=4.4.1 # Apache-2.0 -eventlet>=0.30.1 # MIT @@ -6,2 +4,0 @@ oslotest>=3.8.0 # Apache-2.0 -oslo.vmware>=2.17.0 # Apache-2.0 -pyOpenSSL>=17.5.0 # Apache-2.0 @@ -10 +6,0 @@ testtools>=2.2.0 # MIT -gabbi>=1.30.0 # Apache-2.0