Dynamic routing: listing speaker per agent fails

Bug #1762488 reported by Dr. Jens Harbott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Undecided
Dr. Jens Harbott

Bug Description

Running "openstack bgp speaker list --agent <id>" results in a traceback:

Traceback (most recent call last):
  File "/root/osc/local/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/root/osc/local/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/root/osc/local/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/root/osc/local/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/root/osc/local/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/root/osc/local/lib/python2.7/site-packages/cliff/display.py", line 116, in run
    column_names, data = self.take_action(parsed_args)
  File "/root/osc/local/lib/python2.7/site-packages/neutronclient/osc/v2/dynamic_routing/bgp_speaker.py", line 190, in take_action
    data = client.list_bgp_speaker_on_dragent(parsed_args.agent_id)
AttributeError: 'Namespace' object has no attribute 'agent_id'

Changed in python-neutronclient:
assignee: nobody → Dr. Jens Harbott (j-harbott)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/559799

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/559799
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=bcffe1fce7584e9e7a3488959a17b45666592119
Submitter: Zuul
Branch: master

commit bcffe1fce7584e9e7a3488959a17b45666592119
Author: Jens Harbott <email address hidden>
Date: Mon Apr 9 17:28:27 2018 +0000

    Fix list bgp speaker by agent ID

    The arg is called "agent", not "agent_id".

    Change-Id: I5dd524137202a5411451e775c7ca5d6748dc6e7a
    Closes-Bug: 1762488

Changed in python-neutronclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-neutronclient 6.9.0

This issue was fixed in the openstack/python-neutronclient 6.9.0 release.

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.