magnum cluster create does not tell positional argument completely

Bug #1696384 reported by NidhiMittalHada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-magnumclient
New
Undecided
NidhiMittalHada

Bug Description

Thats help of magnum cluster create
=======================================
stack@kernel:~/devstack$ magnum help cluster-create
usage: magnum cluster-create [--keypair-id <keypair> | --keypair <keypair>]
                             [--name <name>] --cluster-template
                             <cluster_template> [--node-count <node-count>]
                             [--master-count <master-count>]
                             [--discovery-url <discovery-url>]
                             [--timeout <timeout>]
                             [<name>]

Create a cluster.

Positional arguments:
  <name> Name of the cluster to create.

Optional arguments:
  --keypair-id <keypair>
                        Name of the keypair to use for this cluster. This
                        parameter is deprecated and will be removed in a
                        future release. Use --keypair instead.
  --keypair <keypair> Name of the keypair to use for this cluster.
  --name <name> Name of the cluster to create. The --name parameter is
                        deprecated and will be removed in a future release.
                        Use the <name> positional parameter instead.
  --cluster-template <cluster_template>
                        ID or name of the cluster template.
  --node-count <node-count>
                        The cluster node count.
  --master-count <master-count>
                        The number of master nodes for the cluster.
  --discovery-url <discovery-url>
                        Specifies custom discovery url for node discovery.
  --timeout <timeout> The timeout for cluster creation in minutes. The
                        default is 60 minutes.

================================================================================

stack@kernel:~/devstack$ magnum cluster-create first_cluster
usage: magnum cluster-create [--keypair-id <keypair> | --keypair <keypair>]
                             [--name <name>] --cluster-template
                             <cluster_template> [--node-count <node-count>]
                             [--master-count <master-count>]
                             [--discovery-url <discovery-url>]
                             [--timeout <timeout>]
                             [<name>]
error: argument --cluster-template is required >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Try 'magnum help cluster-create' for more information.

It seems magnum requires cluster-template as mandatory argument but help is misguiding.
Help doesn't tell so. Needs correction

Changed in python-magnumclient:
assignee: nobody → NidhiMittalHada (nidhimittal19)
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.