the parameter "function" maybe an Optional arguments

Bug #1835719 reported by zhangbei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Won't Fix
Low
zhangbei

Bug Description

when exec cli system help host-stor-add,i find the parameter "function" is a Optional arguments(include by []),
but in fact it devides to Positional arguments,i think it maybu a question.
system help host-stor-add
usage: system host-stor-add [--journal-location [<journal_location>]]
                            [--journal-size [<size of the journal GiB>]]
                            [--tier-uuid [<storage tier uuid>]]
                            <hostname or id> [<function>] <idisk_uuid>

Add a storage to a host.

Positional arguments:
  <hostname or id> Name or ID of host [REQUIRED]
  <function> Type of the stor (default: osd)
  <idisk_uuid> uuid of disk [REQUIRED]

Optional arguments:
  --journal-location [<journal_location>]
                        Location of stor's journal
  --journal-size [<size of the journal (GiB)>]
                        Size of stor's journal, in GiB
  --tier-uuid [<storage tier uuid>]
                        storage tier to assign this OSD

Tags: stx.config
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Low priority / not gating - minor issue with the help for one cli cmd

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
zhangbei (zb-ccc)
Changed in starlingx:
assignee: nobody → zhangbei (zb-ccc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/669783

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
zhangbei (zb-ccc) wrote :

The revised help information is as follows:
system help host-stor-add
usage: system host-stor-add [--function [<function>]]
                            [--journal-location [<journal_location>]]
                            [--journal-size [<size of the journal GiB>]]
                            [--tier-uuid [<storage tier uuid>]]
                            <hostname or id> <idisk_uuid>

Add a storage to a host.

Positional arguments:
  <hostname or id> Name or ID of host [REQUIRED]
  <idisk_uuid> uuid of disk [REQUIRED]

Optional arguments:
  --function [<function>]
                        Type of the stor (default: osd)
  --journal-location [<journal_location>]
                        Location of stor's journal
  --journal-size [<size of the journal (GiB)>]
                        Size of stor's journal, in GiB
  --tier-uuid [<storage tier uuid>]
                        storage tier to assign this OSD

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on config (master)

Change abandoned by Bart Wensley (<email address hidden>) on branch: master
Review: https://review.opendev.org/669783
Reason: This patch has been idle for more than six months. I am abandoning it to keep the review queue sane. If you are still interested in working on this patch, please unabandon it and upload a new patchset.

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

No progress on this bug for more than 2 years. Candidate for closure.

If there is no update, this issue is targeted to be closed as 'Won't Fix' by April 5th.

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

Changing the status to 'Won't Fix' as there is no activity.

Changed in starlingx:
status: In Progress → Won't Fix
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.