yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25809
[Bug 1392569] Re: ofagent UT failure
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => kilo-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1392569
Title:
ofagent UT failure
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
recent changes (the one in policy module) made ofagent UT fail.
note: the failure depends on execution order of tests.
eg. "tox -e py27 neutron.tests.unit.ofagent.test_ofa_neutron_agent"
Traceback (most recent call last):
File "neutron/tests/unit/ofagent/test_ofa_neutron_agent.py", line 217, in setUp
self.agent = self.mod_agent.OFANeutronAgent(self.ryuapp, **kwargs) File "neutron/plugins/ofagent/agent/ofa_neutron_agent.py", line 249, in __init__
self.setup_rpc()
File "neutron/plugins/ofagent/agent/ofa_neutron_agent.py", line 301, in setup_
rpc
self.context = context.get_admin_context_without_session()
File "neutron/context.py", line 177, in get_admin_context_without_session
read_deleted=read_deleted)
File "neutron/context.py", line 68, in __init__
self.is_advsvc = policy.check_is_advsvc(self)
File "neutron/policy.py", line 434, in check_is_advsvc
init()
File "neutron/policy.py", line 79, in init
_ENFORCER.load_rules(True)
File "neutron/openstack/common/policy.py", line 246, in load_rules
path = self._get_policy_path(path)
File "neutron/openstack/common/policy.py", line 282, in _get_policy_path
policy_path = CONF.find_file(path)
File "/disks/774373a2-e180-11e3-9fa1-08606e7f74e7/git/neutron/.tox/py27/lib/python2.7/site-packages/oslo/config/cfg.py", line 1958, in find_file
if self.config_dir:
File "/disks/774373a2-e180-11e3-9fa1-08606e7f74e7/git/neutron/.tox/py27/lib/python2.7/site-packages/oslo/config/cfg.py", line 1697, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option: config_dir
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1392569/+subscriptions
References