Implemented bugfix for bug 1252989

I find bug after rebase my api unit tests to the latest master. We forgot
to add 'cfg.CONF.import('opt_name', 'climate.config')

Change-Id: I6c996c738bf3b2ae0b2c6d14beed424f99db4859
fixes: bug #1252989
This commit is contained in:
Nikolaj Starodubtsev 2013-11-20 11:37:04 +04:00
parent a24fb07d39
commit a2bdf75a10

View File

@ -25,8 +25,18 @@ from climate import context
from climate.openstack.common import log
from climate.openstack.common.middleware import debug
LOG = log.getLogger(__name__)
cfg.CONF.import_opt('log_exchange', 'climate.config')
cfg.CONF.import_opt('os_auth_host', 'climate.config')
cfg.CONF.import_opt('os_auth_port', 'climate.config')
cfg.CONF.import_opt('os_auth_protocol', 'climate.config')
cfg.CONF.import_opt('os_admin_username', 'climate.config')
cfg.CONF.import_opt('os_admin_password', 'climate.config')
cfg.CONF.import_opt('os_admin_tenant_name', 'climate.config')
cfg.CONF.import_opt('os_auth_version', 'climate.config')
eventlet.monkey_patch(
os=True, select=True, socket=True, thread=True, time=True)