tests/unit/ryu/test_ryu_db: db failure

Bug #1061408 reported by Isaku Yamahata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Isaku Yamahata

Bug Description

The unit test of test_ryu_db fails when it is specified to run as follows.

$ ./run_tests.sh quantum.tests.unit.ryu.test_ryu_db
RyuDBTest
    test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)ERROR

======================================================================
ERROR: test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/quantum/tests/unit/ryu/test_ryu_db.py", line 30, in setUp
    options = {"sql_connection": cfg.CONF.DATABASE.sql_connection}
  File "/quantum/openstack/common/cfg.py", line 1039, in __getattr__
    return self._get(name)
  File "/quantum/openstack/common/cfg.py", line 1361, in _get
    value = self._substitute(self._do_get(name, group))
  File "/quantum/openstack/common/cfg.py", line 1377, in _do_get
    info = self._get_opt_info(name, group)
  File "/quantum/openstack/common/cfg.py", line 1470, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: DATABASE

----------------------------------------------------------------------
Ran 1 test in 0.001s

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
assignee: nobody → Isaku Yamahata (yamahata)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/14022
Committed: http://github.com/openstack/quantum/commit/a11f6cec92c9a93d37cdd94b7363681addabfe9e
Submitter: Jenkins
Branch: master

commit a11f6cec92c9a93d37cdd94b7363681addabfe9e
Author: Isaku Yamahata <email address hidden>
Date: Tue Sep 18 23:55:14 2012 +0900

    tests/unit/ryu/test_ryu_db: db failure

    Fixes bug 1061408

    The unit test of test_ryu_db fails when it is specified to run as follows.

    $ ./run_tests.sh quantum.tests.unit.ryu.test_ryu_db
    RyuDBTest
        test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)ERROR

    ======================================================================
    ERROR: test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/quantum/tests/unit/ryu/test_ryu_db.py", line 30, in setUp
        options = {"sql_connection": cfg.CONF.DATABASE.sql_connection}
      File "/quantum/openstack/common/cfg.py", line 1039, in __getattr__
        return self._get(name)
      File "/quantum/openstack/common/cfg.py", line 1361, in _get
        value = self._substitute(self._do_get(name, group))
      File "/quantum/openstack/common/cfg.py", line 1377, in _do_get
        info = self._get_opt_info(name, group)
      File "/quantum/openstack/common/cfg.py", line 1470, in _get_opt_info
        raise NoSuchOptError(opt_name, group)
    NoSuchOptError: no such option: DATABASE

    ----------------------------------------------------------------------
    Ran 1 test in 0.001s

    Change-Id: Ie639914c64e6fba10112a58efa7f363615d0c9fd

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → grizzly-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-1 → 2013.1
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.