Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-40231

HostName should not be displayed in the downwardMetrics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • CNV vfuture
    • None
    • CNV Infrastructure
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • ---
    • ---
    • No

      Description of problem:

      The downwardMetrics outputs the hostName where the VMI is running. This is considered sensitive information. Instead, the downwardMetrics should display a hash of the hostName.
      

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

      4.15
      

      How reproducible:

      100%
      

      Steps to Reproduce:

      1. Enable the downwardMetrics FG.
      2. Spin a VM with the downwardMetrics enabled.
      3. Fetch the metrics inside the VM.
      

      Actual results:

        <metric type="string" context="host">
          <name>HostName</name>
          <value>node01</value>
        </metric>
      

      Expected results:

        <metric type="string" context="host">
          <name>HostName</name>
         <value>055bc6e561ce54a777996abba9a0e4760a846cb634cfebb9bf1aa975d5edd81e</value>
        </metric>
      

      Additional info:

      
      

              gmaglion German Maglione
              rh-ee-jcanocan Javier Cano Cano
              Geetika Kapoor Geetika Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: