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 2071082 - [RFE] deprecate --force-register flag
Summary: [RFE] deprecate --force-register flag
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: insights-client
Version: 9.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Alba Hita
QA Contact: Nobody
URL:
Whiteboard: SCRUB_20220613
Depends On: 1919570
Blocks: 2071083
TreeView+ depends on / blocked
 
Reported: 2022-04-01 18:42 UTC by Link Dupont
Modified: 2022-12-12 12:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-12 12:33:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github RedHatInsights insights-core pull 3522 0 None Draft Remove usage of reregistration and deprecate cli-option 2022-09-13 12:19:19 UTC
Red Hat Issue Tracker RHELPLAN-117667 0 None None None 2022-04-01 18:45:21 UTC

Description Link Dupont 2022-04-01 18:42:02 UTC
Running 'insights-client --force-reregister' creates a duplicate host record in Inventory. This is contributing to the problem of duplicate host records. We should deprecate this flag in favor of explicitly running: 'insights-client --unregister && insights-client --register'.

Deprecation should be implemented in the form of printing a message to this effect to stderr before proceeding:

"This flag is deprecated and will be removed in a future release. Please use 'insights-client --unregister && insights-client --register' instead"

We should also hide the flag from the --help output.

Comment 6 Alba Hita 2022-12-12 12:33:40 UTC
This was released in the egg version insights-core-3.1.1


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