Bug 2068189
| Summary: | Mismatch between network qos rule create code and "usage" output | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Francois Palin <fpalin> | |
| Component: | python-openstackclient | Assignee: | Rodolfo Alonso <ralonsoh> | |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 16.2 (Train) | CC: | apevec, chrisw, jpichon, lhh, mtomaska, ralonsoh, scohen | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | python-openstackclient-4.0.2-2.20220330134957.54bf2c0.el8ost | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2070032 (view as bug list) | Environment: | ||
| Last Closed: | 2022-06-22 16:06:16 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2070032 | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:4793 |
Description of problem: The "usage" output provided from the Openstack CLI is inconsistent with the code itself. $ openstack network qos rule create usage: openstack network qos rule create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--type <type>] *** "type" is shown here as optional *** [--max-kbps <max-kbps>] [--max-burst-kbits <max-burst-kbits>] [--dscp-mark <dscp-mark>] [--min-kbps <min-kbps>] [--ingress | --egress] <qos-policy> But when trying to use that command without the "--type" option, we get: $ openstack network qos rule create --ingress --max-kbps 1000 c1463a01-ea33-4342-9ef8-bffdfa72a62e "Create" rule command requires argument "type" Version-Release number of selected component (if applicable): OSP 16.2 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: