Improve error message when arguments missing for vnf-events-list command
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,
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 |
Changed in tacker: | |
assignee: | nobody → Milind Gunjan (mgunjan) |
Changed in tacker: | |
milestone: | ocata-1 → ocata-3 |
Unassigned due to inactivity, pike candidate