Move to [oslo_messaging_rabbit]

Oslo_config separated some special groups ( or sections called in
config file), such as 'oslo_messaging_qpid', 'oslo_messaging_rabbit'
and 'oslo_messaging_amqp'. Oslo_config load relevant options from
corresponding groups instead of DEFAULT.
If the options are left in the [DEFAULT] section, we may get a
warning in the log like this:
WARNING oslo_config.cfg [-] Option "rabbit_password" from group
"DEFAULT" is deprecated. Use option "rabbit_password" from group
"oslo_messaging_rabbit".

refer to:
https://review.openstack.org/#/c/173312/

Change-Id: I077d5d47b48de49e4b8354bef5fb68ffdfcb2733
This commit is contained in:
Chaozhe.Chen 2015-12-29 20:41:53 +08:00
parent 62f578174b
commit d804c54de4

View File

@ -34,7 +34,10 @@ debug = False
# Which networking API to use, Defaults to neutron
#network_api = neutron
#-----------------------
# RabbitMQ Config
#-----------------------
[oslo_messaging_rabbit]
#rabbit_userid = guest
#rabbit_password = guest
#rabbit_virtual_host = /