Bug 996522
| Summary: | "rhc authorization delete all" command doesn't work | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ma xiaoqiang <xiama> |
| Component: | oc | Assignee: | Miciah Dashiel Butler Masters <mmasters> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.2.1 | CC: | baulakh, bleanhar, jforrest, jialiu, libra-onpremise-devel, lzhang, wsun, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Minor bugs and inconsistent command options in the client tools caused confusion for users. Fixes to the –help option for some CLI commands, new command aliases, and changes to the default action for the “rhc cartridge” command in the current release of OpenShift Enterprise alleviates some of the confusion for users.
|
Story Points: | --- |
| Clone Of: | 974439 | Environment: | |
| Last Closed: | 2013-09-05 13:24:17 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: | 974439 | ||
| Bug Blocks: | |||
|
Description
Ma xiaoqiang
2013-08-13 11:01:50 UTC
We need to pull both of these pull requests into Enterprise: https://github.com/openshift/rhc/pull/402 https://github.com/openshift/rhc/pull/441 The first, <https://github.com/openshift/rhc/pull/402>, does the following: • Fixes rhc's help output so that if a command 'foo' has both an action 'bar' and a hyphenated action 'bar-baz', the help output of `rhc foo bar` will not erroneously list 'baz' as an action. • Fixes rhc's help output for management commands to show both options and actions rather than one or the other. • Adds `rhc aliases`, which is an alias for `rhc alias list`. • Adds `rhc authorizations list`, which is an alias for `rhc authorizations`. The second, <https://github.com/openshift/rhc/pull/441>, does the following: • Deletes the default action for `rhc cartridge` so that `rhc cartridge` just displays the help text with options and actions. • Fixes a bug introduced by the first pull request where the help text for 'cartridges' in `rhc -h` randomly sometimes displays the summary of the 'cartridge' management command ('Manage your application cartridges') instead of the correct summary ('List available cartridges'). Checked on puddle-1-2-2013-08-22, issue fixed: rhc authorization delete -h Usage: rhc authorization-delete <token_or_id> [...<token_or_id>] Delete one or more of the authorization tokens associated with your account. After deletion, any clients using the token will no longer have access to OpenShift and will need to reauthenticate. Options --auth-token TOKEN The token you wish to delete Global Options -l, --rhlogin LOGIN OpenShift login -p, --password PASSWORD OpenShift password --token TOKEN An authorization token for accessing your account. --server NAME An OpenShift server hostname (default: openshift.redhat.com) --timeout SECONDS The timeout for operations See 'rhc help options' for a full list of global options. move it to verified 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1211.html |