Improve error message when arguments missing for vnf-events-list command

Bug #1629399 reported by vishwanath jayaraman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Low
dharmendra

Bug Description

Executing the command "tacker vnf-events-list <vnf_id>" displays the below error message that fails to convey what arguments are missing.

Invalid values_specs <vnf_id>

The correct command should have been "tacker vnf-events-list --resource_id <vnf_id>".
The error message should have thrown meaningful message that would have listed the usage and supported arguments such as below:

usage: tacker vnf-events-list [-h] [-f {csv,html,json,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>] [--noindent]
                              [--quote {all,minimal,none,nonnumeric}]
                              [--request-format {json,xml}] [-D] [-F FIELD]

List events that belong to a given VNF. The supported args are --id,
--resource_id, --resource_state, --event_type

summary: - Improve error message when parameters missing for vnf-events-list
- command
+ Improve error message when arguments missing for vnf-events-list command
Changed in tacker:
status: New → Triaged
importance: Undecided → Medium
milestone: none → ocata-1
Milind Gunjan (mgunjan)
Changed in tacker:
assignee: nobody → Milind Gunjan (mgunjan)
Changed in tacker:
milestone: ocata-1 → ocata-3
Revision history for this message
Sridhar Ramaswamy (srics-r) wrote :

Unassigned due to inactivity, pike candidate

Changed in tacker:
importance: Medium → Low
assignee: Milind Gunjan (mgunjan) → nobody
milestone: ocata-3 → none
Revision history for this message
dharmendra (dharmendra-kushwaha) wrote :
Changed in tacker:
assignee: nobody → dharmendra (dharmendra-kushwaha)
status: Triaged → 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.