neutron-lbaas tries to read neutron.conf from /usr
Bug #1433146 reported by
Thomas Goirand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Ihar Hrachyshka |
Bug Description
neutron-lbaas is trying to read neutron.conf from /usr/lib/
Also, I'm really not fan of neutron-lbaas and neutron being so interdependent. The way it is setup, neutron must build-depend on neutron-lbaas and neutron-lbaas must build-depend on neutron. It shouldn't be this way. One of the project should mock the other. Should I fill another bug report for this?
tags: | added: lbaas |
Changed in neutron: | |
milestone: | none → kilo-rc1 |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Low |
Changed in neutron: | |
status: | In Progress → Fix Committed |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-rc1 → 2015.1.0 |
To post a comment you must log in.
I forgot some build logs... What's below is just an example, there's so many like this (all unit tests?).
FAIL: neutron_ lbaas.tests. unit.test_ agent_scheduler .LBaaSAgentSche dulerTestCase. test_schedule_ loadbalancer_ with_disabled_ agent lbaas.tests. unit.test_ agent_scheduler .LBaaSAgentSche dulerTestCase. test_schedule_ loadbalancer_ with_disabled_ agent ------- ------- ------- ------- ------- ------- ------- ------- ------- :'neutron. api.extensions'
neutron_
-------
_StringException: Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging
stderr
stdout
Traceback (most recent call last): lbaas/tests/ unit/test_ agent_scheduler .py", line 115, in setUp plugin_ str, service_ plugins= service_ plugins) lbaas/tests/ base.py" , line 51, in setUp python2. 7/dist- packages/ neutron/ tests/unit/ test_db_ plugin. py", line 88, in setUp NeutronDbPlugin V2TestCase, self).setUp() python2. 7/dist- packages/ neutron/ tests/unit/ testlib_ api.py" , line 81, in setUp WebTestCase, self).setUp() python2. 7/dist- packages/ neutron/ tests/unit/ testlib_ api.py" , line 61, in setUp SqlTestCase, self).setUp() python2. 7/dist- packages/ neutron/ tests/base. py", line 106, in setUp setup_config( ) python2. 7/dist- packages/ neutron/ tests/unit/ test_db_ plugin. py", line 177, in setup_config NeutronDbPlugin V2TestCase, self).setup_ config( args=args) python2. 7/dist- packages/ neutron/ tests/base. py", line 170, in setup_config config_ parse(args= args) python2. 7/dist- packages/ neutron/ tests/base. py", line 78, in config_parse init(args= args) python2. 7/dist- packages/ neutron/ common/ config. py", line 176, in init python2. 7/dist- packages/ oslo_config/ cfg.py" , line 1853, in __call__ oundError( self._namespace ._files_ not_found) oundError: Failed to find some config files: /usr/lib/ python2. 7/dist- packages/ etc/neutron. conf
File "neutron_
self.
File "neutron_
plugin, service_plugins, ext_mgr)
File "/usr/lib/
super(
File "/usr/lib/
super(
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
config.
File "/usr/lib/
**kwargs)
File "/usr/lib/
raise ConfigFilesNotF
ConfigFilesNotF
Traceback (most recent call last): :'neutron. api.extensions'
_StringException: Empty attachments:
pythonlogging:''
pythonlogging
stderr
stdout
Traceback (most recent call last): lbaas/tests/ unit/test_ agent_scheduler .py", line 115, in setUp plugin_ str, service_ plugins= service_ plugins) lbaas/tests/ base.py" , line 51, in setUp python2. 7/dist- packages/ neutron/ tests/unit/ test_db_ plugin. py", line 88, in setUp NeutronDbPlugin V2TestCase, self).setUp() python2. 7/dist- packages/ neutron/ tests/unit/ testlib_ api.py" , line 81, in setUp WebTestCase, self).setUp() python2. 7/dist- packages/ neutron/ tests/unit/ testlib_ api.py" , line 61, in setUp SqlTestCase, self).setUp() python2. 7/dist- packages/ neutron/ tests/base. py", line 106, in setUp setup_config( ) python2. 7/dist- packages/ neutron/ tests/unit/ test_db_ plugin. py", line 177, in setup_config
File "neutron_
self.
File "neutron_
plugin, service_plugins, ext_mgr)
File "/usr/lib/
super(
File "/usr/lib/
super(
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
s...