← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1098670] Re: policy tests missing a config import

 

** Changed in: glance/grizzly
   Importance: Undecided => Medium

** Changed in: glance/grizzly
       Status: New => Fix Released

** Changed in: glance/grizzly
    Milestone: None => 2013.1

** Changed in: glance/grizzly
     Assignee: (unassigned) => Dan Prince (dan-prince)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1098670

Title:
  policy tests missing a config import

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in Glance grizzly series:
  Fix Released

Bug description:
  When trying to run the glance policy tests as an individual suite:

  ./run_tests.sh glance.tests.unit.test_policy

  I get the following types of errors:

  ======================================================================
  ERROR: test_policy_file_default_rules_default_location (glance.tests.unit.test_policy.TestPolicyEnforcer)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/dprince/projects/glance/glance/tests/unit/base.py", line 64, in setUp
      policy_file=policy_file)
    File "/home/dprince/projects/glance/glance/tests/utils.py", line 82, in config
      CONF.set_override(k, v, group)
    File "/home/dprince/projects/glance/glance/openstack/common/cfg.py", line 1089, in __inner
      return f(self, *args, **kwargs)
    File "/home/dprince/projects/glance/glance/openstack/common/cfg.py", line 1310, in set_override
      opt_info = self._get_opt_info(name, group)
    File "/home/dprince/projects/glance/glance/openstack/common/cfg.py", line 1574, in _get_opt_info
      raise NoSuchOptError(opt_name, group)
  NoSuchOptError: no such option: filesystem_store_datadir

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1098670/+subscriptions