openstack keypair create does not support --user parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Won't Fix
|
Low
|
M V P Nitesh |
Bug Description
gongysh@
usage: openstack keypair create [-h] [-f {html,json,
Create new public or private key for server ssh access
positional arguments:
<name> New public or private key name
optional arguments:
-h, --help show this help message and exit
--public-key <file> Filename for public key to add. If not used, creates a
output formatters:
output formatter options
-f {html,json,
-c COLUMN, --column COLUMN
table formatter:
--max-width <integer>
--print-empty Print empty table if there is no data to show.
json formatter:
--noindent whether to disable indenting the JSON
shell formatter:
a format a UNIX shell can parse (variable="value")
--prefix PREFIX add a prefix to all variable names
instead
gongysh@
usage: nova keypair-add [--pub-key <pub-key>] [--key-type <key-type>]
Create a new key pair for use with servers.
Positional arguments:
<name> Name of key.
Optional arguments:
--pub-key <pub-key> Path to a public ssh key.
--key-type <key-type> Keypair type. Can be ssh or x509. (Supported by API
--user <user-id> ID of user to whom to add key-pair (Admin only).
Changed in python-openstackclient: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in python-openstackclient: | |
assignee: | David Rabel (rabel-b1) → nobody |
Changed in python-openstackclient: | |
assignee: | nobody → M V P Nitesh (m-nitesh) |
Changed in python-openstackclient: | |
status: | Confirmed → Won't Fix |
Hi yong sheng:
I face the same issue, and draft a blueprint a week ago to add the support, but osc have to call the Nova micro version API to make the new options available, i need to talk with osc core team about how to implement it.
https:/ /blueprints. launchpad. net/python- openstackclient /+spec/ keypair- enhance