Deprecate classes to set up Ceilometer DB

Since metric/event storage was offloaded to Gnocchi/Panko, ceilometer
no longer requires its own backend storage.

Change-Id: Idf9904e7e8f1b5eca3f25cd37fb83e9adbca0995
This commit is contained in:
Takashi Kajinami 2022-06-20 10:08:13 +09:00
parent 210fdec48f
commit 60882c29df
4 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# == Class: ceilometer::db
#
# DEPRECATED !!
# Configures the ceilometer database
# This class will install the required libraries depending on the driver
# specified in the connection_string parameter
@ -64,6 +65,8 @@ class ceilometer::db (
include ceilometer::deps
warning('The ceilometer::db class has been deprecated and will be removed in a future release.')
oslo::db { 'ceilometer_config':
db_max_retries => $database_db_max_retries,
connection => $database_connection,

View File

@ -46,6 +46,8 @@ class ceilometer::db::mysql(
validate_legacy(String, 'validate_string', $password)
warning('The ceilometer::db::mysql class has been deprecated and will be removed in a future release.')
openstacklib::db::mysql { 'ceilometer':
user => $user,
password => $password,

View File

@ -34,6 +34,8 @@ class ceilometer::db::postgresql(
include ceilometer::deps
warning('The ceilometer::db::postgresql class has been deprecated and will be removed in a future release.')
openstacklib::db::postgresql { 'ceilometer':
password => $password,
dbname => $dbname,

View File

@ -0,0 +1,9 @@
---
features:
- |
The following classes have been deprecated and will be removed in a future
release.
- ``ceilometer::db``
- ``ceilometer::db::mysql``
- ``ceilometer::db::postgresql``