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 1919570 - [RFE] When using --unregister, the info still on "/etc/insights-client/machine-id" which result to the next registration be using the same uuid
Summary: [RFE] When using --unregister, the info still on "/etc/insights-client/machin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: insights-client
Version: 8.6
Hardware: All
OS: All
high
high
Target Milestone: rc
: ---
Assignee: Alba Hita
QA Contact: Priscila Gutierres
URL:
Whiteboard: SCRUB_20220613
Depends On:
Blocks: 2071082
TreeView+ depends on / blocked
 
Reported: 2021-01-23 18:22 UTC by Waldirio M Pinheiro
Modified: 2022-08-10 12:30 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:00:46 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 3449 0 None open feat: Unregister option removes machine-id 2022-06-22 11:19:07 UTC
Red Hat Issue Tracker RHELPLAN-98246 0 None None None 2021-09-27 13:20:13 UTC
Red Hat Issue Tracker RHIN-500 0 None None None 2022-04-04 20:02:57 UTC

Description Waldirio M Pinheiro 2021-01-23 18:22:41 UTC
Description of problem:
When using --unregister, the info still on "/etc/insights/machine_id" which result to the next registration be using the same uuid. This is a problem when the customer create a gold image with this information in place.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create a gold image
2. deploy a new server
3. register on insights

Actual results:
different FQDN using the same insights UUID

Expected results:
New uuid when unregistering/registering the server to insights

Additional info:

Comment 1 Waldirio M Pinheiro 2021-01-23 18:32:53 UTC
Hi

Fixing the file path "/etc/insights-client/machine-id"

Thank you
Waldirio

Comment 4 jcrafts 2021-01-26 15:12:30 UTC
This is as designed. To force creation of a new ID, please use the --force-reregister option.

Comment 12 Christian Marineau 2022-04-04 20:06:22 UTC
A feature to cover this request is aligned with RHEL 8.7 and 9.1.


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