Red Hat Bugzilla – Bug 1262998
Attempting to register --consumerid=DELETED_CONSUMER tells you to use --refresh that doesn't exist.
Last modified: 2016-05-10 16:37:15 EDT
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
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).
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
High priority due to string update
[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
[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.
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.