From a36977475a293db8cdc9aabd4fb10fd315aff6f6 Mon Sep 17 00:00:00 2001 From: Trygve Vea Date: Sun, 8 Oct 2017 23:38:01 +0200 Subject: [PATCH] Warn when configuring dedicated database connection for placement API The options supporting this are discussed in change 39fb302fd9c8fc57d3e4bea1c60a02ad5067163f, which has since been reverted. It may be implemented in the future, but currently has no effect. Change-Id: I63db5b9762d5bdaf6583a4b68c6407f6fbcf33c6 --- manifests/db.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/db.pp b/manifests/db.pp index 14d2555c8..cac25fe3c 100644 --- a/manifests/db.pp +++ b/manifests/db.pp @@ -94,6 +94,13 @@ class nova::db ( include ::nova::deps include ::nova::params + if $placement_database_connection { + warning('placement_database_connection has no effect as of pike, and may be removed in a future release') + } + if $placement_slave_connection { + warning('placement_slave_connection has no effect as of pike, and may be removed in a future release') + } + # NOTE(spredzy): In order to keep backward compatibility we rely on the pick function # to use nova:: first the nova::db:: $database_connection_real = pick($::nova::database_connection, $database_connection)