Incorrect help message in port(node)-create openstack CLI option
Bug #1631326 reported by
Galyna Zholtkevych
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Triaged
|
Low
|
Unassigned |
Bug Description
Related bug: 1518959
According help message of port-create `MAC address for this port` and `UUID of the node that this port belongs to.`
are optional arguments but in fact user can't create port without it
Precondition:
Environment with openstack CLI
Steps to reproduce:
Execute:
~$ openstack baremetal port create
Output:
openstack baremetal port create: error: argument -a/--address is required
openstack baremetal port create: error: argument -n/--node/
Expected result:
Correct help message about what arguments are optional and what are required
description: | updated |
description: | updated |
Changed in python-ironicclient: | |
importance: | Undecided → Low |
Changed in python-ironicclient: | |
assignee: | Galyna Zholtkevych (gzholtkevych) → nobody |
status: | In Progress → Triaged |
To post a comment you must log in.
Also it corresponds to `node-create`
stack@vs- devstack- 04:~$ openstack help baremetal node-create
[- p <key=value>] [-e <key=value>] [-u <uuid>]
[- n <name>]
usage: openstack baremetal node-create [-c <chassis>] -d <driver> [-i <key=value>]
Register a new node with the Ironic service.
Optional arguments:
UUID of the chassis that this node belongs to.
Driver used to control the node [REQUIRED].
Key/ value pair used by the driver, such as out-of-band
management credentials. Can be specified multiple
times.
Key/ value pair describing the physical characteristics
of the node. This is exported to Nova and used by the
scheduler. Can be specified multiple times.
Record arbitrary key/value metadata. Can be specified
multiple times.
Unique UUID for the node.
Unique name for the node.
-c <chassis>, --chassis <chassis>
-d <driver>, --driver <driver>
-i <key=value>, --driver-info <key=value>
-p <key=value>, --properties <key=value>
-e <key=value>, --extra <key=value>
-u <uuid>, --uuid <uuid>
-n <name>, --name <name>
Actual usage: devstack- 04:~$ openstack baremetal node-create
[- p <key=value>] [-e <key=value>] [-u <uuid>]
[- n <name>]
stack@vs-
usage: openstack baremetal node-create [-c <chassis>] -d <driver> [-i <key=value>]
openstack baremetal node-create: error: argument -d/--driver is required