awx-facts-playbooks icon indicating copy to clipboard operation
awx-facts-playbooks copied to clipboard

Change Path to machine-id for INSIGHTS_SYSTEM_ID_FILE

Open jamesmarshall24 opened this issue 3 years ago • 2 comments

The machine-id no longer points to /etc/redhat-access-insights/machine-id

This should be changed to /etc/machine-id

RHEL8

ls -al /etc/redhat-access-insights/machine-id
ls: cannot access '/etc/redhat-access-insights/machine-id': No such file or directory

RHEL7

ls -al /etc/redhat-access-insights/machine-id
ls: cannot access '/etc/redhat-access-insights/machine-id': No such file or directory

jamesmarshall24 avatar May 21 '21 20:05 jamesmarshall24

It should be changed to /etc/insights-client/machine-id, not /etc/machine-id.

The file /etc/machine-id is part of the systemd RPM, and has nothing to do with Insights.

wzzrd avatar Jul 07 '21 13:07 wzzrd

It should check the system_id in both /etc/redhat-access-insights/machine-id and /etc/insights-client/machine-id for backward compatibility.

naingyeminn avatar Aug 05 '21 15:08 naingyeminn