Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 876305

Summary: String Updates: subscription-manager cli terminology updates
Product: Red Hat Enterprise Linux 6 Reporter: Matt Reid <mreid>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: bkearney, jsefler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:00:30 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: 771481, 840993    

Description Matt Reid 2012-11-13 18:59:01 UTC
Description of problem:

Now that we have aliases in place for the cli commands and most of the other terms have been updated, there are a few additional strings we should update within our cli output.

#: ../src/subscription_manager/managercli.py:1377
#: ../src/subscription_manager/managercli.py:1394
#, python-format
msgid   "Unable to perform unsubscribe due to the following exception: %s"
msgstr ""
1. "Unable to perform remove due to the following exception: %s"

#: ../src/subscription_manager/managercli.py:888
msgid "Error: Must use --autosubscribe with --servicelevel."
2. "Error: Must use --autoattach with --servicelevel"

#: ../src/subscription_manager/managercli.py:991
#: ../src/subscription_manager/managercli.py:1305
msgid ""
"Error: The --servicelevel option is not supported by the server. Did not "
"perform     autosubscribe."
3. "Error: The --servicelevel option is not supported by the server. Did not complete your request."


Version-Release number of selected component (if applicable):
subscription-manager-1.1.15-1

Additional info:
Think that's the last of our terminology updates in subscription manager

Comment 1 Matt Reid 2012-11-13 20:30:07 UTC
If 874776 gets updated based on comment 3, and we get --auto-attach in the register module, we'll need to implement #2 from above instead as:

#: ../src/subscription_manager/managercli.py:888
msgid "Error: Must use --autosubscribe with --servicelevel."
2. "Error: Must use --auto-attach with --servicelevel"

Comment 2 Bryan Kearney 2012-11-13 20:58:39 UTC
Comment 3 from 874776 did not make it in.

Comment 3 Bryan Kearney 2012-11-15 17:57:04 UTC
commit 94b294b2a50cd3ff3b81ae3471bef172758a9a46
Author: Bryan Kearney <bkearney>
Date:   Tue Nov 13 16:03:00 2012 -0500

    876305: Make error messages consitent with the use of auto-attach term

Comment 6 John Sefler 2012-12-18 18:21:53 UTC
Verifying Version...
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.16-1.el6.x86_64

Using one of the compiled translation files to assert the string changes...


(In reply to comment #0)

> #: ../src/subscription_manager/managercli.py:1377
> #: ../src/subscription_manager/managercli.py:1394
> #, python-format
> msgid   "Unable to perform unsubscribe due to the following exception: %s"
> msgstr ""
> 1. "Unable to perform remove due to the following exception: %s"

[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/ja/LC_MESSAGES/rhsm.mo | grep "Unable to perform"
msgid "Unable to perform refresh due to the following exception: %s"
msgid "Unable to perform remove due to the following exception: %s"

VERIFIED


> #: ../src/subscription_manager/managercli.py:888
> msgid "Error: Must use --autosubscribe with --servicelevel."
> 2. "Error: Must use --autoattach with --servicelevel"

[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/ja/LC_MESSAGES/rhsm.mo | grep "Must use"
msgid "Error: Must use --auto with --servicelevel."
msgid "Error: Must use --auto-attach with --servicelevel."

[root@jsefler-6 ~]# subscription-manager attach --servicelevel foo --pool 123
Error: Must use --auto with --servicelevel.
[root@jsefler-6 ~]# subscription-manager register --servicelevel foo --force
Error: Must use --auto-attach with --servicelevel.

VERIFIED


> #: ../src/subscription_manager/managercli.py:991
> #: ../src/subscription_manager/managercli.py:1305
> msgid ""
> "Error: The --servicelevel option is not supported by the server. Did not "
> "perform     autosubscribe."
> 3. "Error: The --servicelevel option is not supported by the server. Did not
> complete your request."

[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/ja/LC_MESSAGES/rhsm.mo | grep "Did not complete"
msgid "Error: The --servicelevel option is not supported by the server. Did not complete your request."

VERIFIED


(In reply to comment #1)
> If 874776 gets updated based on comment 3, and we get --auto-attach in the
> register module, we'll need to implement #2 from above instead as:
> 
> #: ../src/subscription_manager/managercli.py:888
> msgid "Error: Must use --autosubscribe with --servicelevel."
> 2. "Error: Must use --auto-attach with --servicelevel"

VERIFIED above

Comment 8 errata-xmlrpc 2013-02-21 09:00:30 UTC
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-0350.html