| Summary: | Error Messaging: Inconsistent casing in CLI | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Matt Reid <mreid> |
| Component: | subscription-manager | Assignee: | Alex Wood <awood> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.9 | CC: | awood, bkearney, jmolet, jsefler |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
No documentation needed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-08 03:50:43 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 771748, 827225 | ||
|
Description
Matt Reid
2012-04-16 13:51:37 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. commit 2f65bc452b7cdc36a87490a7a91dda6627b073fc
Author: Alex Wood <awood>
Date: Wed Apr 18 14:58:09 2012 -0400
812897: Use consistent casing for the word "Error"
xanadu|Projects/subscription-manager|:master ✓ ❯ git show
commit ad12cf3d996357bd619e93375ad5da5509eafce2
Merge: 613a07f bfff510
Author: James Bowes <jbowes>
Date: Tue Jun 19 13:45:56 2012 -0300
xanadu|Projects/subscription-manager|:master ✓ ❯ grep -i "error: " src/subscription_manager/managercli.py
print _("Error: CA certificate for subscription service has not been installed.")
log.error(u"Error: Unable to generate a new identity for the system: %s" % re)
handle_exception(_("Error: Unable to generate a new identity for the system"), e)
log.error(u"Error: Unable to retrieve org list from Entitlement Platform: %s" % re)
handle_exception(_("Error: Unable to retrieve org list from Entitlement Platform"), e)
print(_("Error: This command requires that you specify an organizaiton with --org"))
log.error(u"Error: Unable to retrieve environment list from Entitlement Platform: %s" % re)
handle_exception(_("Error: Unable to retrieve environment list from Entitlement Platform"), e)
print(_("Error: you must register or specify --username and --password to list service levels"))
print(_("Error: you must register or specify --org."))
log.error(u"Error: Unable to retrieve service levels: %s" % re)
handle_exception(_("Error: Unable to retrieve service levels."), e)
systemExit(-1, _("Error: The service-level command is not supported "
systemExit(-1, _("Error: The service-level command is not supported by "
not_supported = _("Error: The service-level command is not supported by "
print(_("Error: consumer name can not be empty."))
print(_("Error: Activation keys do not require user credentials"))
print(_("Error: Activation keys can not be used with previously registered ids."))
print(_("Error: Must specify an activation key"))
print(_("Error: Must use --autosubscribe with --servicelevel."))
systemExit(-1, _("Error: The --servicelevel option is not supported "
systemExit(-1, _("Error: Server does not support environments."))
print(_("Error: This command requires that you specify an email address with --email."))
err_msg = _("Error: The 'release' command is not supported by the server.")
print _("Error: This command requires that you specify a pool with --pool or use --auto.")
print _("Error: Only one of --pool or --auto may be used with this command.")
print _("Error: Quantity must be a positive integer.")
print(_("Error: Must use --auto with --servicelevel."))
systemExit(-1, _("Error: The --servicelevel option is not " + \
msg = _("Error: '%s' is not a valid serial number") % self.options.serial
print _("Error: This command requires that you specify one of --serial or --all.")
print _("Error: This command requires that you specify a certificate with --certificate.")
print _("Error: This command requires that you use a --list option "
print _("Error: A valid repo id is required. "
print _("Error: A valid repo id is required. "
_("Error: --list should not be used with any other options for setting or removing configurations.")
_("Error: configuration entry designation for removal must be of format [section.name]")
sys.stderr.write(_("Error: Section %s and name %s does not exist.") % (section, name))
print _("Error: --all is only applicable with --available")
print _("Error: --ondate is only applicable with --available")
print _("Error: --servicelevel is only applicable with --available or --consumed")
All of these strings use a consistent "Error: " string format.
Marking 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-0033.html |