Ensure that debug agent has root_helper in [AGENT] section

This is a temporary fix until the Quantum patch lands. Then
devstack will be updated to remove all of the root_helper
settings in the DEFAULT section.
The Quantum patch in Question is:
https://review.openstack.org/#/c/20603/

Change-Id: Ie17ae76e8b525481e1002bd941812390cf2e2afc
This commit is contained in:
Gary Kotton 2013-01-30 13:52:43 +00:00
parent f49c41010b
commit d9ca2b2fd6

View File

@ -410,6 +410,9 @@ function _configure_quantum_debug_command() {
iniset $QUANTUM_TEST_CONFIG_FILE DEFAULT debug False
iniset $QUANTUM_TEST_CONFIG_FILE DEFAULT use_namespaces $Q_USE_NAMESPACE
iniset $QUANTUM_TEST_CONFIG_FILE DEFAULT root_helper "$Q_RR_COMMAND"
# Intermediate fix until Quantum patch lands and then line above will
# be cleaned.
iniset $QUANTUM_TEST_CONFIG_FILE AGENT root_helper "$Q_RR_COMMAND"
_quantum_setup_keystone $QUANTUM_TEST_CONFIG_FILE DEFAULT set_auth_url
_quantum_setup_interface_driver $QUANTUM_TEST_CONFIG_FILE