Hi
I did a git clone of Ryu today (Ryu-manager version 3.4). When I ran the
manager with ryu/topology/switches and ryu/topology/dumper, I got the
ArgsAlreadyParsedError error. I read on the archive that it was fixed
previously. But, looks like there's some issue now.
ubuntu@ubuntu:~/ryu$ ./bin/ryu-manager --verbose --observe-links
ryu/topology/switches ryu/topology/dumper
loading app ryu/topology/switches
Traceback (most recent call last):
File "./bin/ryu-manager", line 19, in <module>
main()
File "/home/ubuntu/ryu/ryu/cmd/manager.py", line 70, in main
app_mgr.load_apps(app_lists)
File "/home/ubuntu/ryu/ryu/base/app_manager.py", line 210, in load_apps
cls = self.load_app(app_cls_name)
File "/home/ubuntu/ryu/ryu/base/app_manager.py", line 194, in load_app
mod = utils.import_module(name)
File "/home/ubuntu/ryu/ryu/utils.py", line 86, in import_module
__import__(name)
File "/home/ubuntu/ryu/ryu/topology/switches.py", line 52, in <module>
help='link discovery: explicitly drop lldp packet in')
File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1579, in __inner
result = f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1741, in register_cli_opts
self.register_cli_opt(opt, group, clear_cache=False)
File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1583, in __inner
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1733, in register_cli_opt
raise ArgsAlreadyParsedError("cannot register CLI option")
oslo.config.cfg.ArgsAlreadyParsedError: arguments already parsed: cannot
register CLI option
When I did a dump of the _args in the code that threw the
ArgsAlreadyParsedError, I saw the following entries in it:
['--verbose', '--observe-links', 'ryu/topology/switches',
'ryu/topology/dumper']
What am I doing wrong? I haven't made any changes after the git pull.
Thanks
Srini.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel