CLI "nova keypair-show", Positional arguments description error
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-novaclient |
Fix Released
|
Low
|
Xiaowei Qian | ||
Bug Description
CLI "nova keypair-show <Name or ID>", Positional arguments description supports ID , but does not actually support, So we need to modify the help information.
Reproduction:
[root]# nova help keypair-show
usage: nova keypair-show <keypair>
Show details about the given keypair.
Positional arguments:
<keypair> Name or ID of keypair
[root]# nova keypair-show key-2
+------
| Property | Value |
+------
| created_at | 2015-09-
| deleted | False |
| deleted_at | - |
| fingerprint | b0:72:9e:
| id | 631 |
| name | key-2 |
| updated_at | - |
| user_id | f20b321c214c46f
+------
[root]# nova keypair-show 631
ERROR (CommandError): No keypair with a name or ID of '631' exists.
| Changed in python-novaclient: | |
| assignee: | nobody → Xiaowei Qian (xiaow-qian) |
| status: | New → Confirmed |
| status: | Confirmed → New |
| Changed in python-novaclient: | |
| importance: | Undecided → Low |
| Changed in python-novaclient: | |
| milestone: | none → 2.30.0 |
| status: | Fix Committed → Fix Released |

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