Browse code

Replace deprecated config option [DEFAULT].rabbit_vritual_host

The test job "gate-tempest-dsvm-cells" uses the Nova cells concept.
This triggered a deprecation warning:

WARNING oslo_config.cfg [...]
Option "rabbit_virtual_host" from group "DEFAULT" is deprecated.
Use option "rabbit_virtual_host" from group "oslo_messaging_rabbit".

This change removes that warning.

Change-Id: Ieaf437ecbf58edb8994f6afcb0ac2afcd5585a1e

Markus Zoeller authored on 2016/04/11 17:17:55
Showing 1 changed files
... ...
@@ -648,7 +648,7 @@ function init_nova_cells {
648 648
     if is_service_enabled n-cell; then
649 649
         cp $NOVA_CONF $NOVA_CELLS_CONF
650 650
         iniset $NOVA_CELLS_CONF database connection `database_connection_url $NOVA_CELLS_DB`
651
-        iniset $NOVA_CELLS_CONF DEFAULT rabbit_virtual_host child_cell
651
+        iniset $NOVA_CELLS_CONF oslo_messaging_rabbit rabbit_virtual_host child_cell
652 652
         iniset $NOVA_CELLS_CONF DEFAULT dhcpbridge_flagfile $NOVA_CELLS_CONF
653 653
         iniset $NOVA_CELLS_CONF cells enable True
654 654
         iniset $NOVA_CELLS_CONF cells cell_type compute