yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14028
[Bug 1314554] Re: ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
It works after I rebuild my virtual env.
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1314554
Title:
ArgsAlreadyParsedError: arguments already parsed: cannot register CLI
option
Status in OpenStack Compute (Nova):
Invalid
Bug description:
HEAD is commit 64bfdb6ad4c306a5ae96257121fd4699a422137e
$ nosetests -s nova.tests.network.test_manager
....
======================================================================
FAIL: nova.tests.network.test_manager.VlanNetworkTestCase.test_vpn_allocate_fixed_ip_no_network_id
----------------------------------------------------------------------
_StringException: Empty attachments:
pythonlogging:''
traceback-1: {{{
Traceback (most recent call last):
File "/home/jian/code/letv/upstream/nova/nova/rpc.py", line 70, in cleanup
assert TRANSPORT is not None
AssertionError
}}}
Traceback (most recent call last):
File "/home/jian/code/letv/upstream/nova/nova/tests/network/test_manager.py", line 672, in setUp
super(VlanNetworkTestCase, self).setUp()
File "/home/jian/code/letv/upstream/nova/nova/test.py", line 282, in setUp
self.useFixture(conf_fixture.ConfFixture(CONF))
File "/home/jian/code/letv/upstream/nova/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 628, in useFixture
fixture.setUp()
File "/home/jian/code/letv/upstream/nova/nova/tests/conf_fixture.py", line 61, in setUp
config.parse_args([], default_config_files=[])
File "/home/jian/code/letv/upstream/nova/nova/config.py", line 33, in parse_args
debugger.register_cli_opts()
File "/home/jian/code/letv/upstream/nova/nova/debugger.py", line 49, in register_cli_opts
cfg.CONF.register_cli_opts(cli_opts, 'remote_debug')
File "/home/jian/code/letv/upstream/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1547, in __inner
result = f(self, *args, **kwargs)
File "/home/jian/code/letv/upstream/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1711, in register_cli_opts
self.register_cli_opt(opt, group, clear_cache=False)
File "/home/jian/code/letv/upstream/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1551, in __inner
return f(self, *args, **kwargs)
File "/home/jian/code/letv/upstream/nova/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1703, in register_cli_opt
raise ArgsAlreadyParsedError("cannot register CLI option")
ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
----------------------------------------------------------------------
Ran 110 tests in 0.340s
FAILED (failures=110)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1314554/+subscriptions
References