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 1262998 - Attempting to register --consumerid=DELETED_CONSUMER tells you to use --refresh that doesn't exist.
Summary: Attempting to register --consumerid=DELETED_CONSUMER tells you to use --refre...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.8
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: pre-dev-freeze
: ---
Assignee: vritant
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-14 20:49 UTC by Adrian Likins
Modified: 2016-05-10 20:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:37:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0797 0 normal SHIPPED_LIVE python-rhsm and subscription-manager bug fix and enhancement update 2017-01-06 16:31:50 UTC

Description Adrian Likins 2015-09-14 20:49:23 UTC
Description of problem:

# Register a system.
# Delete it server side
# either keep the local certs, or copy them back

# Then attempt to register with that consumer id --consumerid

[subscription-manager (master u=)]$ sudo bin/subscription-manager register --consumerid=d157351a-97d6-4e66-8759-a9f090628df5
This system is already registered. Use --force to override

# Ok, that sounds reasonable, even if I know it will still fail.

[subscription-manager (master u=)]$ sudo bin/subscription-manager register --consumerid=d157351a-97d6-4e66-8759-a9f090628df5 --force
Error: Can not force registration while attempting to recover registration with consumerid. Please use --force without --consumerid to re-register or --refresh

# Ok, that's what I thought would happen. But... --refresh? what is --refresh

[subscription-manager (master u=)]$ sudo bin/subscription-manager register --consumerid=d157351a-97d6-4e66-8759-a9f090628df5 --force --refresh
Usage: subscription-manager register [OPTIONS]

subscription-manager: error: no such option: --refresh

# There is no --refresh. The --refresh is a lie.


Version-Release number of selected component (if applicable):
github master as of 6780c53f27312e5df4f70637e11b34d1c3354b47

Comment 2 Alex Wood 2015-09-15 19:06:11 UTC
Is --refresh meant to reference the subscription-manager refresh command?  I'm wondering if just removing the '--' from the translated strings would work (and not require any string changes from translators).

Comment 3 John Sefler 2015-09-25 17:09:56 UTC
deferring to rhel-7.3.0 due to schedule and severity

This requires a string change and we are currently past String freeze and translations for rhel7.2

Comment 4 Barnaby Court 2015-11-20 16:38:35 UTC
High priority due to string update

Comment 9 Shwetha Kallesh 2016-03-31 07:15:20 UTC
Marking verified!!

[root@dhcp35-15 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.16.8-8.el6
python-rhsm: 1.16.6-1.el6


[root@dhcp35-15 ~]# subscription-manager register --consumerid=f4e003cf-a904-4873-9584-6f274066ee1b --force
Error: Can not force registration while attempting to recover registration with consumerid. Please use --force without --consumerid to re-register or use the clean command and try again without --force.

Comment 11 errata-xmlrpc 2016-05-10 20:37:15 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.

https://rhn.redhat.com/errata/RHBA-2016-0797.html


Note You need to log in before you can comment on or make changes to this bug.