several config options are in the DEFAULT section and shouldn't be

Bug #1451226 reported by Steven Dake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Medium
Steven Dake

Bug Description

Our default configuration file and quickstart guide set configuration options in the wrong places:

2015-05-03 17:08:16.690 1 WARNING oslo_config.cfg [-] Option "db_backend" from group "DEFAULT" is deprecated. Use option "backend" from group "database".
2015-05-03 17:18:52.263 1 WARNING oslo_config.cfg [-] Option "rabbit_host" from group "DEFAULT" is deprecated. Use option "rabbit_host" from group "oslo_messaging_rabbit".
2015-05-03 17:18:52.263 1 WARNING oslo_config.cfg [-] Option "rabbit_userid" from group "DEFAULT" is deprecated. Use option "rabbit_userid" from group "oslo_messaging_rabbit".
2015-05-03 17:18:52.264 1 WARNING oslo_config.cfg [-] Option "rabbit_password" from group "DEFAULT" is deprecated. Use option "rabbit_password" from group "oslo_messaging_rabbit".

We need to refresh the configuration file and change the quickstart guide (and possibly devstack integration) to store these config options in non-deprecated places.

Revision history for this message
Steven Dake (sdake) wrote :

Reason for medium is warnings confuse users and should be avoided.

Changed in magnum:
assignee: nobody → Steven Dake (sdake)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Tom Cammann (tom-cammann) wrote :

Cannot see any reference to db_backend in the magnum repo.

Revision history for this message
Steven Dake (sdake) wrote :

Tom,

It comes from one of the oslo modules.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/180926
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=8b1889d6a0e6bda2986ef9460419071ee4ca0c85
Submitter: Jenkins
Branch: master

commit 8b1889d6a0e6bda2986ef9460419071ee4ca0c85
Author: Tom Cammann <email address hidden>
Date: Thu May 7 11:14:55 2015 +0100

    Remove oslo config warnings

    Update iniset to put rabbit config under the "oslo_messaging_rabbit"
    rather than "DEFAULT"

    Change-Id: I7b2c69ed018886979e1f7f50737de57a3709930c
    Closes-Bug: 1451226

Changed in magnum:
status: Triaged → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-2
status: Fix Committed → Fix Released
Adrian Otto (aotto)
Changed in magnum:
milestone: mitaka-2 → mitaka-1
Revision history for this message
Mahito OGURA (earthdragon77) wrote :

"rabbit_host", "rabbit_userid" and "rabbit_password" are deprecated.

2016-09-26 04:22:47.056 WARNING oslo_config.cfg [-] Option "rabbit_host" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.
2016-09-26 04:22:47.059 WARNING oslo_config.cfg [-] Option "rabbit_password" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.
2016-09-26 04:22:47.064 WARNING oslo_config.cfg [-] Option "rabbit_userid" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.

We need to replaced by [DEFAULT]/transport_url.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to magnum (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/376128

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to magnum (master)

Reviewed: https://review.openstack.org/376128
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=d8c7a83c9c942f11531d488791282f58d23783e4
Submitter: Jenkins
Branch: master

commit d8c7a83c9c942f11531d488791282f58d23783e4
Author: Mahito OGURA <email address hidden>
Date: Mon Sep 26 10:50:46 2016 +0900

    Change several RabbitMQ config settings

    "rabbit_userid", "rabbit_password", "rabbit_host" are deprecated for removal.
    This patch changes these options to "transport_url" in DEFAULT group.

    Change-Id: I0c33a1f84103d07e371e11229276c8cecdc485c4
    Related-Bug: #1451226

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.