Libra client exception with no port on node

Bug #1125430 reported by David Shrewsbury
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libra
Fix Released
High
Andrew Hutchings

Bug Description

Note no port # on the node value:

$ libra_client create --name junk1 --protocol HTTP --node 10.0.0.1

Traceback (most recent call last):
  File "/Users/david/Devel/ignore/mypy/bin/libra_client", line 9, in <module>
    load_entry_point('python-libraclient==1.2', 'console_scripts', 'libra_client')()
  File "/Users/david/Devel/ignore/git/python-libraclient/libraclient/client.py", line 47, in main
    method(args)
  File "/Users/david/Devel/ignore/git/python-libraclient/libraclient/libraapi.py", line 132, in create_lb
    nodes.append({'address': addr[0], 'port': addr[1]})
IndexError: list index out of range

Tags: client
Changed in libra:
status: New → Fix Released
importance: Undecided → High
milestone: none → 1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.