Invalid Error message in neutron commands when we pass wrong syntax for optional arguments

Bug #1438518 reported by Preeti Mirji
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Undecided
Preeti Mirji

Bug Description

Error message displayed is not correct when we provide invalid syntax in neutron commands.

neutron router-create r1 ----distributed True
'Namespace' object has no attribute ''

Expected: error: Invalid values_specs ----distributed

neutron router-create r1 ---distributed True
'Namespace' object has no attribute '_distributed'

Expected: error: Invalid values_specs ---distributed

net-create net1 ----tenant-id 123
'Namespace' object has no attribute ''

Expected: error: Invalid values_specs ----tenant-id

Ramaraja (ramaraja-r)
Changed in python-neutronclient:
assignee: nobody → Ramaraja (ramaraja-r)
description: updated
Changed in python-neutronclient:
assignee: Ramaraja (ramaraja-r) → Preeti Mirji (preeti-mirji)
description: updated
Changed in python-neutronclient:
status: New → In Progress
Changed in python-neutronclient:
status: In Progress → New
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/173749

Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/173749
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=7bc65cb9a5c18bfd2a9fed1fed60aacb113a9c22
Submitter: Jenkins
Branch: master

commit 7bc65cb9a5c18bfd2a9fed1fed60aacb113a9c22
Author: preeti-mirji <email address hidden>
Date: Wed Apr 15 03:03:57 2015 -0700

    Fix invalid error message in neutron-cli

    Error message displayed is not correct when we
    provide invalid syntax for optional arguments
    in neutron CLI
    Closes-bug: 1438518

    Change-Id: If5f875f657c977868c934a21d663e6d1a0a5158e

Changed in python-neutronclient:
status: In Progress → Fix Committed
Changed in python-neutronclient:
milestone: none → 2.6.0
status: Fix Committed → Fix Released
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.