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
This commit is contained in:
@@ -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::<myparam> first the nova::db::<myparam>
|
||||
$database_connection_real = pick($::nova::database_connection, $database_connection)
|
||||
|
||||
Reference in New Issue
Block a user