Traceback (most recent call last):
File "/usr/local/csm/csmserver/work_units/inventory_work_unit.py", line 68, in start
handler_class = get_inventory_handler_class(ctx)
File "/usr/local/csm/csmserver/handlers/loader.py", line 55, in get_inventory_handler_class
discover_platform_info(ctx)
File "/usr/local/csm/csmserver/handlers/loader.py", line 33, in discover_platform_info
conn = condoor.Connection(name=ctx.hostname, urls=ctx.host_urls, log_level=logging.CRITICAL)
File "/usr/local/lib/python2.7/dist-packages/condoor/init.py", line 159, in init
nodes[index].append(make_hop_info_from_url(url))
File "/usr/local/lib/python2.7/dist-packages/condoor/hopinfo.py", line 81, in make_hop_info_from_url
parsed.port,
File "/usr/lib/python2.7/urlparse.py", line 113, in port
port = int(port, 10)
ValueError: invalid literal for int() with base 10: 'test'
Example:
urlparse('telnet://test:#test@127.0.0.1:27015') print('scheme', parsed.scheme) print('username', parsed.username) print('password', parsed.password) print('host', parsed.hostname) print('port', parsed.port)
Here is the trace:
Traceback (most recent call last): File "/usr/local/csm/csmserver/work_units/inventory_work_unit.py", line 68, in start handler_class = get_inventory_handler_class(ctx) File "/usr/local/csm/csmserver/handlers/loader.py", line 55, in get_inventory_handler_class discover_platform_info(ctx) File "/usr/local/csm/csmserver/handlers/loader.py", line 33, in discover_platform_info conn = condoor.Connection(name=ctx.hostname, urls=ctx.host_urls, log_level=logging.CRITICAL) File "/usr/local/lib/python2.7/dist-packages/condoor/init.py", line 159, in init nodes[index].append(make_hop_info_from_url(url)) File "/usr/local/lib/python2.7/dist-packages/condoor/hopinfo.py", line 81, in make_hop_info_from_url parsed.port, File "/usr/lib/python2.7/urlparse.py", line 113, in port port = int(port, 10) ValueError: invalid literal for int() with base 10: 'test'