Bug 1889302

Summary: /etc/machine-id is a part of image
Product: Red Hat CloudForms Management Engine Reporter: mheppler
Component: BuildAssignee: Satoe Imaishi <simaishi>
Status: CLOSED ERRATA QA Contact: juwatts
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.0CC: dmetzger, juwatts, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.10Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.10.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 21:17:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description mheppler 2020-10-19 10:39:32 UTC
Description of problem:

file /etc/machine-id is a part of qcow2 image for Red Hat Virtualization.


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

5.11.8


How reproducible:

...always


Steps to Reproduce:
1. mount downloaded appliance image and 
2. look into etc/


Actual results:

file /etc/machine-id is present


Expected results:

file not present in image


Additional info:

Machine-id file should be removed from image and generated during first boot of new appliance - same machine-id can cause problems in networks with multiple appliances.

Comment 2 Dave Johnson 2020-10-19 12:05:43 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 3 mheppler 2020-10-19 14:27:39 UTC
Severity is high. It has impact to customer's business.

Comment 6 CFME Bot 2020-10-19 16:20:30 UTC
New commit detected on ManageIQ/manageiq-appliance-build/master:

https://github.com/ManageIQ/manageiq-appliance-build/commit/b59e9fcd6c26ee1c3d1b6cb826f3600a5d901062
commit b59e9fcd6c26ee1c3d1b6cb826f3600a5d901062
Author:     Satoe Imaishi <simaishi>
AuthorDate: Mon Oct 19 14:46:13 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Oct 19 14:48:23 2020 +0000

    Remove machine-id

    https://bugzilla.redhat.com/show_bug.cgi?id=1889302

 kickstarts/base.ks.erb | 3 +
 1 file changed, 3 insertions(+)

Comment 9 Kedar Kulkarni 2020-12-02 18:16:00 UTC
With the rebuilt qcow2 images I was able to validate the fix, such that every time I downloaded a new image and created a VM off of that image, it got its own unique /etc/machine-id.

Comment 15 errata-xmlrpc 2020-12-15 21:17:35 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 (Important: CloudForms 5.0.10 security, bug fix and enhancement update), 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://access.redhat.com/errata/RHSA-2020:5554