Trove conf variables should be defined

Bug #1421403 reported by Peter Stachowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Brian Hunter

Bug Description

To facilitate enabling certain features in Trove (such as the OpenStack profiler), some variables should be exposed so they can be referenced in the local.conf file. At present, all the config files in bin/trove have hard-coded names. For example: $TROVE_CONF_DIR/trove.conf

New variables should be made to incorporate the actual configuration file. For example: TROVE_CONF=$TROVE_CONF_DIR/trove.conf

This way, the configuration file can be referenced externally (as $TROVE_CONF, etc.), thus avoiding additional hard-coded information.

For example:
[[post-config|$TROVE_CONF]]
[profiler]
enabled = True

Brian Hunter (bhunter)
Changed in devstack:
assignee: nobody → Brian Hunter (bhunter)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/155486

Changed in devstack:
status: New → In Progress
Changed in devstack:
status: In Progress → Confirmed
Changed in devstack:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/155486
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=236fd078c085446f7239feba61a1f52c81be5c57
Submitter: Jenkins
Branch: master

commit 236fd078c085446f7239feba61a1f52c81be5c57
Author: Brian Hunter <email address hidden>
Date: Thu Feb 12 16:14:02 2015 -0500

    define variables for Trove to be used in local.conf

    This defines a number of variables for Trove configuration files
    and options
    In addition to general cleanup within devstack, this also enables
    consumers to enable features such as Openstack profiling, without
    the need to repeat the hardcoding of these parameters in their
    local.conf

    Change-Id: Ieaa999ea3ca5c4f7d320416a8d2375c9a1d03d39
    closes-bug: #1421403

Changed in devstack:
status: In Progress → Fix Released
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.