> I meet this problem today, would you please give me some guide about how
> do you rebuild your env to solve this problem? thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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
>
mv .venv /tmp
run_tests.sh -p # again
2014-05-04 15:30 GMT+08:00 nafeiyang <email address hidden>:
> I meet this problem today, would you please give me some guide about how /bugs.launchpad .net/bugs/ 1314554 edError: arguments already parsed: cannot register CLI 5ae96257121fd46 99a422137e network. test_manager ======= ======= ======= ======= ======= ======= ======= ======= ======= network. test_manager. VlanNetworkTest Case.test_ vpn_allocate_ fixed_ip_ no_network_ id ------- ------- ------- ------- ------- ------- ------- ------- ------- jian/code/ letv/upstream/ nova/nova/ rpc.py" , line 70, in jian/code/ letv/upstream/ nova/nova/ tests/network/ test_manager. py", rkTestCase, self).setUp() jian/code/ letv/upstream/ nova/nova/ test.py" , line 282, in (conf_fixture. ConfFixture( CONF)) jian/code/ letv/upstream/ nova/.venv/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", jian/code/ letv/upstream/ nova/nova/ tests/conf_ fixture. py", parse_args( [], default_ config_ files=[ ]) jian/code/ letv/upstream/ nova/nova/ config. py", line 33, in register_ cli_opts( ) jian/code/ letv/upstream/ nova/nova/ debugger. py", line 49, register_ cli_opts( cli_opts, 'remote_debug') jian/code/ letv/upstream/ nova/.venv/ local/lib/ python2. 7/site- packages/ oslo/config/ cfg.py" , jian/code/ letv/upstream/ nova/.venv/ local/lib/ python2. 7/site- packages/ oslo/config/ cfg.py" , cli_opt( opt, group, clear_cache=False) jian/code/ letv/upstream/ nova/.venv/ local/lib/ python2. 7/site- packages/ oslo/config/ cfg.py" , jian/code/ letv/upstream/ nova/.venv/ local/lib/ python2. 7/site- packages/ oslo/config/ cfg.py" , edError( "cannot register CLI option") edError: arguments already parsed: cannot register CLI ------- ------- ------- ------- ------- ------- ------- ------- ------- /bugs.launchpad .net/nova/ +bug/1314554/ +subscriptions
> do you rebuild your env to solve this problem? thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> ArgsAlreadyPars
> option
>
> Status in OpenStack Compute (Nova):
> Invalid
>
> Bug description:
> HEAD is commit 64bfdb6ad4c306a
>
>
> $ nosetests -s nova.tests.
>
> ....
>
> =======
> FAIL:
> nova.tests.
> -------
> _StringException: Empty attachments:
> pythonlogging:''
>
> traceback-1: {{{
> Traceback (most recent call last):
> File "/home/
> cleanup
> assert TRANSPORT is not None
> AssertionError
> }}}
>
> Traceback (most recent call last):
> File
> "/home/
> line 672, in setUp
> super(VlanNetwo
> File "/home/
> setUp
> self.useFixture
> File
> "/home/
> line 628, in useFixture
> fixture.setUp()
> File "/home/
> line 61, in setUp
> config.
> File "/home/
> parse_args
> debugger.
> File "/home/
> in register_cli_opts
> cfg.CONF.
> File
> "/home/
> line 1547, in __inner
> result = f(self, *args, **kwargs)
> File
> "/home/
> line 1711, in register_cli_opts
> self.register_
> File
> "/home/
> line 1551, in __inner
> return f(self, *args, **kwargs)
> File
> "/home/
> line 1703, in register_cli_opt
> raise ArgsAlreadyPars
> ArgsAlreadyPars
> option
>
>
> -------
> Ran 110 tests in 0.340s
>
> FAILED (failures=110)
>
> To manage notifications about this bug go to:
> https:/
>
--
Best,
Jian