osprofiler change broke out-of-tree unit tests

Bug #1585031 reported by YAMAMOTO Takashi
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
neutron
In Progress
Undecided
Unassigned

Bug Description

the recently merged ofprofiler change [1] broke out-of-tree code.

[1] I7fa2ad57dc5763ce72cba6945ebcadef2188e8bd

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%20%5C%22no%20such%20option%20in%20group%20DEFAULT%3A%20profiler%5C%22

eg.
http://logs.openstack.org/81/320181/2/check/gate-tap-as-a-service-python27/60fc1d1/testr_results.html.gz

Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/local/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
    self._setUp()
  File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/src/neutron/neutron/tests/unit/testlib_api.py", line 67, in _setUp
    engine = db_api.get_engine()
  File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/src/neutron/neutron/db/api.py", line 73, in get_engine
    facade = _create_facade_lazily()
  File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/src/neutron/neutron/db/api.py", line 63, in _create_facade_lazily
    if cfg.CONF.profiler.enabled and cfg.CONF.profiler.trace_sqlalchemy:
  File "/home/jenkins/workspace/gate-tap-as-a-service-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2183, in __getattr__
    raise NoSuchOptError(name)
oslo_config.cfg.NoSuchOptError: no such option in group DEFAULT: profiler

summary: - osprofiler change broke out-of-tree code
+ osprofiler change broke out-of-tree unit tests
Revision history for this message
Muawia Khan (muawia) wrote :
Changed in neutron:
status: New → In Progress
Revision history for this message
Dariusz Smigiel (smigiel-dariusz) wrote :

@Yamamoto, I'm sorry for inconvenience with changing duplicates, but "duplicate" was already merged.
This will allow to track place, where initial fix was done.

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.