Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-30888

Fingerprint storage RHEL System Role managed config files

    • rhel-system-roles-1.87.1-0.1.el9
    • 4
    • rhel-sst-system-roles
    • 3
    • QE ack, Dev ack
    • False
    • Yes
    • Red Hat Enterprise Linux
    • System Roles Sprint 1, System Roles Sprint 2, System Roles Sprint 3, System Roles Sprint 4
    • Enhancement
    • Hide
      .Using the `storage` RHEL system role creates fingerprints on managed nodes

      If not already present, `storage` creates a unique identifier (fingerprint) every time you run this role. The fingerprint has the form of the `# system_role:storage` string written to the `/etc/fstab` file on your managed nodes. As a result, you can track which nodes are managed by `storage`.
      Show
      .Using the `storage` RHEL system role creates fingerprints on managed nodes If not already present, `storage` creates a unique identifier (fingerprint) every time you run this role. The fingerprint has the form of the `# system_role:storage` string written to the `/etc/fstab` file on your managed nodes. As a result, you can track which nodes are managed by `storage`.
    • Done
    • None

      There is currently no way to fingerprint the storage role as it does not outright "own" any config files.

      This proposes to write the fingerprint # system_role:storage to /etc/fstab every time the storage role is run, if it is not already present.

      Pros:

      • /etc/fstab is already collected by sosreports et. al. so it would 'Just Work'
      • system role already writes /etc/fstab in many cases

      Cons:

      • if the fingerprint does not already exist, and the system role doesn't otherwise make any changes to the system, the change to /etc/fstab will be reported as a change - this may be ok - but we can suppress this if necessary - it should be a rare case

      Acceptance Criteria

      rhn-support-briasmit spetros@redhat.com rhn-engineering-nkinder dlehman@redhat.com vtrefny@redhat.com japokorn@redhat.com

              rmeggins@redhat.com Richard Megginson
              rhn-support-briasmit Brian Smith
              Richard Megginson Richard Megginson
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: