Merge "Warn when configuring dedicated database connection for placement API"
This commit is contained in:
commit
c533322558
@ -94,6 +94,13 @@ class nova::db (
|
|||||||
include ::nova::deps
|
include ::nova::deps
|
||||||
include ::nova::params
|
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
|
# NOTE(spredzy): In order to keep backward compatibility we rely on the pick function
|
||||||
# to use nova::<myparam> first the nova::db::<myparam>
|
# to use nova::<myparam> first the nova::db::<myparam>
|
||||||
$database_connection_real = pick($::nova::database_connection, $database_connection)
|
$database_connection_real = pick($::nova::database_connection, $database_connection)
|
||||||
|
Loading…
Reference in New Issue
Block a user